Docs For Class OLtag

## Class OLtag

Description

The

- author: Walter A. Boring IV <waboring@newsblob.com>

Located in /tag_classes/ALLTAGS.inc (line 931)

    Container
       |
       --XMLTagClass
          |
          --HTMLTagClass
             |
             --OLtag

Direct descendents

Class | Description
--- | ---
ULtag |

Variable Summary
mixed $_tag
Method Summary
void add (mixed $content)
void add_reference (mixed &$content)
Variables
mixed $_tag = "ol" (line 932)

Redefined in descendants as:

- ULtag::$_tag

Methods
add (line 946)

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.

we override this from the parent so we can auto detect if the user is adding raw strings instead of objects. If they are trying to add raw strings, then we wrap that in an LItag object, since you can't add anything other then an <LI>

- access: public

void add (mixed $content)

- mixed $content: - either string, or tag object.

Redefinition of:

Container::add()
  add content onto content stack

add_reference (line 985)

push content onto content stack

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.

we override this from the parent so we can auto detect if the user is adding raw strings instead of objects. If they are trying to add raw strings, then we wrap that in an LItag object, since you can't add anything other then an <LI>

- access: public

void add_reference (mixed &$content)

- mixed $content: - 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.

Redefinition of:

Container::add_reference()
  Add content onto content stack so you can change the item later.

#### Inherited Methods

Inherited From HTMLTagClass

> HTMLTagClass::HTMLTagClass()
> HTMLTagClass::render()
> HTMLTagClass::set_class()
> HTMLTagClass::set_id()
> HTMLTagClass::set_style()

Inherited From XMLTagClass

> XMLTagClass::XMLTagClass()
> XMLTagClass::get_tag()
> XMLTagClass::get_tag_attribute()
> XMLTagClass::get_tag_name()
> XMLTagClass::render()
> XMLTagClass::reset_attributes()
> XMLTagClass::set_cdata_flag()
> XMLTagClass::set_collapse()
> XMLTagClass::set_newline_after_closetag()
> XMLTagClass::set_newline_after_opentag()
> XMLTagClass::set_tag_attribute()
> XMLTagClass::set_tag_attributes()
> XMLTagClass::set_tag_name()
> XMLTagClass::_set_flags()

Inherited From Container

> Container::Container()
> Container::add()
> Container::add_reference()
> Container::count_content()
> Container::get_element()
> Container::get_indent_flag()
> Container::push()
> Container::push_reference()
> Container::render()
> Container::reset_content()
> Container::set_collapse()
> Container::set_indent_flag()

Documentation generated on Thu, 1 Sep 2005 17:05:25 -0700 by phpDocumentor 1.3.0RC3