Class WFTableView

Description

A Table widget for our framework.

PHOCOA Builder Setup:

Required:

Optional:

Located in /framework/widgets/WFTableView.php (line 22)

WFObject
   |
   --WFView
      |
      --WFTableView
Variable Summary
Method Summary
static void exposedProperties ()
WFTableView __construct ( $id,  $page)
void addChild (WFView $view)
void numberOfRows ()
void render ([ $blockContent = NULL])
void setColumnOrder ( $colOrder)
void sortColumns ()
void valueForColumnRow ( $colId,  $rowI)
Variables
mixed $alwaysShowHeader (line 30)
  • access: protected
mixed $arrayController (line 27)
  • access: protected
mixed $columnOrder (line 28)
  • access: protected
mixed $columns (line 26)
  • access: protected
mixed $noRowsMessage (line 31)
  • access: protected
mixed $numberOfRows (line 25)
  • access: protected
mixed $paginator (line 24)
  • access: protected

Inherited Variables

Inherited from WFView

WFView::$children
WFView::$cssImports
WFView::$enabled
WFView::$id
WFView::$importInHead
WFView::$jsActions
WFView::$jsEvents
WFView::$jsImports
WFView::$originalOnEvent
WFView::$page
WFView::$parent
Methods
static method exposedProperties (line 61)
  • access: public
static void exposedProperties ()

Redefinition of:
WFView::exposedProperties()
Constructor __construct (line 36)

Constructor.

  • access: public
WFTableView __construct ( $id,  $page)
  • $id
  • $page

Redefinition of:
WFView::__construct()
Constructor.
addChild (line 139)

To implement our columns functionality, we need to detect when a child objects have been added.

void addChild (WFView $view)

Redefinition of:
WFView::addChild()
Add a child view to this view.
allConfigFinishedLoading (line 166)
  • access: public
void allConfigFinishedLoading ()

Redefinition of:
WFView::allConfigFinishedLoading()
After WFPage has completed the loading of all config for all widgets, it will call this function on each widget.
canPushValueBinding (line 147)
  • access: public
void canPushValueBinding ()
numberOfRows (line 150)
  • access: public
void numberOfRows ()
render (line 89)
  • access: public
void render ([ $blockContent = NULL])
  • $blockContent

Redefinition of:
WFView::render()
Render the view into HTML.
setColumnOrder (line 49)
  • access: public
void setColumnOrder ( $colOrder)
  • $colOrder
setupExposedBindings (line 67)
  • access: public
void setupExposedBindings ()
sortColumns (line 77)
  • access: protected
void sortColumns ()
valueForColumnRow (line 160)
  • access: public
void valueForColumnRow ( $colId,  $rowI)
  • $colId
  • $rowI

Inherited Methods

Inherited From WFView

WFView::__construct()
WFView::addChild()
WFView::allConfigFinishedLoading()
WFView::children()
WFView::cloneWithID()
WFView::enabled()
WFView::exposedProperties()
WFView::getForm()
WFView::getJSActions()
WFView::getListenerJS()
WFView::getListenerJSInScriptTag()
WFView::getOnEvent()
WFView::getWidgetDir()
WFView::getWidgetWWWDir()
WFView::id()
WFView::importCSS()
WFView::importJS()
WFView::jsEndHTML()
WFView::jsStartHTML()
WFView::page()
WFView::parent()
WFView::removeChild()
WFView::render()
WFView::setEnabled()
WFView::setId()
WFView::setJSonBlur()
WFView::setJSonClick()
WFView::setListener()
WFView::setOnEvent()
WFView::setParent()
WFView::yuiPath()

Inherited From WFObject

WFObject::__construct()
WFObject::exposedProperties()
WFObject::getClass()
WFObject::keyPathToTargetAndKey()
WFObject::setValueForKey()
WFObject::setValueForKeyPath()
WFObject::setValuesForKeys()
WFObject::validatedSetValueForKey()
WFObject::validatedSetValueForKeyPath()
WFObject::validateObject()
WFObject::validateValueForKey()
WFObject::validateValueForKeyPath()
WFObject::valueForKey()
WFObject::valueForKeyPath()
WFObject::valueForStaticKey()
WFObject::valueForStaticKeyPath()
WFObject::valueForTargetAndKeyPath()
WFObject::valueForUndefinedKey()
WFObject::valueForUndefinedStaticKey()
WFObject::valuesForKeyPaths()
WFObject::valuesForKeys()
WFObject::_valueForStaticKey()
WFObject::__toString()

Documentation generated on Thu, 14 May 2009 16:20:33 -0400 by phpDocumentor 1.4.2