Class we_ui_layout_HeadlineIconTable

Description

Class which creates a table to display several rows with ui elements separated by a rule For each row an icon can be provided together with a headline (title)

Located in /ui/layout/HeadlineIconTable.php (line 31)

we_core_AbstractObject
   |
   --we_ui_abstract_AbstractElement
      |
      --we_ui_layout_HeadlineIconTable
Class Constant Summary
 kRowTitle = 'we_ui_layout_HeadlineIconTable_RowTitle'
 kTableTitle = 'we_ui_layout_HeadlineIconTable_Title'
Variable Summary
mixed $_foldedText
mixed $_marginLeft
mixed $_rows
integer|string $_width
Method Summary
void __construct ([array $properties = null])
integer getFoldAtIndex ()
string getFoldedText ()
integer getMarginLeft ()
array getRows ()
string getUnfoldedText ()
void setFoldAtIndex (integer $foldAtIndex)
void setFoldedText (string $foldedText)
void setMarginLeft (integer $marginLeft)
void setRows (array $rows)
void setUnfoldedText (string $unfoldedText)
void setUnfoldWhenRenders (boolean $unfoldWhenRenders)
string _getFooter ()
string _getHeader ()
string _renderHTML ()
Variables
mixed $_buttonTable = NULL (line 62)
  • access: protected
mixed $_foldAtIndex = -1 (line 70)
  • access: protected
mixed $_foldedText = '' (line 78)
  • access: protected
mixed $_marginLeft = 0 (line 101)
  • access: protected
mixed $_rows = array() (line 55)
  • access: protected
mixed $_unfoldedText = '' (line 86)
  • access: protected
mixed $_unfoldWhenRenders = false (line 94)
  • access: protected
integer|string $_width = '100%' (line 50)

width of table is 100% per default

  • see: we_ui_abstractElement
  • access: protected

Redefinition of:
we_ui_abstract_AbstractElement::$_width
width of element. Will be inserted into style attribute

Inherited Variables

Inherited from we_ui_abstract_AbstractElement

we_ui_abstract_AbstractElement::$_class
we_ui_abstract_AbstractElement::$_CSSFiles
we_ui_abstract_AbstractElement::$_disabled
we_ui_abstract_AbstractElement::$_height
we_ui_abstract_AbstractElement::$_hidden
we_ui_abstract_AbstractElement::$_id
we_ui_abstract_AbstractElement::$_JSFiles
we_ui_abstract_AbstractElement::$_lang
we_ui_abstract_AbstractElement::$_left
we_ui_abstract_AbstractElement::$_overflow
we_ui_abstract_AbstractElement::$_position
we_ui_abstract_AbstractElement::$_style
we_ui_abstract_AbstractElement::$_title
we_ui_abstract_AbstractElement::$_top
Methods
Constructor __construct (line 111)

Constructor

Sets object properties if set in $properties array

  • access: public
void __construct ([array $properties = null])
  • array $properties: associative array containing named object properties

Redefinition of:
we_core_AbstractObject::__construct()
Constructor
getButtonTable (line 128)

Retrieve ButtonTable

  • access: public
we_ui_layout_ButtonTable getButtonTable ()
getFoldAtIndex (line 138)

Retrieve foldAtIndex property

  • access: public
integer getFoldAtIndex ()
getFoldedText (line 148)

Retrieve foldedText property

  • access: public
string getFoldedText ()
getMarginLeft (line 158)

Retrieve marginLeft property

  • access: public
integer getMarginLeft ()
getRows (line 168)

Retrieve array with we_ui_layout_HeadlineIconTableRow objects

  • access: public
array getRows ()
getUnfoldedText (line 178)

Retrieve unfoldedText property

  • access: public
string getUnfoldedText ()
getUnfoldWhenRenders (line 188)

Retrieve unfoldWhenRenders property

  • access: public
boolean getUnfoldWhenRenders ()
setButtonTable (line 198)
  • access: public
void setButtonTable (we_ui_layout_ButtonTable $buttonTable)
setFoldAtIndex (line 208)
  • access: public
