public function filters()
 {
     $modelClassName = $this->getModule()->getPrimaryModelName();
     $viewClassName = $modelClassName . 'EditAndDetailsView';
     return array_merge(parent::filters(), array(array(ZurmoBaseController::REQUIRED_ATTRIBUTES_FILTER_PATH . ' + create, createFromRelation, edit', 'moduleClassName' => get_class($this->getModule()), 'viewClassName' => $viewClassName), array(ContactWebFormsDefaultController::ZERO_MODELS_CHECK_FILTER_PATH . ' + list, index', 'controller' => $this, 'activeActionElementType' => 'ContactWebFormEntriesListLink', 'breadCrumbLinks' => static::getListBreadcrumbLinks())));
 }
 public function filters()
 {
     return array_merge(parent::filters(), array(array(self::getRightsFilterPath() . ' + drillDownDetails', 'moduleClassName' => 'ReportsModule', 'rightName' => ReportsModule::RIGHT_ACCESS_REPORTS), array(self::getRightsFilterPath() . ' + selectType', 'moduleClassName' => 'ReportsModule', 'rightName' => ReportsModule::RIGHT_CREATE_REPORTS), array(ZurmoModuleController::ZERO_MODELS_CHECK_FILTER_PATH . ' + list, index', 'controller' => $this)));
 }
 public function filters()
 {
     return array_merge(parent::filters(), array(array(static::ZERO_MODELS_CHECK_FILTER_PATH . ' + list, index', 'controller' => $this, 'activeActionElementType' => 'WorkflowMessageInQueuesMenu', 'breadCrumbLinks' => static::getListBreadcrumbLinks())));
 }
예제 #4
0
 public function filters()
 {
     return array_merge(parent::filters(), array(array(ZurmoBaseController::RIGHTS_FILTER_PATH, 'moduleClassName' => 'MarketingModule', 'rightName' => MarketingModule::RIGHT_ACCESS_MARKETING)));
 }
 public function filters()
 {
     return array_merge(parent::filters(), array(array(ZurmoBaseController::RIGHTS_FILTER_PATH . ' + pushDashboard', 'moduleClassName' => 'ZurmoModule', 'rightName' => ZurmoModule::RIGHT_PUSH_DASHBOARD_OR_LAYOUT)));
 }
 public function filters()
 {
     return array_merge(parent::filters(), array(array(self::getRightsFilterPath() . ' + selectType', 'moduleClassName' => 'WorkflowsModule', 'rightName' => WorkflowsModule::RIGHT_CREATE_WORKFLOWS), array(static::USER_EMAIL_TEMPLATE_ACCESS_FILTER_PATH, 'controller' => $this), array(static::ZERO_MODELS_CHECK_FILTER_PATH . ' + list, index', 'controller' => $this, 'activeActionElementType' => 'WorkflowsMenu', 'breadCrumbLinks' => static::getListBreadcrumbLinks()), array(static::ZERO_MODELS_CHECK_FILTER_PATH . ' + manageOrder', 'controller' => $this, 'activeActionElementType' => 'WorkflowManageOrderMenu', 'breadCrumbLinks' => static::getManageOrderBreadcrumbLinks())));
 }
 public function filters()
 {
     return array_merge(parent::filters(), array(array(ZurmoBaseController::RIGHTS_FILTER_PATH . ' - index, welcome, hideWelcome, getTip', 'moduleClassName' => 'HomeModule', 'rightName' => HomeModule::RIGHT_ACCESS_DASHBOARDS), array(ZurmoBaseController::RIGHTS_FILTER_PATH . ' + createDashboard', 'moduleClassName' => 'HomeModule', 'rightName' => HomeModule::RIGHT_CREATE_DASHBOARDS), array(ZurmoBaseController::RIGHTS_FILTER_PATH . ' + deleteDashboard', 'moduleClassName' => 'HomeModule', 'rightName' => HomeModule::RIGHT_DELETE_DASHBOARDS), array(ZurmoBaseController::RIGHTS_FILTER_PATH . ' + pushDashboard', 'moduleClassName' => 'ZurmoModule', 'rightName' => ZurmoModule::RIGHT_PUSH_DASHBOARD_OR_LAYOUT)));
 }
 public function filters()
 {
     return array_merge(parent::filters(), array(array(ZurmoBaseController::RIGHTS_FILTER_PATH, 'moduleClassName' => 'ZurmoModule', 'rightName' => ZurmoModule::RIGHT_ACCESS_ADMINISTRATION)));
 }
 public function filters()
 {
     $filters = array('apiRequest');
     return array_merge($filters, parent::filters());
 }
 public function filters()
 {
     $modelClassName = $this->getModule()->getPrimaryModelName();
     $viewClassName = $modelClassName . 'EditAndDetailsView';
     return array_merge(parent::filters(), array(array(ZurmoBaseController::REQUIRED_ATTRIBUTES_FILTER_PATH . ' + create, createFromRelation, edit', 'moduleClassName' => get_class($this->getModule()), 'viewClassName' => $viewClassName), array(ZurmoModuleController::ZERO_MODELS_CHECK_FILTER_PATH . ' + list, index', 'controller' => $this)));
 }