Documentation

Skin_Default_Admin_Form_Controller extends Admin_Form_Controller
in package

Admin forms.

Tags
subpackage

Skin

version
7.x
author

Hostmake LLC

copyright

© 2005-2022 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru

Table of Contents

$filterSettings  : mixed
filter settings
$request  : array<string|int, mixed>
Data set from _REQUEST
$_actionHandlers  : array<string|int, mixed>
List of handlers' actions
$_Admin_Form  : Admin_Form
Admin form
$_Admin_Form_Fields  : array<string|int, mixed>|null
Admin_Form_Fields of Admin_Form
$_Admin_Language  : object
Current language in administrator's center
$_allowedProperties  : array<string|int, mixed>
Allowed object properties
$_children  : array<string|int, mixed>
List of children entities
$_content  : string
Content
$_datasets  : array<string|int, mixed>
Dataset array
$_externalReplace  : array<string|int, mixed>
List of external replaces
$_filterCallbacks  : array<string|int, mixed>
List of filter handlers
$_filters  : array<string|int, mixed>
List of filter handlers
$_icon  : array<string|int, mixed>
48 icons
$_message  : string
Message text
$_oAdmin_Form_Setting  : Admin_Form_Setting_Model|null
Admin_Form_Setting
$_onPage  : array<string|int, mixed>
Count of elements on page
$_pageNavigationDelta  : mixed
$_path  : string
Path
$_propertiesValues  : array<string|int, mixed>
Properties values
$_showFilter  : bool
Is showing filter necessary
$_skin  : bool
Use skin
$_totalCount  : int
Total founded items
$_unlimitedProperties  : bool
Object has unlimited number of properties
__construct()  : mixed
Constructor.
action()  : self
Set action
addAction()  : mixed
Добавление обработчика действия
addAdditionalParam()  : self
Add additional param
addAllowedProperties()  : self
Add additional allowed properties
addAllowedProperty()  : self
Add additional allowed property
addContent()  : self
Add content for Back-end form
addDataset()  : self
Add dataset
addEntity()  : self
Add entity
addExternalReplace()  : self
Add external replacement Добавление внешней подстановки
addFilter()  : self
Add handler of the filter Добавление обработчика фильтра
addFilterCallback()  : self
Добавление функции обратного вызова, используемой для корректировки переданного значения
addMessage()  : self
Add message for Back-end form
addView()  : self
Add view
ajax()  : self
Set AJAX
applyEditable()  : self
Edit-in-Place in Back-end
applyFormat()  : mixed
Применяет формат отображения $format к строке $str.
bottomActions()  : self
Show action panel in administration center
changeAction()  : object
Apply external changes for actions
changeField()  : object
Apply external changes for fields
clearChecked()  : self
Clear checked items on the form
clearMessages()  : self
Clear messages for Back-end form
convertLike()  : string
Convert %LIKE%
create()  : object
Create new form controller
current()  : self
Set current page
deleteAdminFormFieldById()  : self
Delete Admin_Form_Field by ID
doReplaces()  : string
Apply external replaces in $subject
execute()  : mixed
Executes the business logic.
filterId()  : self
Set filterId
filterSettings()  : self
Set filter settings
formSettings()  : self
Apply form settings
getAction()  : string
Get action
getAdminActionLoadAjax()  : string
Backend callback method
getAdminActionLoadHref()  : string
Backend callback method
getAdminActionModalLoad()  : string
Backend callback method
getAdminForm()  : Admin_Form_Model
Get Admin_Form
getAdminFormFieldById()  : object|null
Get Admin_Form_Field by ID
getAdminFormFieldByName()  : object|null
Get Admin_Form_Field by Name
getAdminFormFields()  : array<string|int, mixed>
Get Admin_Form_Fields
getAdminLanguage()  : Admin_Language_Model|null
Get current Admin_Language
getAdminLoadAjax()  : string
Получение кода вызова adminLoad для события onclick
getAdminLoadHref()  : string
Получение кода вызова adminLoad для href
getAdminSendForm()  : string
Получение кода вызова adminLoad для события onclick
getAjax()  : bool
Get AJAX
getBackgroundColorClass()  : string
Get background color class for object ID
getChecked()  : array<string|int, mixed>
Get checked items on the form
getChildren()  : array<string|int, mixed>
Get Children
getContent()  : string
Get content message
getCurrent()  : int
Get current page
getDataset()  : Admin_Form_Dataset|null
Get dataset
getDatasets()  : array<string|int, mixed>
Get datasets
getExternalReplace()  : array<string|int, mixed>
Get external replacement
getFieldName()  : string
Get field name, cut table name. E.g. table.field => field
getFilterJson()  : array<string|int, mixed>
Get filter json
getFilterSettings()  : mixed
getIcon()  : string
Get Icon for object ID
getMessage()  : string
Get form message
getModalLoad()  : string
Получение кода вызова modalLoad для события onclick
getModule()  : object
Get module
getOperation()  : string
Get operation
getPageTitle()  : string
Get page <title>
getPath()  : string
Get path
getSortingField()  : Admin_Form_Field_Model
Get sorting field
getTotalCount()  : int
Get count of total founded items
getWindowId()  : int
Get window ID
isCallable()  : bool
Check is callable method
jQueryEscape()  : string
Escape jQuery selectors
limit()  : self
Set limit of elements on page
loadAdminFormFields()  : self
Load Admin_Form_Fields
module()  : self
Set module
operation()  : self
Set operation
pageNavigation()  : self
Показ строки ссылок
pageTitle()  : self
Set page <title>
path()  : self
Set path
perform()  : mixed
prepareString()  : string
Prepare string
set()  : self
Run when writing data to inaccessible properties
setAdditionalParam()  : self
Set additional param
setAdminFormFields()  : self
Set Admin_Form_Fields
setDatasetConditions()  : self
Set dataset conditions
setDatasetLimits()  : self
Set dataset limits
setTotalCount()  : self
Set count of total founded items
setUnlimitedProperties()  : self
Set unlimitedProperties
setUp()  : self
Form setup
show()  : mixed
Show built data
showContent()  : self
Show form content in administration center
showFilterField()  : mixed
Отображает поле фильтра (верхнего или основного)
showFooter()  : mixed
Show form footer
showSettings()  : mixed
skin()  : self
Show skin
sortingDirection()  : self
Set sorting direction
sortingFieldId()  : self
Set sorting field by ID
title()  : self
Set <h1> for form
view()  : self
Set view
window()  : self
Set window ID
_filterCallbackCheckbox()  : mixed
Filter checkbox callback
_filterCallbackCounterparty()  : mixed
Filter counterparty callback
_filterCallbackDate()  : mixed
Date-filed (from-to)
_filterCallbackDateSingle()  : mixed
Date-filed (single-mode)
_filterCallbackDatetime()  : mixed
Datetime-filed (from-to)
_filterCallbackInput()  : mixed
Filter input callback
_filterCallbackSelect()  : mixed
Select-filed
_filterCallbackSiteuser()  : mixed
Filter siteuser callback
_filterCallbackUser()  : mixed
Filter user callback
_pageSelector()  : mixed
Show items count selector
_prepareAjaxRequest()  : array<string|int, mixed>
Подготовка массива опций для AJAX-запроса
_printRow()  : self
Print array

