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 /ContainerClass.inc (line 39)
Class | Description |
---|---|
FormProcessor | This is the main engine for the processing |
XMLDocumentClass | This class lets you build a complete xml document and render it. |
ContainerWidget | This is just to maintain compatibility with the 1.1.0 release of phphtmllib |
BaseWidget | this is the base widget class, that all widgets are based off of. It provides some basic members and methods |
XMLTagClass | This class is used for building and rendering an XML tag. |
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.
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.
counts the number of content objects
get the nth element from content array
This flag gets the current value of the indent flag
Same as add().
NOTE: only exists for 1.1.x compatibility
Same as add_reference NOTE : only exists for compatibility with 1.1.x
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.
destroy existing content and start with new content.
This function turns on the collapse flag
function to set the indent flag
Documentation generated on Fri, 28 Jan 2011 08:52:50 -0500 by phpDocumentor 1.4.3