void setFoldAtIndex (integer $foldAtIndex)
  • integer $foldAtIndex
setFoldedText (line 218)
  • access: public
void setFoldedText (string $foldedText)
  • string $foldedText
setMarginLeft (line 228)
  • access: public
void setMarginLeft (integer $marginLeft)
  • integer $marginLeft
setRows (line 238)

Set the rows array

  • access: public
void setRows (array $rows)
  • array $rows
setUnfoldedText (line 253)
  • access: public
void setUnfoldedText (string $unfoldedText)
  • string $unfoldedText
setUnfoldWhenRenders (line 263)
  • access: public
void setUnfoldWhenRenders (boolean $unfoldWhenRenders)
  • boolean $unfoldWhenRenders
_getFooter (line 330)

gets the footer HTML for the table

  • access: protected
string _getFooter ()
_getHeader (line 296)

gets the header HTML for the table

  • access: protected
string _getHeader ()
_renderHTML (line 273)

Renders and returns the HTML

  • access: protected
string _renderHTML ()

Redefinition of:
we_ui_abstract_AbstractElement::_renderHTML()
Renders and returns HTML of ui element

Inherited Methods

Inherited From we_ui_abstract_AbstractElement

we_ui_abstract_AbstractElement::addCSSFile()
we_ui_abstract_AbstractElement::addCSSFiles()
we_ui_abstract_AbstractElement::addJSFile()
we_ui_abstract_AbstractElement::addJSFiles()
we_ui_abstract_AbstractElement::computeJSURL()
we_ui_abstract_AbstractElement::getClass()
we_ui_abstract_AbstractElement::getCSSFiles()
we_ui_abstract_AbstractElement::getDisabled()
we_ui_abstract_AbstractElement::getHeight()
we_ui_abstract_AbstractElement::getHidden()
we_ui_abstract_AbstractElement::getHTML()
we_ui_abstract_AbstractElement::getId()
we_ui_abstract_AbstractElement::getJSFiles()
we_ui_abstract_AbstractElement::getJSHTML()
we_ui_abstract_AbstractElement::getLang()
we_ui_abstract_AbstractElement::getLeft()
we_ui_abstract_AbstractElement::getOverflow()
we_ui_abstract_AbstractElement::getPosition()
we_ui_abstract_AbstractElement::getStyle()
we_ui_abstract_AbstractElement::getTitle()
we_ui_abstract_AbstractElement::getTop()
we_ui_abstract_AbstractElement::getWidth()
we_ui_abstract_AbstractElement::setClass()
we_ui_abstract_AbstractElement::setDisabled()
we_ui_abstract_AbstractElement::setHeight()
we_ui_abstract_AbstractElement::setHidden()
we_ui_abstract_AbstractElement::setId()
we_ui_abstract_AbstractElement::setLang()
we_ui_abstract_AbstractElement::setLeft()
we_ui_abstract_AbstractElement::setOverflow()
we_ui_abstract_AbstractElement::setPosition()
we_ui_abstract_AbstractElement::setStyle()
we_ui_abstract_AbstractElement::setTitle()
we_ui_abstract_AbstractElement::setTop()
we_ui_abstract_AbstractElement::setWidth()
we_ui_abstract_AbstractElement::_didRenderHTML()
we_ui_abstract_AbstractElement::_getBooleanAttribs()
we_ui_abstract_AbstractElement::_getComputedClassAttrib()
we_ui_abstract_AbstractElement::_getComputedStyleAttrib()
we_ui_abstract_AbstractElement::_getNonBooleanAttribs()
we_ui_abstract_AbstractElement::_renderHTML()
we_ui_abstract_AbstractElement::_willRenderHTML()

Inherited From we_core_AbstractObject

we_core_AbstractObject::__construct()
Class Constants
kRowTitle = 'we_ui_layout_HeadlineIconTable_RowTitle' (line 42)
kTableTitle = 'we_ui_layout_HeadlineIconTable_Title' (line 37)

Documentation generated on Mon, 01 Sep 2008 11:35:39 +0200 by phpDocumentor 1.4.0