Skin_Bootstrap_Admin_Form_Controller
extends Admin_Form_Controller
in package
Admin forms.
Tags
Table of Contents
Properties
- $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_Actions : array<string|int, mixed>|null
- Admin_Form_Actions of 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 : int
- Page navigation delta
- $_path : string
- Path
- $_propertiesValues : array<string|int, mixed>
- Properties values
- $_setDatasetConditions : bool
- setDatasetConditions() has been called
- $_skin : bool
- Use skin
- $_totalCount : int
- Total founded items
- $_unlimitedProperties : bool
- Object has unlimited number of properties
Methods
- __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.
- changeAction() : object
- Apply external changes for actions
- changeField() : object
- Apply external changes for fields
- clearChecked() : self
- Clear checked items on the form
- clearContent() : self
- Clear content for Back-end form
- clearMessages() : self
- Clear messages for Back-end form
- convertLike() : string
- Convert %LIKE%
- create() : object
- Create new form controller
- current() : self
- Set current page
- deleteAdminFormActionById() : self
- Delete Admin_Form_Action by ID
- 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
- getAdminFormActionById() : object|null
- Get Admin_Form_Action by ID
- getAdminFormActionByName() : object|null
- Get Admin_Form_Action by Name
- getAdminFormActions() : array<string|int, mixed>
- Get Admin_Form_Actions
- 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
- getTitleEditIcon() : Admin_Form_Entity
- Get title edit icon
- getTitlePathIcon() : Admin_Form_Entity
- Get title path icon
- 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
- loadAdminFormActions() : self
- Load Admin_Form_Actions
- loadAdminFormFields() : self
- Load Admin_Form_Fields
- module() : self
- Set module
- operation() : self
- Set operation
- pageNavigation() : self
- Показ строки ссылок
- pageSelector() : mixed
- Show items count selector
- pageTitle() : self
- Set page <title>
- path() : self
- Set path
- perform() : mixed
- prepareCell() : string
- Prepare cell
- prepareString() : string
- Prepare string
- set() : self
- Run when writing data to inaccessible properties
- setAdditionalParam() : self
- Set additional param
- setAdminFormActions() : self
- Set Admin_Form_Actions
- 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
- showChangeViews() : self
- Show Change View buttonset
- showFilterField() : mixed
- Отображает поле фильтра (верхнего или основного)
- showFormBreadcrumbs() : self
- Show children elements
- showFormMenus() : self
- Show children elements
- 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
- Filter datetime callback
- _filterCallbackInput() : mixed
- Filter input callback
- _filterCallbackSelect() : mixed
- Filter select callback
- _filterCallbackSiteuser() : mixed
- Filter siteuser callback
- _filterCallbackSiteuserCompany() : mixed
- Filter counterparty callback
- _filterCallbackUser() : mixed
- Filter user callback
- _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_Actions
Admin_Form_Actions of Admin_Form
protected
array<string|int, mixed>|null
$_Admin_Form_Actions
= \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
$_oAdmin_Form_Setting
Admin_Form_Setting
protected
Admin_Form_Setting_Model|null
$_oAdmin_Form_Setting
= \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
Page navigation delta
protected
int
$_pageNavigationDelta
= 2
$_path
Path
protected
string
$_path
= \NULL
$_propertiesValues
Properties values
protected
array<string|int, mixed>
$_propertiesValues
= array()
$_setDatasetConditions
setDatasetConditions() has been called
protected
bool
$_setDatasetConditions
= \FALSE
$_skin
Use skin
protected
bool
$_skin
= \TRUE
$_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
action()
Set action
public
action(string $action) : self
Parameters
- $action : string
Return values
selfaddAction()
Добавление обработчика действия
public
addAction(Admin_Form_Action_Controller $oAdmin_Form_Action_Controller) : mixed
Parameters
- $oAdmin_Form_Action_Controller : Admin_Form_Action_Controller
-
action controller
addAdditionalParam()
Add additional param
public
addAdditionalParam(string $key, string $value) : self
Parameters
- $key : string
-
param name
- $value : string
-
param value
Return values
selfaddAllowedProperties()
Add additional allowed properties
public
addAllowedProperties(array<string|int, mixed> $array) : self
Parameters
- $array : array<string|int, mixed>
-
array of properties' names
Return values
selfaddAllowedProperty()
Add additional allowed property
public
addAllowedProperty(string $property) : self
Parameters
- $property : string
-
property name
Return values
selfaddContent()
Add content for Back-end form
public
addContent(string $content) : self
Parameters
- $content : string
-
content
Return values
selfaddDataset()
Add dataset
public
addDataset(Admin_Form_Dataset $oAdmin_Form_Dataset) : self
Parameters
- $oAdmin_Form_Dataset : Admin_Form_Dataset
-
dataset
Tags
Return values
selfaddEntity()
Add entity
public
addEntity(Admin_Form_Entity $oAdmin_Form_Entity) : self
Parameters
- $oAdmin_Form_Entity : Admin_Form_Entity
Tags
Return values
selfaddExternalReplace()
Add external replacement Добавление внешней подстановки
public
addExternalReplace(string $key, string $value) : self
Parameters
- $key : string
-
name of replacement
- $value : string
-
value of replacement
Return values
selfaddFilter()
Add handler of the filter Добавление обработчика фильтра
public
addFilter(string $fieldName, string $function) : self
Parameters
- $fieldName : string
-
field name
- $function : string
-
function name
Return values
selfaddFilterCallback()
Добавление функции обратного вызова, используемой для корректировки переданного значения
public
addFilterCallback(string $fieldName, string $function) : self
Parameters
- $fieldName : string
-
field name
- $function : string
-
function name
Return values
selfaddMessage()
Add message for Back-end form
public
addMessage(string $message) : self
Parameters
- $message : string
-
message
Return values
selfaddView()
Add view
public
addView(string $name[, string $className = NULL ]) : self
Parameters
- $name : string
- $className : string = NULL
Return values
selfajax()
Set AJAX
public
ajax(bool $ajax) : self
Parameters
- $ajax : bool
-
ajax
Return values
selfapplyEditable()
Edit-in-Place in Back-end
public
applyEditable() : self
Return values
selfapplyFormat()
Применяет формат отображения $format к строке $str.
public
applyFormat(string $str, string $format) : mixed
Если формат является пустой строкой - $str возвращается в исходном виде.
Parameters
- $str : string
-
исходная строка
- $format : string
-
форма отображения. Строка формата состоит из директив: обычных символов (за исключением %), которые копируются в результирующую строку, и описатели преобразований, каждый из которых заменяется на один из параметров.
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
objectchangeField()
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
objectclearChecked()
Clear checked items on the form
public
clearChecked() : self
Return values
selfclearContent()
Clear content for Back-end form
public
clearContent() : self
Return values
selfclearMessages()
Clear messages for Back-end form
public
clearMessages() : self
Return values
selfconvertLike()
Convert %LIKE%
public
convertLike(string $str) : string
Parameters
- $str : string
Return values
stringcreate()
Create new form controller
public
static create([Admin_Form_Model $oAdmin_Form = NULL ]) : object
Parameters
- $oAdmin_Form : Admin_Form_Model = NULL
Return values
objectcurrent()
Set current page
public
current(int $current) : self
Parameters
- $current : int
-
page
Return values
selfdeleteAdminFormActionById()
Delete Admin_Form_Action by ID
public
deleteAdminFormActionById(mixed $id) : self
Parameters
- $id : mixed
Return values
selfdeleteAdminFormFieldById()
Delete Admin_Form_Field by ID
public
deleteAdminFormFieldById(mixed $id) : self
Parameters
- $id : mixed
Return values
selfdoReplaces()
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
stringexecute()
Executes the business logic.
public
execute() : mixed
Tags
filterId()
Set filterId
public
filterId(string $filterId) : self
Parameters
- $filterId : string
Return values
selffilterSettings()
Set filter settings
public
filterSettings(array<string|int, mixed> $filterSettings) : self
Parameters
- $filterSettings : array<string|int, mixed>
Return values
selfformSettings()
Apply form settings
public
formSettings() : self
Return values
selfgetAction()
Get action
public
getAction() : string
Return values
stringgetAdminActionLoadAjax()
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
stringgetAdminActionLoadHref()
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
stringgetAdminActionModalLoad()
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
stringgetAdminForm()
Get Admin_Form
public
getAdminForm() : Admin_Form_Model
Return values
Admin_Form_ModelgetAdminFormActionById()
Get Admin_Form_Action by ID
public
getAdminFormActionById(mixed $id) : object|null
Parameters
- $id : mixed
Return values
object|nullgetAdminFormActionByName()
Get Admin_Form_Action by Name
public
getAdminFormActionByName(mixed $name) : object|null
Parameters
- $name : mixed
Return values
object|nullgetAdminFormActions()
Get Admin_Form_Actions
public
getAdminFormActions() : array<string|int, mixed>
Return values
array<string|int, mixed>getAdminFormFieldById()
Get Admin_Form_Field by ID
public
getAdminFormFieldById(mixed $id) : object|null
Parameters
- $id : mixed
Return values
object|nullgetAdminFormFieldByName()
Get Admin_Form_Field by Name
public
getAdminFormFieldByName(mixed $name) : object|null
Parameters
- $name : mixed
Return values
object|nullgetAdminFormFields()
Get Admin_Form_Fields
public
getAdminFormFields() : array<string|int, mixed>
Return values
array<string|int, mixed>getAdminLanguage()
Get current Admin_Language
public
getAdminLanguage() : Admin_Language_Model|null
Return values
Admin_Language_Model|nullgetAdminLoadAjax()
Получение кода вызова 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
stringgetAdminLoadHref()
Получение кода вызова 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
stringgetAdminSendForm()
Получение кода вызова adminLoad для события onclick
public
getAdminSendForm(array<string|int, mixed> $options) : string
Parameters
- $options : array<string|int, mixed>
Return values
stringgetAjax()
Get AJAX
public
getAjax() : bool
Return values
boolgetBackgroundColorClass()
Get background color class for object ID
public
static getBackgroundColorClass(int $id) : string
Parameters
- $id : int
-
object ID
Return values
stringgetChecked()
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
stringgetCurrent()
Get current page
public
getCurrent() : int
Return values
intgetDataset()
Get dataset
public
getDataset(int $key) : Admin_Form_Dataset|null
Parameters
- $key : int
-
index
Return values
Admin_Form_Dataset|nullgetDatasets()
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
stringgetFilterJson()
Get filter json
public
getFilterJson() : array<string|int, mixed>
Return values
array<string|int, mixed>getFilterSettings()
public
getFilterSettings() : mixed
getIcon()
Get Icon for object ID
public
static getIcon(int $id) : string
Parameters
- $id : int
-
object ID
Return values
stringgetMessage()
Get form message
public
getMessage() : string
Return values
stringgetModalLoad()
Получение кода вызова 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
stringgetModule()
Get module
public
getModule() : object
Return values
objectgetOperation()
Get operation
public
getOperation() : string
Return values
stringgetPageTitle()
Get page <title>
public
getPageTitle() : string
Return values
stringgetPath()
Get path
public
getPath() : string
Return values
stringgetSortingField()
Get sorting field
public
getSortingField() : Admin_Form_Field_Model
Return values
Admin_Form_Field_ModelgetTitleEditIcon()
Get title edit icon
public
getTitleEditIcon(string $href, string $onclick[, string $class = 'fa fa-pencil-square-o h5-edit-icon palegreen' ]) : Admin_Form_Entity
Parameters
- $href : string
- $onclick : string
- $class : string = 'fa fa-pencil-square-o h5-edit-icon palegreen'
Return values
Admin_Form_EntitygetTitlePathIcon()
Get title path icon
public
getTitlePathIcon(string $href[, string $class = 'fa fa-external-link h5-edit-icon azure' ]) : Admin_Form_Entity
Parameters
- $href : string
- $class : string = 'fa fa-external-link h5-edit-icon azure'
Return values
Admin_Form_EntitygetTotalCount()
Get count of total founded items
public
getTotalCount() : int
Return values
intgetWindowId()
Get window ID
public
getWindowId() : int
Return values
intisCallable()
Check is callable method
public
isCallable(object $oEntity, string $fieldName) : bool
Parameters
- $oEntity : object
- $fieldName : string
Return values
booljQueryEscape()
Escape jQuery selectors
public
jQueryEscape(string $str) : string
Parameters
- $str : string
-
string
Return values
stringlimit()
Set limit of elements on page
public
limit(int $limit) : self
Parameters
- $limit : int
-
count
Return values
selfloadAdminFormActions()
Load Admin_Form_Actions
public
loadAdminFormActions() : self
Return values
selfloadAdminFormFields()
Load Admin_Form_Fields
public
loadAdminFormFields() : self
Return values
selfmodule()
Set module
public
module(Core_Module $oModule) : self
Parameters
- $oModule : Core_Module
Return values
selfoperation()
Set operation
public
operation(string $operation) : self
Parameters
- $operation : string
Return values
selfpageNavigation()
Показ строки ссылок
public
pageNavigation() : self
Return values
selfpageSelector()
Show items count selector
public
pageSelector() : mixed
pageTitle()
Set page <title>
public
pageTitle( $pageTitle) : self
Parameters
Return values
selfpath()
Set path
public
path(string $path) : self
Parameters
- $path : string
-
path
Return values
selfperform()
public
perform() : mixed
Tags
prepareCell()
Prepare cell
public
prepareCell(string $string) : string
Parameters
- $string : string
Return values
stringprepareString()
Prepare string
public
prepareString(string $string) : string
Parameters
- $string : string
Return values
stringset()
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
selfsetAdditionalParam()
Set additional param
public
setAdditionalParam(mixed $value) : self
Parameters
- $value : mixed
Return values
selfsetAdminFormActions()
Set Admin_Form_Actions
public
setAdminFormActions(array<string|int, mixed> $aAdmin_Form_Actions) : self
Parameters
- $aAdmin_Form_Actions : array<string|int, mixed>
Return values
selfsetAdminFormFields()
Set Admin_Form_Fields
public
setAdminFormFields(array<string|int, mixed> $aAdmin_Form_Fields) : self
Parameters
- $aAdmin_Form_Fields : array<string|int, mixed>
Return values
selfsetDatasetConditions()
Set dataset conditions
public
setDatasetConditions() : self
Return values
selfsetDatasetLimits()
Set dataset limits
public
setDatasetLimits() : self
Return values
selfsetTotalCount()
Set count of total founded items
public
setTotalCount(int $count) : self
Parameters
- $count : int
-
Total countt
Return values
selfsetUnlimitedProperties()
Set unlimitedProperties
public
setUnlimitedProperties([bool $value = TRUE ]) : self
Parameters
- $value : bool = TRUE
-
default TRUR
Return values
selfsetUp()
Form setup
public
setUp() : self
Return values
selfshow()
Show built data
public
show() : mixed
showChangeViews()
Show Change View buttonset
public
showChangeViews() : self
Return values
selfshowFilterField()
Отображает поле фильтра (верхнего или основного)
public
showFilterField(mixed $oAdmin_Form_Field, mixed $filterPrefix[, mixed $tabName = NULL ]) : mixed
Parameters
- $oAdmin_Form_Field : mixed
- $filterPrefix : mixed
- $tabName : mixed = NULL
showFormBreadcrumbs()
Show children elements
public
showFormBreadcrumbs() : self
Return values
selfshowFormMenus()
Show children elements
public
showFormMenus() : self
Return values
selfshowSettings()
public
showSettings() : mixed
skin()
Show skin
public
skin(bool $skin) : self
Parameters
- $skin : bool
-
use skin mode
Return values
selfsortingDirection()
Set sorting direction
public
sortingDirection(int $sortingDirection) : self
Parameters
- $sortingDirection : int
-
direction
Return values
selfsortingFieldId()
Set sorting field by ID
public
sortingFieldId(int $sortingFieldId) : self
Parameters
- $sortingFieldId : int
-
field ID
Return values
selftitle()
Set <h1> for form
public
title(string $title) : self
Parameters
- $title : string
-
content
Return values
selfview()
Set view
public
view(string $view) : self
Parameters
- $view : string
Return values
selfwindow()
Set window ID
public
window(string $windowId) : self
Parameters
- $windowId : string
Return values
self_filterCallbackCheckbox()
Filter checkbox callback
protected
_filterCallbackCheckbox(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
_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
_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
_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
_filterCallbackDatetime()
Filter datetime callback
protected
_filterCallbackDatetime(mixed $date_from, mixed $date_to, Admin_Form_Field_Model $oAdmin_Form_Field, string $filterPrefix, string $tabName) : mixed
Parameters
- $date_from : mixed
- $date_to : mixed
- $oAdmin_Form_Field : Admin_Form_Field_Model
- $filterPrefix : string
- $tabName : string
_filterCallbackInput()
Filter input callback
protected
_filterCallbackInput(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
_filterCallbackSelect()
Filter select callback
protected
_filterCallbackSelect(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
_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
_filterCallbackSiteuserCompany()
Filter counterparty callback
protected
_filterCallbackSiteuserCompany(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
_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
_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>