Class CMS_website
represent a website placed on a page in the tree structure. A websites defines mainly a directory where the pages files will be placed. Beware ! Because of the label-to-directory relationship, label should'nt be changeable after the website creation. This condition is enforced here.
Located in /automne/classes/tree/website.php (line 31)
CMS_grandFather | --CMS_website
Constructor.
initializes the website if the id is given.
Totally destroys the website, including its directory After deletion from database, launch a regen of the whole tree.
Gets the 403 page
Gets the 404 page
Get all pages codenames for website
Gets the alternatives domains (including http://).
Gets the pages directory. It's derived from the label
Get a website meta value
Gets the pages directory. It's derived from the label
Gets the url (including http://).
Should we redirect altdomains to main domain
Sets the 403 page Id for the website
Sets the 404 page Id for the website
Sets the alternatives domains url. Can be empty. Will be riden of http://.
Sets the Codename.
Sets the label.
Set a website meta value
Sets the redirect altdomains to main domain status
Sets the root page.
Sets the url. Can be empty. Will be riden of http://.
Writes the website 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:41:03 +0100 by phpDocumentor 1.4.3