P4A_Table_ColKeeps the data for a single table column.
Located in /p4a/objects/widgets/table.php (line 566)
P4A_Object | --P4A_Widget | --P4A_Table_Col
data_source
$data
= NULL (line 580)
Data source for the field.
string
$data_description_field
= NULL (line 594)
The data source member that contains the descriptions for this field.
string
$data_value_field
= NULL (line 587)
The data source member that contains the values for this field.
boolean
$formatted
= true (line 601)
Tells if the fields content is formatted or not.
string
$formatter_name
= NULL (line 608)
The formatter class name for the data field.
string
$format_name
= NULL (line 615)
The format name for the data field.
string
$header
= NULL (line 573)
Keeps the header string.
boolean
$orderable
= true (line 622)
Tells if the table can order by this col
string
$_type
= "text" (line 629)
Type of the column
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_Col (line 636)
Class constructor.
getDescription (line 768)
Translate the value with the description
getHeader (line 678)
Returns the header for the column.
getSourceDescriptionField (line 757)
Returns the name of the data source member that keeps the field's description.
getSourceValueField (line 747)
Returns the name of the data source member that keeps the field's value.
getType (line 873)
Gets the type of the column (text|image)
isFormatted (line 791)
Returns true if a formatting format for the field has been set.
isOrderable (line 853)
Tell if the column is orderable or not
onClick (line 878)
order (line 898)
setFormat (line 822)
Sets the formatter and format for the column.
This also turns formatting on.
Eg: set_format('numbers', 'decimal')
setFormatted (line 800)
Sets the column as formatted.
setHeader (line 668)
Sets the header for the column.
setOrderable (line 844)
Sets the ability to order by this column
setSource (line 690)
If we use fields like combo box we have to set a data source.
By default we'll take the data source primary key as value field and the first fiels (not pk) as description.
setSourceDescriptionField (line 735)
Sets what data source member is the keeper of the field's description.
setSourceValueField (line 723)
Sets what data source member is the keeper of the field's value.
setType (line 863)
Sets the type of the column (text|image)
setVisible (line 648)
Sets the column visible (and add it as the last in the coloumn display order).
unsetFormat (line 833)
Removes formatting options and turns formatting off.
unsetFormatted (line 809)
Sets the column as not formatted.
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:34 +0100 by phpDocumentor 1.4.0