summaryrefslogtreecommitdiff
path: root/protected/models
diff options
context:
space:
mode:
Diffstat (limited to 'protected/models')
-rw-r--r--protected/models/Angebot.php2
-rw-r--r--protected/models/AngebotVerein.php2
-rw-r--r--protected/models/Kategorie.php2
-rw-r--r--protected/models/Standort.php2
-rw-r--r--protected/models/Veranstaltung.php2
-rw-r--r--protected/models/Verein.php4
6 files changed, 8 insertions, 6 deletions
diff --git a/protected/models/Angebot.php b/protected/models/Angebot.php
index d6ae02a..61e4d54 100644
--- a/protected/models/Angebot.php
+++ b/protected/models/Angebot.php
@@ -100,7 +100,7 @@ class Angebot extends CActiveRecord
public function behaviors() {
return array(
- 'LoggableBehavior'=>'application.modules.auditTrail.behaviors.LoggableBehavior',
+ // 'LoggableBehavior'=>'application.modules.auditTrail.behaviors.LoggableBehavior',
);
}
} \ No newline at end of file
diff --git a/protected/models/AngebotVerein.php b/protected/models/AngebotVerein.php
index 26c6dab..1031100 100644
--- a/protected/models/AngebotVerein.php
+++ b/protected/models/AngebotVerein.php
@@ -102,7 +102,7 @@ class AngebotVerein extends CActiveRecord
public function behaviors() {
return array(
- 'LoggableBehavior'=>'application.modules.auditTrail.behaviors.LoggableBehavior',
+ //'LoggableBehavior'=>'application.modules.auditTrail.behaviors.LoggableBehavior',
);
}
} \ No newline at end of file
diff --git a/protected/models/Kategorie.php b/protected/models/Kategorie.php
index 93c799d..294947f 100644
--- a/protected/models/Kategorie.php
+++ b/protected/models/Kategorie.php
@@ -101,7 +101,7 @@ class Kategorie extends CActiveRecord
public function behaviors() {
return array(
- 'LoggableBehavior'=>'application.modules.auditTrail.behaviors.LoggableBehavior',
+ // 'LoggableBehavior'=>'application.modules.auditTrail.behaviors.LoggableBehavior',
);
}
} \ No newline at end of file
diff --git a/protected/models/Standort.php b/protected/models/Standort.php
index d62a594..6052e1a 100644
--- a/protected/models/Standort.php
+++ b/protected/models/Standort.php
@@ -106,7 +106,7 @@ class Standort extends CActiveRecord
public function behaviors() {
return array(
- 'LoggableBehavior'=>'application.modules.auditTrail.behaviors.LoggableBehavior',
+ //'LoggableBehavior'=>'application.modules.auditTrail.behaviors.LoggableBehavior',
);
}
} \ No newline at end of file
diff --git a/protected/models/Veranstaltung.php b/protected/models/Veranstaltung.php
index 64c7854..0e4d9b8 100644
--- a/protected/models/Veranstaltung.php
+++ b/protected/models/Veranstaltung.php
@@ -124,7 +124,7 @@ class Veranstaltung extends CActiveRecord
public function behaviors() {
return array(
- 'LoggableBehavior'=>'application.modules.auditTrail.behaviors.LoggableBehavior',
+ // 'LoggableBehavior'=>'application.modules.auditTrail.behaviors.LoggableBehavior',
);
}
} \ No newline at end of file
diff --git a/protected/models/Verein.php b/protected/models/Verein.php
index f0d30dd..6d84c91 100644
--- a/protected/models/Verein.php
+++ b/protected/models/Verein.php
@@ -66,7 +66,9 @@ class Verein extends CActiveRecord
// NOTE: you may need to adjust the relation name and the related
// class name for the relations automatically generated below.
return array(
- "standort"=>array(self::HAS_ONE, "Standort", array('id'=>'standort_id'))
+ "standort"=>array(self::HAS_ONE, "Standort", array('id'=>'standort_id')),
+ "angebote"=>array(self::MANY_MANY, "Angebot", "angebot_verein(verein_id,angebot_id)"),
+ "veranstaltungen"=>array(self::HAS_MANY, "Veranstaltung","verein_id"),
);
}