Class CMS_websitesCatalog
Manages the collection of websites.
Located in /automne/classes/tree/websitescatalog.php (line 26)
CMS_grandFather | --CMS_websitesCatalog
Check if website currently exists Static function.
Returns all the websites, sorted by label.
Static function.
Returns a CMS_website by a given codename Static function.
Returns a CMS_website when given an ID Static function.
Returns The URL of the current website, according to parameter or constant CURRENT_PAGE or the main domain URL if constant does not exists Static function.
Returns The URL of the main website, the one for the root. Don't produce any error here, or the log will be filled in no time.
Static function.
Returns The main website, the one for the root.
Static function.
get first website for a given domain or false if none founded
Returns The instance of the website whose page is a root of, or false if page is not a website root Static function.
get websites for a given domain or false if none founded
Returns a queried CMS_website value Static function.
Returns true if the pageID passed in parameter is the root of a website Static function.
Reset websites order
Writes the website root redirection : an index.php page redirecting to the root page
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:08 +0100 by phpDocumentor 1.4.3