~fusonic/chive/1.1

« back to all changes in this revision

Viewing changes to yii/db/ar/CActiveRecordBehavior.php

  • Committer: Matthias Burtscher
  • Date: 2010-02-12 09:12:35 UTC
  • Revision ID: matthias.burtscher@fusonic.net-20100212091235-jqxrb62klx872ajc
* Updated Yii to 1.1.0
* Removed CodePress and CodeMirror
* Updated jQuery and some plugins
* Cleaned some code ...

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 *
5
5
 * @author Qiang Xue <qiang.xue@gmail.com>
6
6
 * @link http://www.yiiframework.com/
7
 
 * @copyright Copyright &copy; 2008-2009 Yii Software LLC
 
7
 * @copyright Copyright &copy; 2008-2010 Yii Software LLC
8
8
 * @license http://www.yiiframework.com/license/
9
9
 */
10
10
 
14
14
 * that are only defined by {@link CActiveRecord}.
15
15
 *
16
16
 * @author Qiang Xue <qiang.xue@gmail.com>
17
 
 * @version $Id: CActiveRecordBehavior.php 1185 2009-06-28 13:06:00Z qiang.xue $
 
17
 * @version $Id: CActiveRecordBehavior.php 1678 2010-01-07 21:02:00Z qiang.xue $
18
18
 * @package system.db.ar
19
19
 * @since 1.0.2
20
20
 */
34
34
                        'onBeforeDelete'=>'beforeDelete',
35
35
                        'onAfterDelete'=>'afterDelete',
36
36
                        'onAfterConstruct'=>'afterConstruct',
 
37
                        'onBeforeFind'=>'beforeFind',
37
38
                        'onAfterFind'=>'afterFind',
38
39
                ));
39
40
        }
86
87
        }
87
88
 
88
89
        /**
 
90
         * Responds to {@link CActiveRecord::onBeforeFind} event.
 
91
         * Overrides this method if you want to handle the corresponding event of the {@link CBehavior::owner owner}.
 
92
         * @param CEvent event parameter
 
93
         * @since 1.0.9
 
94
         */
 
95
        public function beforeFind($event)
 
96
        {
 
97
        }
 
98
 
 
99
        /**
89
100
         * Responds to {@link CActiveRecord::onAfterFind} event.
90
101
         * Overrides this method if you want to handle the corresponding event of the {@link CBehavior::owner owner}.
91
102
         * @param CEvent event parameter