Beispiel #1
0
 public function behaviors()
 {
     $that = $this;
     return array_merge(parent::behaviors(), array('AssociatedMediaBehavior' => array('class' => 'application.components.behaviors.AssociatedMediaBehavior', 'fileAttribute' => 'upload', 'associationType' => 'topicReply', 'getAssociationId' => function () use($that) {
         return $that->originalPost->id;
     }), 'X2LinkableBehavior' => array('class' => 'X2LinkableBehavior', 'module' => 'topics'), 'ERememberFiltersBehavior' => array('class' => 'application.components.ERememberFiltersBehavior', 'defaults' => array(), 'defaultStickOnClear' => false), 'InlineEmailModelBehavior' => array('class' => 'application.components.InlineEmailModelBehavior')));
 }
Beispiel #2
0
 public function behaviors()
 {
     $behaviors = array_merge(parent::behaviors(), array('X2LinkableBehavior' => array('class' => 'X2LinkableBehavior', 'module' => 'groups')));
     unset($behaviors['relationships']);
     return $behaviors;
 }
Beispiel #3
0
 public function behaviors()
 {
     return array_merge(parent::behaviors(), array('X2LinkableBehavior' => array('class' => 'X2LinkableBehavior', 'module' => 'topics'), 'ERememberFiltersBehavior' => array('class' => 'application.components.ERememberFiltersBehavior', 'defaults' => array(), 'defaultStickOnClear' => false), 'InlineEmailModelBehavior' => array('class' => 'application.components.InlineEmailModelBehavior')));
 }
Beispiel #4
0
 public function behaviors()
 {
     return array_merge(parent::behaviors(), array('X2LinkableBehavior' => array('class' => 'X2LinkableBehavior', 'module' => 'marketing'), 'ERememberFiltersBehavior' => array('class' => 'application.components.ERememberFiltersBehavior', 'defaults' => array(), 'defaultStickOnClear' => false), 'tags' => array('class' => 'TagBehavior', 'disableTagScanning' => true)));
 }
Beispiel #5
0
 public function behaviors()
 {
     $behaviors = array_merge(parent::behaviors(), array('X2LinkableBehavior' => array('class' => 'X2LinkableBehavior', 'module' => 'media', 'autoCompleteSource' => null), 'ERememberFiltersBehavior' => array('class' => 'application.components.ERememberFiltersBehavior', 'defaults' => array(), 'defaultStickOnClear' => false)));
     unset($behaviors['changelog']);
     return $behaviors;
 }
Beispiel #6
0
 public function behaviors()
 {
     return array_merge(parent::behaviors(), array('X2LinkableBehavior' => array('class' => 'X2LinkableBehavior', 'module' => 'opportunities'), 'ERememberFiltersBehavior' => array('class' => 'application.components.ERememberFiltersBehavior', 'defaults' => array(), 'defaultStickOnClear' => false)));
 }
Beispiel #7
0
 public function behaviors()
 {
     return array_merge(parent::behaviors(), array('X2LinkableBehavior' => array('class' => 'X2LinkableBehavior', 'module' => 'x2Leads'), 'ERememberFiltersBehavior' => array('class' => 'application.components.ERememberFiltersBehavior', 'defaults' => array(), 'defaultStickOnClear' => false), 'X2ModelConversionBehavior' => array('class' => 'application.components.recordConversion.X2ModelConversionBehavior'), 'ContactsNameBehavior' => array('class' => 'application.components.ContactsNameBehavior', 'overwriteName' => false)));
 }
Beispiel #8
0
 public function behaviors()
 {
     return array_merge(parent::behaviors(), array('X2LinkableBehavior' => array('class' => 'X2LinkableBehavior', 'module' => 'x2Leads'), 'ERememberFiltersBehavior' => array('class' => 'application.components.ERememberFiltersBehavior', 'defaults' => array(), 'defaultStickOnClear' => false), 'X2ModelConversionBehavior' => array('class' => 'application.components.recordConversion.X2ModelConversionBehavior', 'deleteConvertedRecord' => false, 'convertedField' => 'converted', 'conversionDateField' => 'conversionDate', 'convertedToTypeField' => 'convertedToType', 'convertedToIdField' => 'convertedToId'), 'ContactsNameBehavior' => array('class' => 'application.components.ContactsNameBehavior')));
 }
Beispiel #9
0
 public function behaviors()
 {
     return array_merge(parent::behaviors(), array('X2LinkableBehavior' => array('class' => 'X2LinkableBehavior', 'module' => 'contacts'), 'ERememberFiltersBehavior' => array('class' => 'application.components.ERememberFiltersBehavior', 'defaults' => array(), 'defaultStickOnClear' => false), 'X2AddressBehavior' => array('class' => 'application.components.X2AddressBehavior'), 'X2DuplicateBehavior' => array('class' => 'application.components.X2DuplicateBehavior'), 'ContactsNameBehavior' => array('class' => 'application.components.ContactsNameBehavior')));
 }
Beispiel #10
0
 public function behaviors()
 {
     return array_merge(parent::behaviors(), array('X2LinkableBehavior' => array('class' => 'X2LinkableBehavior', 'module' => 'groups')));
 }
Beispiel #11
0
 public function behaviors()
 {
     return array_merge(parent::behaviors(), array('X2LinkableBehavior' => array('class' => 'X2LinkableBehavior', 'module' => 'docs'), 'ERememberFiltersBehavior' => array('class' => 'application.components.ERememberFiltersBehavior', 'defaults' => array(), 'defaultStickOnClear' => false), 'FileSystemObjectBehavior' => array('class' => 'application.modules.docs.components.FileSystemObjectBehavior', 'folderRefName' => 'folderId')));
 }
Beispiel #12
0
 public function behaviors()
 {
     return array_merge(parent::behaviors(), array('X2LinkableBehavior' => array('class' => 'X2LinkableBehavior', 'baseRoute' => '/products/products/productFeature')));
 }