Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс GridComponent
+ Граф наследования:GridComponent:

Открытые члены

 executeComponent ()
 

Защищенные члены

 getRawRows (array $params)
 
 getFilter ()
 
 getTotalCount ()
 
 getGridProvider ()
 
 getGridOptions ()
 
 init ()
 
 initRows ()
 
 prepareRow (array $row)
 
 initResult ()
 
 initToolbar ()
 
 checkReadPermissions ()
 
 getRowsFilter ()
 
 getAdditionalRowsFilter ()
 
 getRowsSelect ()
 
 getRowsSorting ()
 
 getRowsPagination ()
 
 getPageSizes ()
 
 processActionsGrid ()
 
 processActionGrid (string $actionName, HttpRequest $request)
 

Защищенные данные

PageNavigation $pagination
 

Подробное описание

Base component for grid.

См. определение в файле gridcomponent.php строка 25

Методы

◆ checkReadPermissions()

checkReadPermissions ( )
protected

Checks read user permissions.

Возвращает
bool true - if user has access.

См. определение в файле gridcomponent.php строка 184

◆ executeComponent()

executeComponent ( )

@inheritDoc

См. определение в файле gridcomponent.php строка 153

◆ getAdditionalRowsFilter()

getAdditionalRowsFilter ( )
protected

См. определение в файле gridcomponent.php строка 220

◆ getFilter()

getFilter ( )
abstractprotected

Filter object.

Возвращает
Filter|null if grid without filter, return null.

◆ getGridOptions()

getGridOptions ( )
protected

Grid options.

Возвращает
Options

См. определение в файле gridcomponent.php строка 67

◆ getGridProvider()

getGridProvider ( )
abstractprotected

Grid provider.

Возвращает
BaseProvider

◆ getPageSizes()

getPageSizes ( )
protected

Available page sizes.

Возвращает
array

См. определение в файле gridcomponent.php строка 276

◆ getRawRows()

getRawRows ( array $params)
abstractprotected

Grid raw rows.

Аргументы
array$params
Возвращает
array|Iterator

◆ getRowsFilter()

getRowsFilter ( )
finalprotected

Filter for read rows.

Возвращает
array

См. определение в файле gridcomponent.php строка 194

◆ getRowsPagination()

getRowsPagination ( )
protected

Pagination for read rows.

Возвращает
PageNavigation|null

См. определение в файле gridcomponent.php строка 252

◆ getRowsSelect()

getRowsSelect ( )
protected

Selected fields for read rows.

Возвращает
array

См. определение в файле gridcomponent.php строка 230

◆ getRowsSorting()

getRowsSorting ( )
protected

Order for read rows.

Возвращает
array

См. определение в файле gridcomponent.php строка 242

◆ getTotalCount()

getTotalCount ( )
abstractprotected

Total count of rows (taking into account filter).

Возвращает
int

◆ init()

init ( )
protected

Init.

Runs before all operations.

Возвращает
void

См. определение в файле gridcomponent.php строка 81

◆ initResult()

initResult ( )
protected

Init component result.

Возвращает
void

См. определение в файле gridcomponent.php строка 136

◆ initRows()

initRows ( )
protected

Init grid rows.

Возвращает
void

См. определение в файле gridcomponent.php строка 90

◆ initToolbar()

initToolbar ( )
protected

Init page toolbar (grid filter and buttons).

Возвращает
void

См. определение в файле gridcomponent.php строка 146

◆ prepareRow()

prepareRow ( array $row)
protected

Preparing row.

Аргументы
array$row
Возвращает
array

См. определение в файле gridcomponent.php строка 126

◆ processActionGrid()

processActionGrid ( string $actionName,
HttpRequest $request )
protected

Processing grid action.

Аргументы
string$actionName
HttpRequest$request
Возвращает
Result|null

См. определение в файле gridcomponent.php строка 390

◆ processActionsGrid()

processActionsGrid ( )
protected

Processing the request and searching for grid actions to be called.

Возвращает
void

См. определение в файле gridcomponent.php строка 304

Данные класса

◆ $pagination

PageNavigation $pagination
protected

См. определение в файле gridcomponent.php строка 30