Properties

$filterSettings

filter settings

public mixed $filterSettings = array()

$request

Data set from _REQUEST

public array<string|int, mixed> $request = array()

$_actionHandlers

List of handlers' actions

protected array<string|int, mixed> $_actionHandlers = array()

$_Admin_Form

Admin form

protected Admin_Form $_Admin_Form = \NULL

$_Admin_Form_Fields

Admin_Form_Fields of Admin_Form

protected array<string|int, mixed>|null $_Admin_Form_Fields = \NULL

$_Admin_Language

Current language in administrator's center

protected object $_Admin_Language = \NULL

$_allowedProperties

Allowed object properties

protected array<string|int, mixed> $_allowedProperties = array()

$_children

List of children entities

protected array<string|int, mixed> $_children = array()

$_content

Content

protected string $_content = \NULL

$_datasets

Dataset array

protected array<string|int, mixed> $_datasets = array()

$_externalReplace

List of external replaces

protected array<string|int, mixed> $_externalReplace = array()

$_filterCallbacks

List of filter handlers

protected array<string|int, mixed> $_filterCallbacks = array()

$_filters

List of filter handlers

protected array<string|int, mixed> $_filters = array()

$_icon

48 icons

protected static array<string|int, mixed> $_icon = array('fa fa-address-book', 'fa fa-address-card', 'fa fa-barcode', 'fa fa-bars', 'fa fa-beer', 'fa fa-bell', 'fa fa-bicycle', 'fa fa-binoculars', 'fa fa-birthday-cake', 'fa fa-bolt', 'fa fa-book', 'fa fa-bookmark', 'fa fa-briefcase', 'fa fa-bullseye', 'fa fa-camera', 'fa fa-car', 'fa fa-certificate', 'fa fa-cloud', 'fa fa-code', 'fa fa-coffee', 'fa fa-cube', 'fa fa-dashboard', 'fa fa-database', 'fa fa-dot-circle-o', 'fa fa-flask', 'fa fa-futbol-o', 'fa fa-gift', 'fa fa-glass', 'fa fa-heart', 'fa fa-hourglass', 'fa fa-leaf', 'fa fa-location-arrow', 'fa fa-magic', 'fa fa-magnet', 'fa fa-paper-plane', 'fa fa-paw', 'fa fa-plane', 'fa fa-plug', 'fa fa-road', 'fa fa-rocket', 'fa fa-smile-o', 'fa fa-snowflake-o', 'fa fa-space-shuttle', 'fa fa-star', 'fa fa-thumbs-up', 'fa fa-tree', 'fa fa-trophy', 'fa fa-wrench')

