summaryrefslogtreecommitdiff
path: root/framework/Base/TModelEvent.php
blob: 1bf42a2b435ceddf32fda57cabe5d8e762e49318 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/**
 * CModelEvent class file.
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @link http://www.yiiframework.com/
 * @copyright Copyright &copy; 2008-2009 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

Prado::using('System.Base.TEvent');

/**
 * CModelEvent class.
 *
 * CModelEvent represents the event parameters needed by events raised by a model.
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @version $Id: CModelEvent.php 1093 2009-06-05 13:09:17Z qiang.xue $
 * @package system.base
 * @since 1.0
 */
class TModelEvent extends TEvent
{
	/**
	 * @var boolean whether the model is valid. Defaults to true.
	 * If this is set false, {@link CModel::validate()} will return false and quit the current validation process.
	 */
	public $isValid=true;
}