WMLdo_element class Do Element Class: Extends element to make a virtual class which has descendants which are contained by a 'do' construct.
A Do element is essentially a kind of clickable link which does something when the user clicks on it. What it does depends on "type" of the DO. This virtual class is inherited by child classes which implement the various different types of DO.
Located in /wml-defs.php (line 182)
RenderableObject | --WMLelement | --WMLdo_element
Class | Description |
---|---|
![]() |
WMLprev class Extends the Do Element Class. Provide the Do element of type = 'prev'. |
![]() |
WMLrefresh class Extends the Do Element Class. Provide the Do element of type = 'refresh'. |
![]() |
WMLgo class Extends the Do Element Class. Provide the Do element of type = 'accept'. |
Label for the Do element
Name of the DO element
True if optional
Type of DO element: 'accept', 'prev', 'help', 'reset', 'options', or 'delete'
Inherited from WMLelement
WMLelement::$body
Constructor Create a new do element object.
Produce main HTML for DO element
Produce main WML for DO element This is a common utility method to render the DO WML once the details (body) has been filled in by the child class of this one.
Inherited From WMLelement
WMLelement::WMLelement()
WMLelement::insert()
WMLelement::insert_para()
WMLelement::insert_paragraph()
WMLelement::insert_para_scrubbed()
Inherited From RenderableObject
RenderableObject::RenderableObject()
RenderableObject::html()
RenderableObject::render()
RenderableObject::wml()
RenderableObject::wmlup()
RenderableObject::xml()
Documentation generated by phpDocumentor 1.3.0RC3