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'))); }
public function behaviors() { $behaviors = array_merge(parent::behaviors(), array('X2LinkableBehavior' => array('class' => 'X2LinkableBehavior', 'module' => 'groups'))); unset($behaviors['relationships']); return $behaviors; }
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'))); }
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))); }
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; }
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))); }
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))); }
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'))); }
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'))); }
public function behaviors() { return array_merge(parent::behaviors(), array('X2LinkableBehavior' => array('class' => 'X2LinkableBehavior', 'module' => 'groups'))); }
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'))); }
public function behaviors() { return array_merge(parent::behaviors(), array('X2LinkableBehavior' => array('class' => 'X2LinkableBehavior', 'baseRoute' => '/products/products/productFeature'))); }