diff options
Diffstat (limited to 'protected/models/Angebot.php')
| -rw-r--r-- | protected/models/Angebot.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protected/models/Angebot.php b/protected/models/Angebot.php index 03b5496..baa31b8 100644 --- a/protected/models/Angebot.php +++ b/protected/models/Angebot.php @@ -55,6 +55,7 @@ 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')) ); } @@ -66,9 +67,10 @@ class Angebot extends CActiveRecord return array( 'id' => 'ID', 'kategorie_id' => 'Kategorie', + 'kategorie' => 'Kategorie', 'name' => 'Name', 'beschreibung' => 'Beschreibung', - 'published' => 'Published', + 'published' => 'Öffentlich', ); } |
