diff options
Diffstat (limited to 'protected/models/Angebot.php')
| -rw-r--r-- | protected/models/Angebot.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/protected/models/Angebot.php b/protected/models/Angebot.php index 61e4d54..c3abe92 100644 --- a/protected/models/Angebot.php +++ b/protected/models/Angebot.php @@ -103,4 +103,12 @@ class Angebot extends CActiveRecord // 'LoggableBehavior'=>'application.modules.auditTrail.behaviors.LoggableBehavior', ); } + public function scopes() + { + return array( + 'published'=>array( + 'condition'=>'1=1', + ), + ); + } }
\ No newline at end of file |
