public function behaviors() { return array_merge(parent::behaviors(), array('X2MobileControllerBehavior' => array('class' => 'application.modules.mobile.components.behaviors.X2MobileControllerBehavior'), 'QuickCreateRelationshipBehavior' => array('class' => 'QuickCreateRelationshipBehavior', 'attributesOfNewRecordToUpdate' => array('Contacts' => array('nameId' => 'company', 'website' => 'website', 'phone' => 'phone'), 'Opportunity' => array('accountName' => 'id'))))); }
public function behaviors() { return array_merge(parent::behaviors(), array('CampaignMailingBehavior' => array('class' => 'application.modules.marketing.components.CampaignMailingBehavior'), 'ResponseBehavior' => array('class' => 'application.components.ResponseBehavior', 'isConsole' => false, 'errorCode' => 200))); }
public function behaviors() { return array_merge(parent::behaviors(), array('ImportExportBehavior' => array('class' => 'ImportExportBehavior'))); }
public function behaviors() { return array_merge(parent::behaviors(), array('ServiceRoutingBehavior' => array('class' => 'ServiceRoutingBehavior'), 'QuickCreateRelationshipBehavior' => array('class' => 'QuickCreateRelationshipBehavior'))); }
public function behaviors() { return array_merge(parent::behaviors(), array('QuickCreateRelationshipBehavior' => array('class' => 'QuickCreateRelationshipBehavior', 'attributesOfNewRecordToUpdate' => array('Contacts' => array('accountName' => 'company'))))); }
public function behaviors() { return array_merge(parent::behaviors(), array('ActionsQuickCreateRelationshipBehavior' => array('class' => 'ActionsQuickCreateRelationshipBehavior', 'attributesOfNewRecordToUpdate' => array()))); }
public function behaviors() { return array_merge(parent::behaviors(), array('X2MobileControllerBehavior' => array('class' => 'application.modules.mobile.components.behaviors.X2MobileControllerBehavior'), 'QuickCreateRelationshipBehavior' => array('class' => 'QuickCreateRelationshipBehavior'))); }
public function behaviors() { return array_merge(parent::behaviors(), array('X2MobileControllerBehavior' => array('class' => 'application.modules.mobile.components.behaviors.' . 'X2MobileProfileControllerBehavior'), 'ImportExportBehavior' => array('class' => 'ImportExportBehavior'))); }
/** * Return a list of external behaviors which are necessary. * @return array A merge of the parent class's behaviors with the ContactsController specific * ones */ public function behaviors() { return array_merge(parent::behaviors(), array('LeadRoutingBehavior' => array('class' => 'LeadRoutingBehavior'), 'ImportExportBehavior' => array('class' => 'ImportExportBehavior'), 'QuickCreateRelationshipBehavior' => array('class' => 'QuickCreateRelationshipBehavior', 'attributesOfNewRecordToUpdate' => array('Accounts' => array('website' => 'website', 'phone' => 'phone'), 'Opportunity' => array('accountName' => 'company'))))); }
public function behaviors() { return array_merge(parent::behaviors(), array('LeadRoutingBehavior' => array('class' => 'LeadRoutingBehavior'), 'responds' => array('class' => 'application.components.ResponseBehavior', 'isConsole' => false, 'exitNonFatal' => false, 'longErrorTrace' => false), 'CommonControllerBehavior' => array('class' => 'application.components.CommonControllerBehavior', 'redirectOnNullModel' => false, 'throwOnNullModel' => false))); }
public function behaviors() { return array_merge(parent::behaviors(), array('CommonSiteControllerBehavior' => array('class' => 'application.components.CommonSiteControllerBehavior'))); }
public function behaviors() { return array_merge(parent::behaviors(), array()); }
public function behaviors() { return array_merge(parent::behaviors(), array('QuickCreateRelationshipBehavior' => array('class' => 'QuickCreateRelationshipBehavior', 'attributesOfNewRecordToUpdate' => array('Contacts' => array('nameId' => 'company', 'website' => 'website', 'phone' => 'phone'), 'Opportunity' => array('accountName' => 'id'))))); }
public function behaviors() { return array_merge(parent::behaviors(), array('X2MobileControllerBehavior' => array('class' => 'application.modules.mobile.components.behaviors.' . 'X2MobileSiteControllerBehavior'), 'CommonSiteControllerBehavior' => array('class' => 'application.components.CommonSiteControllerBehavior'))); }