$_message

Message text

protected string $_message = \NULL

$_onPage

Count of elements on page

protected array<string|int, mixed> $_onPage = array(10 => 10, 20 => 20, 30 => 30, 50 => 50, 100 => 100, 500 => 500, 1000 => 1000)

$_pageNavigationDelta

protected mixed $_pageNavigationDelta = 5

$_propertiesValues

Properties values

protected array<string|int, mixed> $_propertiesValues = array()

$_showFilter

Is showing filter necessary

protected bool $_showFilter = \FALSE

$_totalCount

Total founded items

protected int $_totalCount = \NULL

$_unlimitedProperties

Object has unlimited number of properties

protected bool $_unlimitedProperties = \FALSE

Methods

__construct()

Constructor.

public __construct() : mixed
Return values
mixed

action()

Set action

public action(string $action) : self
Parameters
$action : string
Return values
self

addAdditionalParam()

Add additional param

public addAdditionalParam(string $key, string $value) : self
Parameters
$key : string

param name

$value : string

param value

Return values
self

addAllowedProperties()

Add additional allowed properties

public addAllowedProperties(array<string|int, mixed> $array) : self
Parameters
$array : array<string|int, mixed>

array of properties' names

Return values
self

addAllowedProperty()

Add additional allowed property

public addAllowedProperty(string $property) : self
Parameters
$property : string

property name

Return values
self

addContent()

Add content for Back-end form

public addContent(string $content) : self
Parameters
$content : string

content

Return values
self

addDataset()

Add dataset

public addDataset(Admin_Form_Dataset $oAdmin_Form_Dataset) : self
Parameters
$oAdmin_Form_Dataset : Admin_Form_Dataset

dataset

Tags
hostcms-event

Admin_Form_Controller.onBeforeAddDataset

Return values
self

addEntity()

Add entity

public addEntity(Admin_Form_Entity $oAdmin_Form_Entity) : self
Parameters
$oAdmin_Form_Entity : Admin_Form_Entity
Tags
hostcms-event

Admin_Form_Controller.onBeforeAddEntity

Return values
self

addExternalReplace()

Add external replacement Добавление внешней подстановки

public addExternalReplace(string $key, string $value) : self
Parameters
$key : string

