diff options
| author | Tristan Zur <tzur@ccwn.org> | 2012-05-16 18:14:16 +0200 |
|---|---|---|
| committer | Tristan Zur <tzur@ccwn.org> | 2012-05-16 18:14:16 +0200 |
| commit | 3cb7fbfceae978d2b87ae976bf4536c3461bb868 (patch) | |
| tree | 36d42842f3dfbc8a9598ea519792933bac99c3f8 /protected/models | |
| parent | 48f25c5eadd2a82a365b034a59b3cba4536a1e74 (diff) | |
Initiale Veranstaltungsverwaltung für die Vereine hinzugefügt
Diffstat (limited to 'protected/models')
| -rw-r--r-- | protected/models/Veranstaltung.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/protected/models/Veranstaltung.php b/protected/models/Veranstaltung.php index 64c7854..496cf30 100644 --- a/protected/models/Veranstaltung.php +++ b/protected/models/Veranstaltung.php @@ -113,7 +113,7 @@ class Veranstaltung extends CActiveRecord )); } - public function beforeSave() { + protected function beforeSave() { $isValid = parent::beforeSave(); if ($isValid) { $this->startzeit = Format::dbDateTime($this->startzeit); @@ -122,6 +122,10 @@ class Veranstaltung extends CActiveRecord return $isValid; } + protected function afterFind() { + parent::afterFind(); + } + public function behaviors() { return array( 'LoggableBehavior'=>'application.modules.auditTrail.behaviors.LoggableBehavior', |
