diff options
| author | ccwn <tzur@ccwn.org> | 2012-04-21 09:51:26 +0200 |
|---|---|---|
| committer | ccwn <tzur@ccwn.org> | 2012-04-21 09:51:26 +0200 |
| commit | a8874be6fb5803231ecb3af2bb7c924d7ae42587 (patch) | |
| tree | df957e03e931a5f3f25655b2ca387d62f8eec642 /protected/models/Angebot.php | |
| parent | 6b415d25fd106d42ada013bff376e9bcd5d07f8b (diff) | |
Speis & Trank Admin hinzugefügt
Standort Admin hinzugefügt
Konfigurationsdatei umbenannt
Diffstat (limited to 'protected/models/Angebot.php')
| -rw-r--r-- | protected/models/Angebot.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protected/models/Angebot.php b/protected/models/Angebot.php index baa31b8..7791bcb 100644 --- a/protected/models/Angebot.php +++ b/protected/models/Angebot.php @@ -55,7 +55,8 @@ class Angebot extends CActiveRecord // NOTE: you may need to adjust the relation name and the related // class name for the relations automatically generated below. return array( - "kategorie"=>array(self::HAS_ONE, "Kategorie", array('id'=>'kategorie_id')) + "kategorie"=>array(self::HAS_ONE, "Kategorie", array('id'=>'kategorie_id')), + "angebot_vereine"=>array(self::HAS_MANY, "AngebotVerein", array('angebot_id'=>'id')) ); } |
