This class is nothing more then a
container widget. It lets you push data into it, and it will render each item indented properly so it works with the rest of the libs.
This is helpfull when you have a function that wants to return multiple Tag Objects or widgets. Just wrap them in this container and they will all get rendered with the current indentation level.
Base Class for phpHtmlLib
Located in Program_Root/ContainerClass.inc (line 38)
Class | Description |
---|---|
XMLTagClass | This class is used for building and rendering an XML tag. |
BaseWidget | this is the base widget class, that all widgets are based off of. It provides some basic members and methods |
ContainerWidget | This is just to maintain compatibility with the 1.1.0 release of phphtmllib |
XMLDocumentClass | This class lets you build a complete xml document and render it. |
FormProcessor | This is the main engine for the processing |
The constructor.
This lets you pass in data that you want automatically added to the container. This works in the same manner as the push() method.
add content onto content stack
adds content to tag as a FIFO. You can have n number of parameters. each one will get added in succession to the content.
- either string, or tag object.
Add content onto content stack so you can change the item later.
adds content to tag as a FIFO You can only add 1 element at a time, and it will be added as a reference. So you can't do push_reference("something");, since "something" is a static.
- either string, or tag object. the tag object gets stored as a reference to the original, so you can push it, then modify it later.
counts the number of content objects
This flag gets the current value of the indent flag
Same as add().
NOTE: only exists for 1.1.x compatibility
- either string, or tag object.
Same as add_reference NOTE : only exists for compatibility with 1.1.x
- a reference to some variable.
This function is compatible with the rest of the phpHtmllib API spec.
It just walks through each of the class' data and renders it with the appropriate indentation.
- the indentation level for the container.
- the output debug flag to maintain compatibility w/ the API.
destroy existing content and start with new content.
can be tag object, or raw (string).
This function turns on the collapse flag
- the collapse flag
- the indent flag DEFAULT: TRUE;
function to set the indent flag
TRUE or FALSE
This method is used to set the bitmask flags for this tag. It tells the class how to render the tag.
NOTE: the child class can override this to set the options
Documention generated on Thu, 31 Jul 2003 18:32:19 -0700 by phpDocumentor 1.2.0