PHP Class Action_Helper_GenericDatatable

Inheritance: extends Newscoop\Controller\Action\Helper\Datatable\ADatatable
Mostrar archivo Open project: sourcefabric/newscoop

Public Properties

Property Type Description
$viewPath string Script used for rendering

Protected Properties

Property Type Description
$_hasDataMap boolean Inner flag for data mapping columns set/unset
$_outputObject Zend_View

Public Methods

Method Description
__toString ( )
buildColumnDefs ( ) N-a sti nimeni
dispatch ( $p_params = null, $p_cols = null, $p_options = null )
init ( Newscoop\Controller\Action\Helper\Datatable\Adapter\IAdapter $p_adapter = null ) : Action_Helper_GenericDatatable Init
setBody ( string $p_columnProperty, array $p_values = [] ) : Action_Helper_GenericDatatable Set body properties
setClasses ( array $p_values = [] ) : Action_Helper_GenericDatatable Set header style classes
setDataMap ( array $p_values = [] ) : Action_Helper_GenericDatatable Set data mapping
setHeader ( string $p_columnProperty, array $p_values = [] ) : Action_Helper_GenericDatatable Set header properties
setParams ( $p_params )
setSorting ( array $p_sorting = [] ) : Action_Helper_GenericDatatable Set sorting columns
setWidths ( array | boolean $p_widths = false ) : Action_Helper_GenericDatatable Set custom widths

Method Details

__toString() public method

public __toString ( )

buildColumnDefs() public method

N-a sti nimeni
public buildColumnDefs ( )

dispatch() public method

public dispatch ( $p_params = null, $p_cols = null, $p_options = null )

init() public method

Init
public init ( Newscoop\Controller\Action\Helper\Datatable\Adapter\IAdapter $p_adapter = null ) : Action_Helper_GenericDatatable
$p_adapter Newscoop\Controller\Action\Helper\Datatable\Adapter\IAdapter
return Action_Helper_GenericDatatable

setBody() public method

Set body properties
public setBody ( string $p_columnProperty, array $p_values = [] ) : Action_Helper_GenericDatatable
$p_columnProperty string
$p_values array
return Action_Helper_GenericDatatable

setClasses() public method

Set header style classes
public setClasses ( array $p_values = [] ) : Action_Helper_GenericDatatable
$p_values array
return Action_Helper_GenericDatatable

setDataMap() public method

Set data mapping
public setDataMap ( array $p_values = [] ) : Action_Helper_GenericDatatable
$p_values array
return Action_Helper_GenericDatatable

setHeader() public method

Set header properties
public setHeader ( string $p_columnProperty, array $p_values = [] ) : Action_Helper_GenericDatatable
$p_columnProperty string
$p_values array
return Action_Helper_GenericDatatable

setParams() public method

public setParams ( $p_params )

setSorting() public method

Set sorting columns
public setSorting ( array $p_sorting = [] ) : Action_Helper_GenericDatatable
$p_sorting array
return Action_Helper_GenericDatatable

setWidths() public method

Set custom widths
public setWidths ( array | boolean $p_widths = false ) : Action_Helper_GenericDatatable
$p_widths array | boolean
return Action_Helper_GenericDatatable

Property Details

$_hasDataMap protected_oe property

Inner flag for data mapping columns set/unset
protected bool $_hasDataMap
return boolean

$_outputObject protected_oe property

protected Zend_View $_outputObject
return Zend_View

$viewPath public_oe property

Script used for rendering
public string $viewPath
return string