You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
699 B

15 years ago
<?php
/**
* CModelEvent class file.
*
* @link http://www.yiiframework.com/
15 years ago
* @copyright Copyright &copy; 2008-2012 Yii Software LLC
15 years ago
* @license http://www.yiiframework.com/license/
*/
15 years ago
namespace yii\base;
15 years ago
/**
15 years ago
* ModelEvent class.
15 years ago
*
15 years ago
* ModelEvent represents the event parameters needed by events raised by a model.
15 years ago
*
* @author Qiang Xue <qiang.xue@gmail.com>
15 years ago
* @since 2.0
15 years ago
*/
15 years ago
class ModelEvent extends Event
15 years ago
{
/**
* @var CDbCrireria the query criteria that is passed as a parameter to a find method of {@link CActiveRecord}.
* Note that this property is only used by {@link CActiveRecord::onBeforeFind} event.
* This property could be null.
* @since 1.1.5
*/
public $criteria;
}