mirror of
https://github.com/yiisoft/yii.git
synced 2026-03-03 14:54:04 +01:00
9 lines
236 B
PHP
9 lines
236 B
PHP
<?php
|
|
class NewBeforeValidateBehaviorException extends CException {}
|
|
|
|
class NewBeforeValidateBehavior extends CModelBehavior {
|
|
public function beforeValidate($event) {
|
|
throw new NewBeforeValidateBehaviorException();
|
|
}
|
|
}
|