name of replacement

$value : string

value of replacement

Return values
self

addFilter()

Add handler of the filter Добавление обработчика фильтра

public addFilter(string $fieldName, string $function) : self
Parameters
$fieldName : string

field name

$function : string

function name

Return values
self

addFilterCallback()

Добавление функции обратного вызова, используемой для корректировки переданного значения

public addFilterCallback(string $fieldName, string $function) : self
Parameters
$fieldName : string

field name

$function : string

function name

Return values
self

addMessage()

Add message for Back-end form

public addMessage(string $message) : self
Parameters
$message : string

message

Return values
self

addView()

Add view

public addView(string $name[, string $className = NULL ]) : self
Parameters
$name : string
$className : string = NULL
Return values
self

ajax()

Set AJAX

public ajax(bool $ajax) : self
Parameters
$ajax : bool

ajax

Return values
self

applyEditable()

Edit-in-Place in Back-end

public applyEditable() : self
Return values
self

applyFormat()

Применяет формат отображения $format к строке $str.

public applyFormat(string $str, string $format) : mixed

Если формат является пустой строкой - $str возвращается в исходном виде.

Parameters
$str : string

исходная строка

$format : string

форма отображения. Строка формата состоит из директив: обычных символов (за исключением %), которые копируются в результирующую строку, и описатели преобразований, каждый из которых заменяется на один из параметров.

Return values
mixed

bottomActions()

Show action panel in administration center

public bottomActions() : self
Return values
self

changeAction()

Apply external changes for actions

public changeAction(Admin_Form_Dataset $oAdmin_Form_Dataset, Admin_Form_Action $oAdmin_Form_Action) : object
Parameters
$oAdmin_Form_Dataset : Admin_Form_Dataset

dataset

$oAdmin_Form_Action : Admin_Form_Action

actions

Return values
object

changeField()

Apply external changes for fields

public changeField(Admin_Form_Dataset $oAdmin_Form_Dataset, Admin_Form_Field $oAdmin_Form_Field) : object
Parameters
$oAdmin_Form_Dataset : Admin_Form_Dataset

dataset

$oAdmin_Form_Field : Admin_Form_Field

field

Return values
object

clearChecked()

Clear checked items on the form

public clearChecked() : self
Return values
self

clearMessages()

Clear messages for Back-end form

public clearMessages() : self
Return values
self

convertLike()

Convert %LIKE%

public convertLike(string $str) : string
Parameters
$str : string
Return values
string

current()

Set current page

public current(int $current) : self
Parameters
$current : int

page

Return values
self

deleteAdminFormFieldById()

Delete Admin_Form_Field by ID

public deleteAdminFormFieldById(mixed $id) : self
Parameters
$id : mixed
Return values
self

doReplaces()

Apply external replaces in $subject

public doReplaces(array<string|int, mixed> $aAdmin_Form_Fields, Core_Entity $oEntity, string $subject[, string $mode = 'link' ]) : string
Parameters
$aAdmin_Form_Fields : array<string|int, mixed>

Admin_Form_Fields

$oEntity : Core_Entity

entity

$subject : string
$mode : string = 'link'

link|onclick

Return values
string

execute()

Executes the business logic.

public execute() : mixed
Tags
hostcms-event

Admin_Form_Controller.onBeforeExecute

hostcms-event

Admin_Form_Controller.onAfterExecute

Return values
mixed

filterId()

Set filterId

public filterId(string $filterId) : self
Parameters
$filterId : string
Return values
self

filterSettings()

Set filter settings

public filterSettings(array<string|int, mixed> $filterSettings) : self
Parameters
$filterSettings : array<string|int, mixed>
Return values
self

formSettings()

Apply form settings

public formSettings() : self
Return values
self

getAction()

Get action

public getAction() : string
Return values
string

getAdminActionLoadAjax()

Backend callback method

public getAdminActionLoadAjax(array<string|int, mixed> $options) : string
Parameters
$options : array<string|int, mixed>

