Class CSSContainer

Description

This class is a container for CSSBuilder objects. It is meant to make the theming of many CSSBuilder objects easy to manage.

Located in Program_Root/widgets/CSSContainer.inc (line 22)

Container
   |
   --BaseWidget
      |
      --CSSContainer
Method Summary
void add ()
void update_all_values (string $property, string $search, string $value)
Variables

Inherited Variables

Inherited from BaseWidget

BaseWidget::$title
BaseWidget::$width

Inherited from Container

Container::$_flags
Methods
add (line 29)

Only allow the adding of CSSBuilder

child classes

void add ()

Redefinition of:
Container::add()
add content onto content stack
update_all_values (line 52)

This walks all of the CSSBuilder objects and calls their respective update_all_values method.

NOTE: This must be called AFTER all the classes have been added.

void update_all_values (string $property, string $search, string $value)
  • string $property:

    - the property that the search lives in

  • string $search:

    - the original value to find

  • string $value:

    - the new value

Inherited Methods

Inherited From BaseWidget

BaseWidget::get_align()
BaseWidget::get_css()
BaseWidget::get_javascript()
BaseWidget::get_title()
BaseWidget::get_width()
BaseWidget::set_align()
BaseWidget::set_title()
BaseWidget::set_width()

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:20 -0700 by phpDocumentor 1.2.0