Documentation

Field_Controller_Value
in package

Fields.

Tags
subpackage

Field

version
7.x
author

Hostmake LLC

copyright

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

Table of Contents

Properties

$_cacheGetField  : array<string|int, mixed>
Cache fields

Methods

factory()  : mixed
Create object of $type class
getFieldsValues()  : array<string|int, mixed>
Получение значений свойств $aFieldsId объекта $entityId
_getField()  : object|null
Get Field by ID

Properties

$_cacheGetField

Cache fields

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

Methods

factory()

Create object of $type class

public static factory(string $type) : mixed
Parameters
$type : string

type of the class

getFieldsValues()

Получение значений свойств $aFieldsId объекта $entityId

public static getFieldsValues(array<string|int, mixed> $aFieldsId, int $entityId[, bool $bCache = TRUE ]) : array<string|int, mixed>
Parameters
$aFieldsId : array<string|int, mixed>

fields ID

$entityId : int

entity ID

$bCache : bool = TRUE

cache mode

Return values
array<string|int, mixed>

_getField()

Get Field by ID

protected static _getField(int $iFieldId) : object|null
Parameters
$iFieldId : int
Return values
object|null

        
On this page

Search results