Documentation

Dms_Field_Controller
in package

Dms_Field_Controller.

Tags
subpackage

Dms

version
7.x
author

Hostmake LLC

copyright

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

Table of Contents

$_cacheListOptions  : array<string|int, mixed>
List Options Cache
applyObjectProperty()  : self
Save fields
getTypes()  : array<string|int, mixed>
Get dms field types
showAvailableFields()  : self
Show fields
_correctPrintValue()  : string
Correct print value by dms field type
_correctValue()  : string
Correct save value by dms field type
_fillList()  : self
Fill list

Properties

$_cacheListOptions

List Options Cache

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

Methods

getTypes()

Get dms field types

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

showAvailableFields()

Show fields

public static showAvailableFields(Dms_Document_Model|null $oDms_Document, mixed $dms_document_type_id, mixed $oParentObject, mixed $oAdmin_Form_Controller) : self
Parameters
$oDms_Document : Dms_Document_Model|null
$dms_document_type_id : mixed
$oParentObject : mixed
$oAdmin_Form_Controller : mixed
Return values
self

_correctPrintValue()

Correct print value by dms field type

protected static _correctPrintValue(Dms_Field_Model $oDms_Field, string $value) : string
Parameters
$oDms_Field : Dms_Field_Model

dms field

$value : string

value

Return values
string

_correctValue()

Correct save value by dms field type

protected static _correctValue(Dms_Field_Model $oDms_Field, string $value) : string
Parameters
$oDms_Field : Dms_Field_Model

dms field

$value : string

value

Return values
string

_fillList()

Fill list

protected static _fillList(mixed $value, mixed $oDms_Field, mixed $oParentObject, mixed $oAdmin_Form_Entity_ListItemsSelect, mixed $oAdmin_Form_Entity_ListItemsInput, mixed $oAdmin_Form_Entity_Autocomplete_Select, mixed $oAdmin_Form_Controller) : self
Parameters
$value : mixed
$oDms_Field : mixed
$oParentObject : mixed
$oAdmin_Form_Entity_ListItemsSelect : mixed
$oAdmin_Form_Entity_ListItemsInput : mixed
$oAdmin_Form_Entity_Autocomplete_Select : mixed
$oAdmin_Form_Controller : mixed
Return values
self

Search results