blob: c785b99778ca826965b58be3069026192eeb06ef (
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
/**
* TModelEvent class file.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.yiiframework.com/
* @copyright Copyright © 2008-2009 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
Prado::using('System.Base.TEvent');
/**
* TModelEvent class.
*
* TModelEvent represents the event parameters needed by events raised by a model.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @version $Id: TModelEvent.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 TModel::validate()} will return false and quit the current validation process.
*/
public $isValid=true;
}
|