StylableObject This is a virtual class representing something which can have its look changed by applying styles and/or classnames to it.
Located in /html-defs.php (line 86)
RenderableObject | --StylableObject
Class | Description |
---|---|
![]() |
An HTMLObject is any object which will be rendered in HTML according to the basic syntax defined for HTML. |
![]() |
A menu, which is a container for menu items. This class encapsulates what is essentially a list of links which can be displayed as a 'menu'. Orientation can be VERTICAL or HORIZONTAL. A 'wrap threshold' can be defined. If it's a vertical menu, this represents the max no. |
Constructor Create a stylableobject. Sets basic field attributes.
Clear all existing style settings. This leaves any class settings alone.
Set the class (from stylesheet) for the object
Set class or style for the object. A style is detected by the presence of the colon (:) character in the string.
NOTE: styles will be added to the existing style value in cumulative fashion.
Set the ID tag of the object
Append a style to ant exitsing style the object has.
Inherited From RenderableObject
RenderableObject::RenderableObject()
RenderableObject::html()
RenderableObject::render()
RenderableObject::wml()
RenderableObject::wmlup()
RenderableObject::xml()
Documentation generated by phpDocumentor 1.3.0RC3