diff options
| author | Patrick Seeger <pseeger@ccwn.org> | 2012-06-26 16:59:26 +0200 |
|---|---|---|
| committer | Patrick Seeger <pseeger@ccwn.org> | 2012-06-26 16:59:26 +0200 |
| commit | d7f3ac205ced0e1f1c26599b277cbfb988e48900 (patch) | |
| tree | fa2f976c67ee8d47146d07689982607dcaf92d3b /protected/modules/cms/models | |
| parent | 66e981bd3d3f9946afed0efbcaf8efa7907c530f (diff) | |
Anzeige optimiert, Vereine und Veranstaltungen veröffentlicht
Diffstat (limited to 'protected/modules/cms/models')
| -rw-r--r-- | protected/modules/cms/models/Sitecontent.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/protected/modules/cms/models/Sitecontent.php b/protected/modules/cms/models/Sitecontent.php index bcd1385..e63ace2 100644 --- a/protected/modules/cms/models/Sitecontent.php +++ b/protected/modules/cms/models/Sitecontent.php @@ -89,4 +89,12 @@ class Sitecontent extends CActiveRecord } return parent::beforeSave(); } + public function scopes() + { + return array( + 'published'=>array( + 'condition'=>'1=1', + ), + ); + } } |
