Class CMS_resourceValidation
represent a resource validation. Contains a reference to the resource moduleID and the resource itself. It is passed from the kernel to the moduleIDs for workflow purposes
Located in /automne/classes/workflow/resourcevalidation.php (line 30)
CMS_grandFather | --CMS_resourceValidation
Constructor. Caution ! Only the mandatory properties are passed here, but many others are needed to provide a readable validation.
Data access method : add an URL to the help URLs array
cleans the table of the validations older than self::VALIDATION_PERSISTENCE_TIMEOUT.
Get the array of VALIDATION_OPTIONs
Data access method : get the editions concerned by the validation
Data access method : get the moduleCodename
Data access method : get the status representation HTML string
Data access method : get the short label if exist
Data access method : get the validation type label
Tests for the presence of a validation option
Removes a validation option from the possibilities.
Data access method : set the editors stack.
Data access method : set the DB id
Data access method : set the validation label
Data access method : set the validation short label
Data access method : set the validation type label
Writes the object instance into persistance.
Construct the validation ID Validation must have module codename, editions and resourceID set The module mus have getValidationByID function to properly decode the created ID
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()
Validation persistence timeout, in minutes. All validations stored in persistence older than this amount will be deleted.
Default : 100 minutes
Inherited from CMS_grandFather
CMS_grandFather::ERROR_LOG
CMS_grandFather::SYSTEM_LABEL
Documentation generated on Wed, 15 Feb 2012 15:38:28 +0100 by phpDocumentor 1.4.3