Ejemplo n.º 1
0
 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')))));
 }
Ejemplo n.º 2
0
 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)));
 }
Ejemplo n.º 3
0
 public function behaviors()
 {
     return array_merge(parent::behaviors(), array('ImportExportBehavior' => array('class' => 'ImportExportBehavior')));
 }
Ejemplo n.º 4
0
 public function behaviors()
 {
     return array_merge(parent::behaviors(), array('ServiceRoutingBehavior' => array('class' => 'ServiceRoutingBehavior'), 'QuickCreateRelationshipBehavior' => array('class' => 'QuickCreateRelationshipBehavior')));
 }
Ejemplo n.º 5
0
 public function behaviors()
 {
     return array_merge(parent::behaviors(), array('QuickCreateRelationshipBehavior' => array('class' => 'QuickCreateRelationshipBehavior', 'attributesOfNewRecordToUpdate' => array('Contacts' => array('accountName' => 'company')))));
 }
Ejemplo n.º 6
0
 public function behaviors()
 {
     return array_merge(parent::behaviors(), array('ActionsQuickCreateRelationshipBehavior' => array('class' => 'ActionsQuickCreateRelationshipBehavior', 'attributesOfNewRecordToUpdate' => array())));
 }
Ejemplo n.º 7
0
 public function behaviors()
 {
     return array_merge(parent::behaviors(), array('X2MobileControllerBehavior' => array('class' => 'application.modules.mobile.components.behaviors.X2MobileControllerBehavior'), 'QuickCreateRelationshipBehavior' => array('class' => 'QuickCreateRelationshipBehavior')));
 }
Ejemplo n.º 8
0
 public function behaviors()
 {
     return array_merge(parent::behaviors(), array('X2MobileControllerBehavior' => array('class' => 'application.modules.mobile.components.behaviors.' . 'X2MobileProfileControllerBehavior'), 'ImportExportBehavior' => array('class' => 'ImportExportBehavior')));
 }
Ejemplo n.º 9
0
 /**
  * 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')))));
 }
Ejemplo n.º 10
0
 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)));
 }
Ejemplo n.º 11
0
 public function behaviors()
 {
     return array_merge(parent::behaviors(), array('CommonSiteControllerBehavior' => array('class' => 'application.components.CommonSiteControllerBehavior')));
 }
Ejemplo n.º 12
0
 public function behaviors()
 {
     return array_merge(parent::behaviors(), array());
 }
Ejemplo n.º 13
0
 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')))));
 }
Ejemplo n.º 14
0
 public function behaviors()
 {
     return array_merge(parent::behaviors(), array('X2MobileControllerBehavior' => array('class' => 'application.modules.mobile.components.behaviors.' . 'X2MobileSiteControllerBehavior'), 'CommonSiteControllerBehavior' => array('class' => 'application.components.CommonSiteControllerBehavior')));
 }