A grid column for the AnewtGridRenderer.
A grid column for the AnewtGridRenderer.
This is merely an object to hold some column-related properties, as well as a list of AnewtGridCellRenderer instances that do the actual rendering of data.
__construct($column_id, $title=null, $order=null, $visible=null) ¶Constructs a new AnewtGridColumn.
$column_idA string id to use for this column. This string can be used afterwards to show, hide or highlight the column.
$titleA string that will be used in the header row as the title for this column (optional).
$orderThe order of this column (optional, defaults to null). Usually you won't need this. The default order is the order in which the columns are added to the grid.
$visibleInitial visibility for this column (optional). Usually you won't need this, but it can be useful if you're using the same grid renderer for different views on the same type of data.
add_cell_renderer($cell_renderer) ¶Add a cell renderer to this column.
cell_renderer($cell_renderer_id=null) ¶Return the specified cell renderer.
If no name is given, the first cell renderer instance is returned.
$cell_renderer_idName of the cell renderer (optional).
A AnewtGridCellRenderer instance
cell_renderers() ¶Return all AnewtGridCellRenderer instances associated with this column.
_n_cell_renderers() [private] ¶Returns the number of cell renderers in this column.
$_cell_renderers [private] ¶list of cell renderers
AnewtContainer::_to_array()AnewtContainer::_add()AnewtContainer::delete()AnewtContainer::get()AnewtContainer::_isset()AnewtContainer::_seed()AnewtContainer::setdefault()AnewtContainer::getdefault()AnewtContainer::set()AnewtContainer::__isset()AnewtContainer::__set()AnewtContainer::__construct()AnewtContainer::is_set()AnewtContainer::add()AnewtContainer::_getdefault()AnewtContainer::__unset()AnewtContainer::seed()AnewtContainer::to_array()AnewtContainer::_get()AnewtContainer::__get()AnewtContainer::keys()AnewtContainer::clear()AnewtContainer::_keys()AnewtContainer::_set()