Пример #1
0
 /**
  * Function to set variables up before form is built
  *
  * @access public
  */
 public function preProcess()
 {
     parent::preProcess();
     $unmet = CRM_Volunteer_Upgrader::checkExtensionDependencies();
     if (in_array('com.ginkgostreet.multiform', $unmet)) {
         $msg = CRM_Volunteer_Upgrader::getUnmetDependencyErrorMessage('com.ginkgostreet.multiform');
         $this->assign('msg', $msg);
     }
     $this->assign('isModulePermissionSupported', CRM_Core_Config::singleton()->userPermissionClass->isModulePermissionSupported());
 }