Example #1
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('saveWidget');
     $this->exposeMethod('removeWidget');
     $this->exposeMethod('updateSequence');
 }
Example #2
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('updateModuleStatus');
     $this->exposeMethod('importUserModuleStep3');
     $this->exposeMethod('updateUserModuleStep3');
 }
Example #3
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('step1');
     $this->exposeMethod('step2');
     $this->exposeMethod('import');
 }
Example #4
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('Save');
     $this->exposeMethod('UpdateLabels');
     $this->exposeMethod('SaveSequenceNumber');
 }
Example #5
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('updateConfig');
     $this->exposeMethod('saveSwitchUsers');
     $this->exposeMethod('saveLocks');
 }
Example #6
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('Delete');
     $this->exposeMethod('ChangeStatus');
     $this->exposeMethod('Save');
 }
Example #7
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('updateUsers');
     $this->exposeMethod('updateConfig');
     $this->exposeMethod('updateSignature');
 }
Example #8
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('addKey');
     $this->exposeMethod('deleteKey');
     $this->exposeMethod('changePrivileges');
 }
Example #9
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('createMenu');
     $this->exposeMethod('updateMenu');
     $this->exposeMethod('removeMenu');
     $this->exposeMethod('updateSequence');
 }
Example #10
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('setInventory');
     $this->exposeMethod('saveInventoryField');
     $this->exposeMethod('saveSequence');
     $this->exposeMethod('delete');
 }
Example #11
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('UpdateModuleColor');
     $this->exposeMethod('UpdateModuleActiveType');
     $this->exposeMethod('UpdateCalendarConfig');
     $this->exposeMethod('updateNotWorkingDays');
 }
Example #12
0
 public function checkPermission(Vtiger_Request $request)
 {
     parent::checkPermission($request);
     $scannerId = $request->get('scannerId');
     if (!$scannerId) {
         throw new AppException(vtranslate('LBL_PERMISSION_DENIED', $request->getModule(false)));
     }
 }
Example #13
0
 /**
  * Function to get the list of Script models to be included
  * @param Vtiger_Request $request
  * @return <Array> - List of Vtiger_JsScript_Model instances
  */
 function getFooterScripts(Vtiger_Request $request)
 {
     $headerScriptInstances = parent::getFooterScripts($request);
     $moduleName = $request->getModule();
     $jsFileNames = array('modules.Settings.Vtiger.resources.Index', "modules.Settings.{$moduleName}.resources.Index");
     $jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
     $headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
     return $headerScriptInstances;
 }
 public function checkPermission(Vtiger_Request $request)
 {
     parent::checkPermission($request);
     $moduleModel = Vtiger_Module_Model::getInstance($request->getModule());
     $currentUserPrivilegesModel = Users_Privileges_Model::getCurrentUserPrivilegesModel();
     if (!$currentUserPrivilegesModel->hasModulePermission($moduleModel->getId())) {
         throw new AppException('LBL_PERMISSION_DENIED');
     }
 }
Example #15
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('showEditView');
     $this->exposeMethod('showDeleteView');
     $this->exposeMethod('getPickListDetailsForModule');
     $this->exposeMethod('getPickListValueForField');
     $this->exposeMethod('getPickListValueByRole');
     $this->exposeMethod('showAssignValueToRoleView');
 }
Example #16
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('updateModuleStatus');
     $this->exposeMethod('importUserModuleStep3');
     $this->exposeMethod('updateUserModuleStep3');
     $this->exposeMethod('checkModuleName');
     $this->exposeMethod('createModule');
     $this->exposeMethod('deleteModule');
 }
Example #17
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('AddTranslation');
     $this->exposeMethod('SaveTranslation');
     $this->exposeMethod('DeleteTranslation');
     $this->exposeMethod('add');
     $this->exposeMethod('save');
     $this->exposeMethod('delete');
     $this->exposeMethod('setAsDefault');
 }
Example #18
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('postReview');
     $this->exposeMethod('getDateString');
     $this->exposeMethod('uninstallExtension');
     $this->exposeMethod('registerAccount');
     $this->exposeMethod('updateTrialMode');
     $this->exposeMethod('updateCardDetails');
     $this->exposeMethod('logoutMarketPlace');
 }
Example #19
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('updateUsersForNotifications');
     $this->exposeMethod('updateSettings');
 }
Example #20
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('exportModule');
 }
Example #21
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('updateConfig');
 }
Example #22
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('GetPickListFields');
 }
Example #23
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('addKey');
     $this->exposeMethod('deleteKey');
 }
Example #24
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('save');
     $this->exposeMethod('delete');
 }
Example #25
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('checkDuplicate');
 }
Example #26
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('UpdateColor');
     $this->exposeMethod('ActiveColor');
 }
Example #27
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('updateFieldPinnedStatus');
 }
Example #28
0
    function __construct() {
		parent::__construct();
		$this->exposeMethod('updateModuleStatus');
	}
Example #29
0
 function __construct()
 {
     parent::__construct();
     $this->exposeMethod('Delete');
     $this->exposeMethod('UpdateField');
 }
Example #30
0
 public function __construct()
 {
     parent::__construct();
     $this->exposeMethod('getPagination');
 }