Class CMS_resource
represent a resource. Can be either a page or a module resource.
Located in /automne/classes/workflow/resource.php (line 29)
CMS_grandFather | --CMS_resource
Class | Description |
---|---|
![]() |
General-purpose Class |
![]() |
Class CMS_resource_cms_aliases |
![]() |
Class CMS_poly_object |
![]() |
Class CMS_page |
Constructor.
initializes the resource if the id is given
Add an edition.
Add an edition to the validation refused
Totally destroys the resource from persistence. Also destroys the status.
Returns an array of all the available resource data locations Static function
Returns an array of all the available link types Static function
Get the editors for an edition, or all the editors if no edition given.
Gets the DB ID of the instance.
Gets the locksmith data of a lock placed on the resource.
Gets the publication date end.
Gets the publication date start.
Gets the status
Does the resource has a proposed location outside of userspace ?
Locks the page. Takes the user DB ID and place it as locksmith data. Impossible if resource is already locked.
Remove the proposed location. Also removes the editors who proposed the location.
Set the proposedFor location of the resource. Also add the editor who proposed the location.
Set the publication dates of the resource.
Validates an edition. Sets the status as validated if it's a content validation.
Validate the location proposition of the resource (proposedFor attribute).
Writes the resource into persistence (MySQL for now).
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()
Inherited from CMS_grandFather
CMS_grandFather::ERROR_LOG
CMS_grandFather::SYSTEM_LABEL
Documentation generated on Wed, 15 Feb 2012 15:38:19 +0100 by phpDocumentor 1.4.3