PHP Class yupe\widgets\CustomGridView

Inheritance: extends TbExtendedGridView
Show file Open project: yupe/yupe Class Usage Examples

Public Properties

Property Type Description
$actionsButtons boolean
$activeStatus
$ajaxUrl
$datePickers array
$enableHistory boolean
$headlinePosition string Value of headlinePosition:
$hideBulkActions Скрывать строку с кнопками
$inActiveStatus
$pageSizeVarName A name for query parameter, that stores page size specified by web-user.
$pageSizes Page sizes available to set for web-user.
$pagerCssClass string
$selectableRows integer
$showStatusText
$sortField string Field for sorting:
$sorter boolean
$template string

Protected Properties

Property Type Description
$_pageSizesEnabled Whether rendering of page size selector at headline section is available and enabled.

Public Methods

Method Description
init ( ) : void Widget initialization
registerCustomClientScript ( )
reinstallDatePickers ( )
renderBulkActions ( )
renderHeadline ( ) : void Headline rendering method
renderMultiaction ( ) : nothing Function for rendering multiaction:
renderSorter ( ) : string
renderTableFooter ( )
renderTableHeader ( )

Protected Methods

Method Description
_updatePageSize ( ) : void Обновление размера страницы
initPageSizes ( ) : void Sets "pageSize" parameter at instance of CPagination which belongs to data provider.

Method Details

_updatePageSize() protected method

Обновление размера страницы
protected _updatePageSize ( ) : void
return void

init() public method

Widget initialization
public init ( ) : void
return void

initPageSizes() protected method

The value to set or specified by the web-user or taken from the session, where it is being stored when user specifies it.
protected initPageSizes ( ) : void
return void

registerCustomClientScript() public method

reinstallDatePickers() public method

renderBulkActions() public method

public renderBulkActions ( )

renderHeadline() public method

Headline rendering method
public renderHeadline ( ) : void
return void

renderMultiaction() public method

JS function variables: status - type of action: 1 - delete -------------------
public renderMultiaction ( ) : nothing
return nothing

renderSorter() public method

public renderSorter ( ) : string
return string

renderTableFooter() public method

public renderTableFooter ( )

renderTableHeader() public method

public renderTableHeader ( )

Property Details

$_pageSizesEnabled protected property

Whether rendering of page size selector at headline section is available and enabled.
protected $_pageSizesEnabled

$actionsButtons public property

public bool $actionsButtons
return boolean

$activeStatus public property

public $activeStatus

$ajaxUrl public property

public $ajaxUrl

$datePickers public property

public array $datePickers
return array

$enableHistory public property

public bool $enableHistory
return boolean

$headlinePosition public property

Value of headlinePosition:
public string $headlinePosition
return string

$hideBulkActions public property

Скрывать строку с кнопками
public $hideBulkActions

$inActiveStatus public property

public $inActiveStatus

$pageSizeVarName public property

A name for query parameter, that stores page size specified by web-user.
public $pageSizeVarName

$pageSizes public property

Page sizes available to set for web-user.
public $pageSizes

$pagerCssClass public property

public string $pagerCssClass
return string

$selectableRows public property

public int $selectableRows
return integer

$showStatusText public property

public $showStatusText

$sortField public property

Field for sorting:
public string $sortField
return string

$sorter public property

public bool $sorter
return boolean

$template public property

public string $template
return string