array('path', 'action', 'operation', 'datasetKey', 'datasetValue', 'additionalParams', 'limit', 'current', 'sortingFieldId', 'sortingDirection', 'view', 'window')

Return values
string

getAdminActionLoadHref()

Backend callback method

public getAdminActionLoadHref(array<string|int, mixed> $options) : string
Parameters
$options : array<string|int, mixed>

array('path', 'action', 'operation', 'datasetKey', 'datasetValue', 'additionalParams', 'limit', 'current', 'sortingFieldId', 'sortingDirection', 'view', 'window')

Return values
string

getAdminActionModalLoad()

Backend callback method

public getAdminActionModalLoad(array<string|int, mixed> $options) : string
Parameters
$options : array<string|int, mixed>

array('path', 'action', 'operation', 'datasetKey', 'datasetValue', 'additionalParams', 'limit', 'current', 'sortingFieldId', 'sortingDirection', 'view', 'window')

Return values
string

getAdminFormFieldById()

Get Admin_Form_Field by ID

public getAdminFormFieldById(mixed $id) : object|null
Parameters
$id : mixed
Return values
object|null

getAdminFormFieldByName()

Get Admin_Form_Field by Name

public getAdminFormFieldByName(mixed $name) : object|null
Parameters
$name : mixed
Return values
object|null

getAdminFormFields()

Get Admin_Form_Fields

public getAdminFormFields() : array<string|int, mixed>
Return values
array<string|int, mixed>

getAdminLoadAjax()

Получение кода вызова adminLoad для события onclick

public getAdminLoadAjax(array<string|int, mixed> $options) : string
Parameters
$options : array<string|int, mixed>

array('path', 'action', 'operation', 'additionalParams', 'limit', 'current', 'sortingFieldId', 'sortingDirection', 'view', 'window')

Return values
string

getAdminLoadHref()

Получение кода вызова adminLoad для href

public getAdminLoadHref(array<string|int, mixed> $options) : string
Parameters
$options : array<string|int, mixed>

array('action', 'operation', 'additionalParams', 'limit', 'current', 'sortingFieldId', 'sortingDirection', 'view', 'window')

Return values
string

getAdminSendForm()

Получение кода вызова adminLoad для события onclick

public getAdminSendForm(array<string|int, mixed> $options) : string
Parameters
$options : array<string|int, mixed>
Return values
string

getAjax()

Get AJAX

public getAjax() : bool
Return values
bool

getBackgroundColorClass()

Get background color class for object ID

public static getBackgroundColorClass(int $id) : string
Parameters
$id : int

object ID

Return values
string

getChecked()

Get checked items on the form

public getChecked() : array<string|int, mixed>
Return values
array<string|int, mixed>

getChildren()

Get Children

public getChildren() : array<string|int, mixed>
Return values
array<string|int, mixed>

getContent()

Get content message

public getContent() : string
Return values
string

getCurrent()

Get current page

public getCurrent() : int
Return values
int

getDatasets()

Get datasets

public getDatasets() : array<string|int, mixed>
Return values
array<string|int, mixed>

getExternalReplace()

Get external replacement

public getExternalReplace() : array<string|int, mixed>
Return values
array<string|int, mixed>

getFieldName()

Get field name, cut table name. E.g. table.field => field

public getFieldName(string $fieldName) : string
Parameters
$fieldName : string
Return values
string

getFilterJson()

Get filter json

public getFilterJson() : array<string|int, mixed>
Return values
array<string|int, mixed>

getFilterSettings()

public getFilterSettings() : mixed
Return values
mixed

getIcon()

Get Icon for object ID

public static getIcon(int $id) : string
Parameters
$id : int

object ID

Return values
string

getMessage()

Get form message

public getMessage() : string
Return values
string

getModalLoad()

Получение кода вызова modalLoad для события onclick

public getModalLoad(array<string|int, mixed> $options) : string
Parameters
$options : array<string|int, mixed>

array('path', 'action', 'operation', 'additionalParams', 'limit', 'current', 'sortingFieldId', 'sortingDirection', 'view', 'window', 'onHide')

Return values
string

getModule()

