Class CMS_resourceValidationsCatalog

Description

Class CMS_resourceValidationsCatalog

Manages the catalog of resourceValidations

Located in /automne/classes/workflow/resourcevalidationscatalog.php (line 29)

CMS_grandFather
   |
   --CMS_resourceValidationsCatalog
Method Summary
 static resourceValidation getValidationInstance (integer $id, [ $user = false])
 static array(string=>CMS_resourceValidation) getValidations ( &$user, [ $module_codename = false], CMS_user $user, string $module_codebame)
Methods
static getValidationInstance (line 39)

Returns a resourceValidation object instance from a DB id or from GetValidationByID function if exists.

Static function.

  • return: the instance unserialized, false if not found.
  • access: public
static resourceValidation getValidationInstance (integer $id, [ $user = false])
  • integer $id: the id of the saved object
  • $user
static getValidations (line 81)

Returns all the resource validations the user can do Static function.

  • return: The validations to do, indexed by module codename
  • access: public
static array(string=>CMS_resourceValidation) getValidations ( &$user, [ $module_codename = false], CMS_user $user, string $module_codebame)
  • CMS_user $user: The user we want the validations of
  • string $module_codebame: The module codename we want the validations of, if ommitted, validations for all the modules will be returned
  • &$user
  • $module_codename

Inherited Methods

Inherited From CMS_grandFather

 CMS_grandFather::autoload()
 CMS_grandFather::hasError()
 CMS_grandFather::log()
 CMS_grandFather::PHPErrorHandler()
 CMS_grandFather::raiseError()
 CMS_grandFather::setDebug()
 CMS_grandFather::setLog()
 CMS_grandFather::_raiseError()
 CMS_grandFather::__call()
Class Constants

Documentation generated on Wed, 15 Feb 2012 15:38:29 +0100 by phpDocumentor 1.4.3