Class Calendar

Description

This class builds a simple calendar.

Located in /widgets/Calendar.inc (line 23)

Container
   |
   --BaseWidget
      |
      --Calendar
Method Summary
Calendar Calendar ([mixed $width = "150"], int $date)
string render (int $output_debug)
Variables

Inherited Variables

Inherited from BaseWidget

BaseWidget::$title
BaseWidget::$width
Methods
Constructor Calendar (line 51)

Constructor for this class It just sets the date for the widget.

Calendar Calendar ([mixed $width = "150"], int $date)
  • int $date: - The date for the widget (unixtimestamp)
render (line 65)

function that will render the widget.

  • return: the raw html output.
string render (int $output_debug)
  • int $output_debug: - the output debug flag to maintain compatibility w/ the API.

Redefinition of:
Container::render()
This function is compatible with the rest of the phpHtmllib API spec.

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_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 Tue, 3 Feb 2004 15:28:47 -0800 by phpDocumentor 1.2.3