Get module

public getModule() : object
Return values
object

getOperation()

Get operation

public getOperation() : string
Return values
string

getPageTitle()

Get page <title>

public getPageTitle() : string
Return values
string

getPath()

Get path

public getPath() : string
Return values
string

getTotalCount()

Get count of total founded items

public getTotalCount() : int
Return values
int

getWindowId()

Get window ID

public getWindowId() : int
Return values
int

isCallable()

Check is callable method

public isCallable(object $oEntity, string $fieldName) : bool
Parameters
$oEntity : object
$fieldName : string
Return values
bool

jQueryEscape()

Escape jQuery selectors

public jQueryEscape(string $str) : string
Parameters
$str : string

string

Return values
string

limit()

Set limit of elements on page

public limit(int $limit) : self
Parameters
$limit : int

count

Return values
self

loadAdminFormFields()

Load Admin_Form_Fields

public loadAdminFormFields() : self
Return values
self

operation()

Set operation

public operation(string $operation) : self
Parameters
$operation : string
Return values
self

pageNavigation()

Показ строки ссылок

public pageNavigation() : self
Return values
self

pageTitle()

Set page <title>

public pageTitle( $pageTitle) : self
Parameters
$pageTitle :

title

Return values
self

path()

Set path

public path(string $path) : self
Parameters
$path : string

path

Return values
self

perform()

public perform() : mixed
Tags
hostcms-event

Admin_Form_Controller.onBeforeShowContent

hostcms-event

Admin_Form_Controller.onAfterShowContent

Return values
mixed

prepareString()

Prepare string

public prepareString(string $string) : string
Parameters
$string : string
Return values
string

set()

Run when writing data to inaccessible properties

public set(string $property, string $value) : self
Parameters
$property : string

property name

$value : string

property value

Return values
self

setAdditionalParam()

Set additional param

public setAdditionalParam(mixed $value) : self
Parameters
$value : mixed
Return values
self

setAdminFormFields()

Set Admin_Form_Fields

public setAdminFormFields(array<string|int, mixed> $aAdmin_Form_Fields) : self
Parameters
$aAdmin_Form_Fields : array<string|int, mixed>
Return values
self

setDatasetConditions()

Set dataset conditions

public setDatasetConditions() : self
Return values
self

setDatasetLimits()

Set dataset limits

public setDatasetLimits() : self
Return values
self

setTotalCount()

Set count of total founded items

public setTotalCount(int $count) : self
Parameters
$count : int

Total countt

Return values
self

setUnlimitedProperties()

Set unlimitedProperties

public setUnlimitedProperties([bool $value = TRUE ]) : self
Parameters
$value : bool = TRUE

default TRUR

Return values
self

setUp()

Form setup

public setUp() : self
Return values
self

show()

Show built data

public show() : mixed
Return values
mixed

showContent()

Show form content in administration center

public showContent() : self
Return values
self

showFilterField()

Отображает поле фильтра (верхнего или основного)

public showFilterField(mixed $oAdmin_Form_Field, mixed $filterPrefix[, mixed $tabName = NULL ]) : mixed
Parameters
$oAdmin_Form_Field : mixed
$filterPrefix : mixed
$tabName : mixed = NULL
Return values
mixed

showFooter()

Show form footer

public showFooter() : mixed
Return values
mixed

showSettings()

public showSettings() : mixed
Return values
mixed

skin()

Show skin

public skin(bool $skin) : self
Parameters
$skin : bool

use skin mode

Return values
self

sortingDirection()

Set sorting direction

public sortingDirection(int $sortingDirection) : self
Parameters
$sortingDirection : int

direction

Return values
self

sortingFieldId()

Set sorting field by ID

public sortingFieldId(int $sortingFieldId) : self
Parameters
$sortingFieldId : int

field ID

Return values
self

title()

Set <h1> for form

public title(string $title) : self
Parameters
$title : string

content

Return values
self

view()

Set view

public view(string $view) : self
Parameters
$view : string
Return values
self

window()

Set window ID

public window(string $windowId) : self
Parameters
$windowId : string
Return values
self

