PHP 클래스 Action_Helper_Datatable

상속: extends Zend_Controller_Action_Helper_Abstract
파일 보기 프로젝트 열기: sourcefabric/newscoop

공개 메소드들

메소드 설명
dispatch ( ) : void Dispatch table
init ( ) : Action_Helper_Datatable
setBody ( string $p_columnProperty, array $p_values = [] ) : Action_Helper_Datatable Set body properties
setClasses ( array $p_values = [] ) : Action_Helper_Datatable Set header style classes
setCols ( array $cols, array $sorting = [] ) : Action_Helper_Datatable Set table columns
setDataProp ( array $p_values = [] ) : Action_Helper_Datatable Set custom widths
setDataSource ( Newscoop\Datatable\ISource $p_dataSource ) : Action_Helper_Datatable Set Datasource
setEntity ( $p_entity ) : Action_Helper_Datatable Set entity
setHandle ( Closure $handle ) : Action_Helper_Datatable Set handle
setHeader ( string $p_columnProperty, array $p_values = [] ) : Action_Helper_Datatable Set header properties
setInitialSorting ( array $initial_sort = [] ) : Action_Helper_Datatable Set initial sorting columns (aaSorting)
setOption ( string $p_key, mixed $p_value ) : Action_Helper_Datatable Setter for options
setSearchable ( array $searchable = [] ) : Action_Helper_Datatable Set searchable columns (bSearchable_col#)
setSorting ( array $p_sorting = [] ) : Action_Helper_Datatable Set sorting columns
setStripClasses ( array $p_value = [] ) : Action_Helper_Datatable Set strip classes to use when rendering the table Usefull for odd and even class
setVisible ( array $p_values = [] ) : Action_Helper_Datatable Set visibility
setWidths ( array | boolean $p_widths = false ) : Action_Helper_Datatable Set custom widths
toggleAutomaticWidth ( boolean $p_state = null ) : Action_Helper_Datatable Toggle automatic width

비공개 메소드들

메소드 설명
buildColumnDefs ( )

메소드 상세

dispatch() 공개 메소드

Dispatch table
public dispatch ( ) : void
리턴 void

init() 공개 메소드

public init ( ) : Action_Helper_Datatable
리턴 Action_Helper_Datatable

setBody() 공개 메소드

Set body properties
public setBody ( string $p_columnProperty, array $p_values = [] ) : Action_Helper_Datatable
$p_columnProperty string
$p_values array
리턴 Action_Helper_Datatable

setClasses() 공개 메소드

Set header style classes
public setClasses ( array $p_values = [] ) : Action_Helper_Datatable
$p_values array
리턴 Action_Helper_Datatable

setCols() 공개 메소드

Set table columns
public setCols ( array $cols, array $sorting = [] ) : Action_Helper_Datatable
$cols array
$sorting array
리턴 Action_Helper_Datatable

setDataProp() 공개 메소드

Set custom widths
public setDataProp ( array $p_values = [] ) : Action_Helper_Datatable
$p_values array
리턴 Action_Helper_Datatable

setDataSource() 공개 메소드

Set Datasource
public setDataSource ( Newscoop\Datatable\ISource $p_dataSource ) : Action_Helper_Datatable
$p_dataSource Newscoop\Datatable\ISource
리턴 Action_Helper_Datatable

setEntity() 공개 메소드

Set entity
public setEntity ( $p_entity ) : Action_Helper_Datatable
리턴 Action_Helper_Datatable

setHandle() 공개 메소드

Set handle
public setHandle ( Closure $handle ) : Action_Helper_Datatable
$handle Closure
리턴 Action_Helper_Datatable

setHeader() 공개 메소드

Set header properties
public setHeader ( string $p_columnProperty, array $p_values = [] ) : Action_Helper_Datatable
$p_columnProperty string
$p_values array
리턴 Action_Helper_Datatable

setInitialSorting() 공개 메소드

Set initial sorting columns (aaSorting)
public setInitialSorting ( array $initial_sort = [] ) : Action_Helper_Datatable
$initial_sort array
리턴 Action_Helper_Datatable

setOption() 공개 메소드

Setter for options
public setOption ( string $p_key, mixed $p_value ) : Action_Helper_Datatable
$p_key string
$p_value mixed
리턴 Action_Helper_Datatable

setSearchable() 공개 메소드

Set searchable columns (bSearchable_col#)
public setSearchable ( array $searchable = [] ) : Action_Helper_Datatable
$searchable array
리턴 Action_Helper_Datatable

setSorting() 공개 메소드

Set sorting columns
public setSorting ( array $p_sorting = [] ) : Action_Helper_Datatable
$p_sorting array
리턴 Action_Helper_Datatable

setStripClasses() 공개 메소드

Set strip classes to use when rendering the table Usefull for odd and even class
public setStripClasses ( array $p_value = [] ) : Action_Helper_Datatable
$p_value array
리턴 Action_Helper_Datatable

setVisible() 공개 메소드

Set visibility
public setVisible ( array $p_values = [] ) : Action_Helper_Datatable
$p_values array
리턴 Action_Helper_Datatable

setWidths() 공개 메소드

Set custom widths
public setWidths ( array | boolean $p_widths = false ) : Action_Helper_Datatable
$p_widths array | boolean
리턴 Action_Helper_Datatable

toggleAutomaticWidth() 공개 메소드

Toggle automatic width
public toggleAutomaticWidth ( boolean $p_state = null ) : Action_Helper_Datatable
$p_state boolean null
리턴 Action_Helper_Datatable