Layouteditor
A layouteditor is a utility class. It contains all of the methods required to edit a layout, so that the layout class can concentrate on the basics of layout acquisition and display. The constructor of a layouteditor must be passed a reference to the layout it is going to be providing editing services for.
Located in /layout-editor-defs.php (line 41)
RenderableObject | --layouteditor
The layout we are providing
Constructor Create a new layouteditor object.
Delete the hosted layout from the database. Afterwards, the current object still exists as it was before this method was executed, but the $this->layout->exists flag will have been reset to false.
Replicate the hosted layout as a new layout. Creates a brand new
layout in the database, with same data as this one. The end result is that this current object becomes the new layout, and a duplicate set of layout records exist in the database. The layout ID of this new layout is, of course, updated to being a brand new one. NOTES: The layout name is normally left null, which keeps the layout in the same 'family' of layout versions. You can force the layout name to be different, and this will create a new 'layout_set' record of that name for you, if required.
Inherited From RenderableObject
RenderableObject::RenderableObject()
RenderableObject::html()
RenderableObject::render()
RenderableObject::wml()
RenderableObject::wmlup()
RenderableObject::xml()
Documentation generated by phpDocumentor 1.3.0RC3