Class OLtag

Description

The

Located in Program_Root/tag_classes/ALLTAGS.inc (line 889)

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 890)

Redefined in descendants as:

Inherited Variables

Inherited from Container

Container::$_flags
Methods
add (line 904)

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 943)

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()
HTMLTagClass::_build_attribute_string()
HTMLTagClass::_prepare_flags()
HTMLTagClass::_render_tag_debug()

Inherited From XMLTagClass

XMLTagClass::XMLTagClass()
XMLTagClass::get_tag()
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::_build_attribute_string()
XMLTagClass::_get_element()
XMLTagClass::_prepare_flags()
XMLTagClass::_render_close_tag()
XMLTagClass::_render_content()
XMLTagClass::_render_open_tag()
XMLTagClass::_set_flags()

Inherited From Container

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

Documention generated on Thu, 31 Jul 2003 18:32:01 -0700 by phpDocumentor 1.2.0