Class Admin_Form_Controller
Admin forms.
- Core_Servant_Properties
- Admin_Form_Controller
Direct known subclasses
Skin_Bootstrap_Admin_Form_Controller
,
Skin_Default_Admin_Form_Controller
Package: HostCMS\Admin
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at admin/form/controller.php
Methods summary
public static
object
|
|
public static
string
|
|
public static
string
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
object|null
|
|
public
object|null
|
|
public
|
|
public
|
|
public
string
|
|
public
array
|
|
public
|
|
public
|
#
addAction(
Добавление обработчика действия |
public
|
|
public
array
|
|
public
|
#
addExternalReplace( string $key, string $value )
Add external replacement Добавление внешней подстановки |
public
array
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
addFilterCallback( string $fieldName, string $function )
Добавление функции обратного вызова, используемой для корректировки переданного значения |
public
|
#
addFilter( string $fieldName, string $function )
Add handler of the filter Добавление обработчика фильтра |
public
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
integer
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
|
|
public
|
|
public
integer
|
|
public
integer
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
protected
|
|
public
|
|
public
string
|
#
doReplaces( array $aAdmin_Form_Fields,
Apply external replaces in $subject |
public
|
#
applyFormat( string $str, string $format )
Применяет формат отображения $format к строке $str. Если формат является пустой строкой - $str возвращается в исходном виде. |
public
|
|
public
|
|
public
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
protected
array
|
|
public
string
|
#
getAdminLoadHref( string $options, string $action,…, string $operation,…, string $additionalParams,…, integer $limit,…, integer $current,…, integer $sortingFieldId,…, integer $sortingDirection,…, string $view,… )
Получение кода вызова adminLoad для href |
public
string
|
|
public
string
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
#
_filterCallbackDate( $date_from, $date_to, $oAdmin_Form_Field, $filterPrefix, $tabName )
Date-filed (from-to) |
protected
|
#
_filterCallbackDateSingle( $date_from, $date_to, $oAdmin_Form_Field, $filterPrefix, $tabName )
Date-filed (single-mode) |
protected
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
#
showFilterField( $oAdmin_Form_Field, $filterPrefix, $tabName = NULL )
Отображает поле фильтра (верхнего или основного) |
public
|
|
public
|
|
public
|
|
public
|
|
public
object
|
#
changeField(
Apply external changes for filter |
Methods inherited from Core_Servant_Properties
__call()
,
__get()
,
__isset()
,
__set()
,
__toString()
,
addAllowedProperties()
,
addAllowedProperty()
,
set()
,
setUnlimitedProperties()
Properties summary
protected
boolean
|
$_skin
Use skin |
#
TRUE
|
protected
array
|
$_datasets
Dataset array |
#
array()
|
protected
Admin_Form
|
$_Admin_Form
Admin form |
#
NULL
|
protected
string
|
$_Admin_Language
Current language in administrator's center |
#
NULL
|
protected static
array
|
$_icon
48 icons |
#
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'
)
|
public
array
|
$request
Data set from _REQUEST |
#
array()
|
protected
|
$_oAdmin_Form_Setting
Admin_Form_Setting |
#
NULL
|
protected
array
|
$_allowedProperties
Allowed object properties |
#
array(
//'request', // Нельзя, т.к. к request используется прямой доступ в различных index.php
// Page title <h1>
'title',
// Page title <title>
'pageTitle',
// Limits elements on page
'limit',
// Current page
'current',
// ID of sorting field
'sortingFieldId',
// Sorting direction
'sortingDirection',
// Current Filter Id
'filterId',
// Controller view
'view',
'viewList',
// Action name
'action',
// Action's operation e.g. "save" or "apply"
'operation',
// Array of checked items
'checked',
// Window ID
'windowId',
// Use AJAX
'ajax',
'module',
// Is showing operations necessary
'showOperations',
// String of additional parameters
'additionalParams',
// Set filter settings
//'filterSettings',
// Admin_View
'Admin_View',
)
|
protected
array|null
|
$_Admin_Form_Fields
Admin_Form_Fields of Admin_Form |
#
NULL
|
protected
string
|
$_path
Path |
#
NULL
|
protected
array
|
$_actionHandlers
List of handlers' actions |
#
array()
|
protected
array
|
$_children
List of children entities |
#
array()
|
protected
array
|
$_externalReplace
List of external replaces |
#
array()
|
protected
array
|
$_filterCallbacks
List of filter handlers |
#
array()
|
protected
array
|
$_filters
List of filter handlers |
#
array()
|
public
array
|
$filterSettings
filter settings |
#
array()
|
protected
integer
|
$_totalCount
Total founded items |
#
NULL
|
protected
string
|
$_content
Content |
#
NULL
|
protected
string
|
$_message
Message text |
#
NULL
|