_filterCallbackCheckbox()

Filter checkbox callback

protected _filterCallbackCheckbox(mixed $value, mixed $oAdmin_Form_Field, mixed $filterPrefix, mixed $tabName) : mixed
Parameters
$value : mixed
$oAdmin_Form_Field : mixed
$filterPrefix : mixed
$tabName : mixed
Return values
mixed

_filterCallbackCounterparty()

Filter counterparty callback

protected _filterCallbackCounterparty(string $value, Admin_Form_Field_Model $oAdmin_Form_Field, string $filterPrefix, string $tabName) : mixed
Parameters
$value : string
$oAdmin_Form_Field : Admin_Form_Field_Model
$filterPrefix : string
$tabName : string
Return values
mixed

_filterCallbackDate()

Date-filed (from-to)

protected _filterCallbackDate(mixed $date_from, mixed $date_to, mixed $oAdmin_Form_Field, mixed $filterPrefix, mixed $tabName) : mixed
Parameters
$date_from : mixed
$date_to : mixed
$oAdmin_Form_Field : mixed
$filterPrefix : mixed
$tabName : mixed
Return values
mixed

_filterCallbackDateSingle()

Date-filed (single-mode)

protected _filterCallbackDateSingle(mixed $date_from, mixed $date_to, mixed $oAdmin_Form_Field, mixed $filterPrefix, mixed $tabName) : mixed
Parameters
$date_from : mixed
$date_to : mixed
$oAdmin_Form_Field : mixed
$filterPrefix : mixed
$tabName : mixed
Return values
mixed

_filterCallbackDatetime()

Datetime-filed (from-to)

protected _filterCallbackDatetime(mixed $date_from, mixed $date_to, mixed $oAdmin_Form_Field, mixed $filterPrefix, mixed $tabName) : mixed
Parameters
$date_from : mixed
$date_to : mixed
$oAdmin_Form_Field : mixed
$filterPrefix : mixed
$tabName : mixed
Return values
mixed

_filterCallbackInput()

Filter input callback

protected _filterCallbackInput(mixed $value, mixed $oAdmin_Form_Field, mixed $filterPrefix, mixed $tabName) : mixed
Parameters
$value : mixed
$oAdmin_Form_Field : mixed
$filterPrefix : mixed
$tabName : mixed
Return values
mixed

_filterCallbackSelect()

Select-filed

protected _filterCallbackSelect(mixed $value, mixed $oAdmin_Form_Field, mixed $filterPrefix, mixed $tabName) : mixed
Parameters
$value : mixed
$oAdmin_Form_Field : mixed
$filterPrefix : mixed
$tabName : mixed
Return values
mixed

_filterCallbackSiteuser()

Filter siteuser callback

protected _filterCallbackSiteuser(string $value, Admin_Form_Field_Model $oAdmin_Form_Field, string $filterPrefix, string $tabName) : mixed
Parameters
$value : string
$oAdmin_Form_Field : Admin_Form_Field_Model
$filterPrefix : string
$tabName : string
Return values
mixed

_filterCallbackUser()

Filter user callback

protected _filterCallbackUser(string $value, Admin_Form_Field_Model $oAdmin_Form_Field, string $filterPrefix, string $tabName) : mixed
Parameters
$value : string
$oAdmin_Form_Field : Admin_Form_Field_Model
$filterPrefix : string
$tabName : string
Return values
mixed

_pageSelector()

Show items count selector

protected _pageSelector() : mixed
Return values
mixed

_prepareAjaxRequest()

Подготовка массива опций для AJAX-запроса

protected _prepareAjaxRequest(array<string|int, mixed> $options) : array<string|int, mixed>
Parameters
$options : array<string|int, mixed>

array('action', 'operation', 'additionalParams', 'limit', 'current', 'sortingFieldId', 'sortingDirection', 'view', 'window')

Return values
array<string|int, mixed>

_printRow()

Print array

protected _printRow(array<string|int, mixed> $aData) : self
Parameters
$aData : array<string|int, mixed>
Return values
self

Search results