The Microsite Class
Encapsulates a microsite definition. Holds the meta-data associated with a microsite, and allows this data to be modified via a dedicated form/POSTprocess. Also allows the microsite to be requested for 'publishing' to the appropriate destination for microsites, depending on webserver requirements/configuration.
Located in /microsite-defs.php (line 47)
RenderableObject | --StylableObject | --HTMLObject | --microsite
Media items in this microsite (array)
The main stylesheet of the microsite
The IE stylesheet of the microsite
The Netscape stylesheet of the microsite
Whether microsite is currently installed (built)
An array of error messages to report
Whether this microsite exists in database
The name of our form
When microsite was last installed (timestamp)
When microsite was last modified (timestamp)
The ID of the microsite menu
The description of the microsite
The domain of the microsite
The name of the microsite
mode of operation
Pages in this microsite (array)
Number of plugin slots we provide to edit page plugins
Whether microsite publish is being requested
Whether microsite removal is being requested
Templates in this microsite (array)
Inherited from HTMLObject
HTMLObject::$accesskey
HTMLObject::$align
HTMLObject::$alt
HTMLObject::$bgcolor
HTMLObject::$bgurl
HTMLObject::$border
HTMLObject::$color
HTMLObject::$height
HTMLObject::$hspace
HTMLObject::$lang
HTMLObject::$langdir
HTMLObject::$linkover_text
HTMLObject::$name
HTMLObject::$onblur
HTMLObject::$onchange
HTMLObject::$onclick
HTMLObject::$ondblclick
HTMLObject::$onfocus
HTMLObject::$onkeydown
HTMLObject::$onkeypress
HTMLObject::$onkeyup
HTMLObject::$onload
HTMLObject::$onmousedown
HTMLObject::$onmousemove
HTMLObject::$onmouseout
HTMLObject::$onmouseover
HTMLObject::$onmouseup
HTMLObject::$onselect
HTMLObject::$size
HTMLObject::$src
HTMLObject::$tabindex
HTMLObject::$target
HTMLObject::$title
HTMLObject::$user_attributes
HTMLObject::$valign
HTMLObject::$vspace
HTMLObject::$width
Inherited from StylableObject
StylableObject::$class
StylableObject::$id
StylableObject::$style
Constructor Create a new microsite instance.
Delete this microsite from the database. We do not rely on RI to delete all of the associated records, since the database in use might not support it.
Get the microsite Retrieves the specified microsite from database. If it doesn't exist then we create a new one.
Render the block content according to the mode of operation we are in. Possible modes: 'viewing', 'editing', 'saving'.
Initialise this object to default values. Eg. this is done after a delete, so we don't see the deleted object data.
Publish this microsite. We build the dir structures which actually
create this as an Axyl theme-website under the ./var directory, which is writeable to the webserver. If the microsite has been published already, then a symlink to our microsite will exist in the ./templates directory. If not, then we request it to be done by a cron-driven command-line Php script which has the required permissions.
Request publishing for this microsite. We just set a database flag so that the cron script will do the work.
Remove publishing for this microsite. We just set a database flag
so that the cron script will do the work. Note that this doesn't remove the actual definition of the microsite - just the bits and pieces (files) which are the physical instance of it, and which make it viewable to the internet.
Save this microsite to the database. Create a new one if it doesn't already exist.
Un-publish this microsite. This just removes the physical contents of the microsite which were created in the ./var area.
Inherited From HTMLObject
HTMLObject::HTMLObject()
HTMLObject::inherit_attributes()
HTMLObject::setaccesskey()
HTMLObject::setalign()
HTMLObject::setalt()
HTMLObject::setbackground()
HTMLObject::setbgcolor()
HTMLObject::setborder()
HTMLObject::setcolor()
HTMLObject::setheight()
HTMLObject::sethspace()
HTMLObject::setlang()
HTMLObject::setlangdir()
HTMLObject::setname()
HTMLObject::setsize()
HTMLObject::setsrc()
HTMLObject::settabindex()
HTMLObject::settarget()
HTMLObject::settitle()
HTMLObject::setvalign()
HTMLObject::setvspace()
HTMLObject::setwidth()
HTMLObject::set_attribute()
HTMLObject::set_linkover_text()
HTMLObject::set_onblur()
HTMLObject::set_onchange()
HTMLObject::set_onclick()
HTMLObject::set_ondblclick()
HTMLObject::set_onfocus()
HTMLObject::set_onkeydown()
HTMLObject::set_onkeypress()
HTMLObject::set_onkeyup()
HTMLObject::set_onload()
HTMLObject::set_onmousedown()
HTMLObject::set_onmousemove()
HTMLObject::set_onmouseout()
HTMLObject::set_onmouseover()
HTMLObject::set_onmouseup()
HTMLObject::set_onselect()
HTMLObject::set_tabindex()
HTMLObject::taghtml()
Inherited From StylableObject
StylableObject::StylableObject()
StylableObject::clearstyle()
StylableObject::setclass()
StylableObject::setcss()
StylableObject::setid()
StylableObject::setstyle()
Inherited From RenderableObject
RenderableObject::RenderableObject()
RenderableObject::html()
RenderableObject::render()
RenderableObject::wml()
RenderableObject::wmlup()
RenderableObject::xml()
Documentation generated by phpDocumentor 1.3.0RC3