P4A_TableTabular rapresentation of a data source.
This is a complex widget that's used to allow users to navigate data sources and than (for example) edit a record or view details etc...
Located in /p4a/objects/widgets/table.php (line 47)
P4A_Object | --P4A_Widget | --P4A_Table
array
$cols
= array() (line 89)
Stores the table's structure (table_cols).
data_source
$data
= null (line 54)
Data source associated with the table.
table_navigation_bar
$navigation_bar
= null (line 61)
The gui widgets to allow table navigation.
rows
$rows
= null (line 75)
All the table's rows.
toolbar
$toolbar
= null (line 68)
The table toolbar.
boolean
$_auto_navigation_bar
= true (line 110)
Automatically add the navigation bar?
array
$_cols_order
= array() (line 96)
Displaying order of columns.
integer
$_current_page_number
= 1 (line 117)
Wich page is shown?
boolean
$_show_headers
= true (line 82)
Decides if the table will show the "field's header" row.
string
$_title
= "" (line 103)
A title (caption) for the table.
Inherited from P4A_Widget
P4A_Widget::$actions
P4A_Widget::$enabled
P4A_Widget::$label
P4A_Widget::$map_actions
P4A_Widget::$properties
P4A_Widget::$style
P4A_Widget::$template_name
P4A_Widget::$use_template
P4A_Widget::$value
P4A_Widget::$visible
P4A_Widget::$_temp_vars
P4A_Widget::$_tpl_vars
Inherited from P4A_Object
P4A_Object::$_helpers
P4A_Object::$_id
P4A_Object::$_map_actions
P4A_Object::$_name
P4A_Object::$_objects
P4A_Object::$_parent_id
Constructor P4A_Table (line 124)
Class constructor.
addActionCol (line 200)
Adds a special clickable column.
addCol (line 186)
Adds a column to the data structure.
addNavigationBar (line 370)
Adds the navigation bar to the table.
addToolbar (line 334)
Adds a generic toolbar to the table.
getAsString (line 212)
Returns the HTML rendered object.
getCols (line 436)
Return an array with all columns id.
getCurrentPageNumber (line 535)
Returns the current page number
getInvisibleCols (line 472)
Return an array with all id of invisible columns.
getTitle (line 146)
Returns the title of the table.
getVisibleCols (line 446)
Return an array with all id of visible columns.
hideHeaders (line 426)
Sets the header row hidden
hideNavigationBar (line 392)
Makes the navigation bar hidden.
hideToolbar (line 357)
Makes the toolbar invisible.
newToolbar (line 324)
TO BE IMPLEMENTED
setCurrentPageNumber (line 545)
Sets the current page number
setDataStructure (line 172)
Sets the table's structure (fields).
setInvisibleCols (line 515)
Sets all passed columns invisible.
If no array is given, than sets all columns invisible.
setSource (line 156)
Sets the data source that the table will navigate.
setTitle (line 136)
Sets the title for the table
setVisibleCols (line 491)
Sets all passed columns visible.
If no array is given, than sets all columns visible.
showHeaders (line 416)
Sets the title bar hidden
showNavigationBar (line 379)
Makes the navigation bar visible.
showTitleBar (line 404)
Sets the title bar visible
showToolbar (line 344)
Makes the toolbar visible.
syncPageWithSource (line 554)
Sets the page number reading it from the data source
Inherited From P4A_Widget
P4A_Widget::addAction()
P4A_Widget::addAjaxAction()
P4A_Widget::addTempVar()
P4A_Widget::changeEvent()
P4A_Widget::clearTemplateVars()
P4A_Widget::clearTempVars()
P4A_Widget::composeStringActions()
P4A_Widget::composeStringClassStyle()
P4A_Widget::composeStringProperties()
P4A_Widget::composeStringStyle()
P4A_Widget::disable()
P4A_Widget::display()
P4A_Widget::dropAction()
P4A_Widget::dropTempVar()
P4A_Widget::enable()
P4A_Widget::fetchTemplate()
P4A_Widget::getAccessKey()
P4A_Widget::getAsString()
P4A_Widget::getHeight()
P4A_Widget::getLabel()
P4A_Widget::getProperty()
P4A_Widget::getStyleProperty()
P4A_Widget::getValue()
P4A_Widget::getWidth()
P4A_Widget::isEnabled()
P4A_Widget::isVisible()
P4A_Widget::onBlur()
P4A_Widget::onChange()
P4A_Widget::onClick()
P4A_Widget::onDblClick()
P4A_Widget::onFocus()
P4A_Widget::onKeyDown()
P4A_Widget::onKeyPress()
P4A_Widget::onKeyUp()
P4A_Widget::onMouseDown()
P4A_Widget::onMouseMove()
P4A_Widget::onMouseOver()
P4A_Widget::onMouseUp()
P4A_Widget::onReturnPress()
P4A_Widget::onSelect()
P4A_Widget::p4a_widget()
P4A_Widget::raise()
P4A_Widget::redesign()
P4A_Widget::requireConfirmation()
P4A_Widget::setAccessKey()
P4A_Widget::setBgcolor()
P4A_Widget::setBgimage()
P4A_Widget::setDefaultLabel()
P4A_Widget::setFontColor()
P4A_Widget::setFontWeight()
P4A_Widget::setHeight()
P4A_Widget::setInvisible()
P4A_Widget::setLabel()
P4A_Widget::setProperty()
P4A_Widget::setStyleProperty()
P4A_Widget::setValue()
P4A_Widget::setVisible()
P4A_Widget::setWidth()
P4A_Widget::unrequireConfirmation()
P4A_Widget::unsetProperty()
P4A_Widget::unsetStyleProperty()
P4A_Widget::useTemplate()
Inherited From P4A_Object
P4A_Object::actionHandler()
P4A_Object::build()
P4A_Object::destroy()
P4A_Object::dropIntercept()
P4A_Object::errorHandler()
P4A_Object::getId()
P4A_Object::getName()
P4A_Object::getObjectType()
P4A_Object::getParentID()
P4A_Object::implementMethod()
P4A_Object::intercept()
P4A_Object::isActionTriggered()
P4A_Object::p4a_object()
P4A_Object::setName()
P4A_Object::setParentID()
P4A_Object::void()
P4A_Object::_loadHelper()
P4A_Object::__call()
Documentation generated on Mon, 07 Jan 2008 11:29:33 +0100 by phpDocumentor 1.4.0