Beispiel #1
0
 /**
  * Add Validation Clearance
  * Overwrite super class function to update validation catalog
  *
  * @param integer $moduleid
  * @return boolean
  * @access public
  */
 function addValidationClearance($moduleName)
 {
     if ($moduleName) {
         $hasValidation = parent::hasValidationClearance($moduleName);
         if (!$hasValidation) {
             parent::addValidationClearance($moduleName);
             $this->_validationChange = true;
         }
         return true;
     } else {
         $this->raiseError("Invalid module name :" . $moduleName);
     }
     return false;
 }