Documentation

Field_Controller
in package

Field_Controller

Tags
subpackage

Field

version
7.x
author

Hostmake LLC

copyright

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

Table of Contents

Properties

$_fields  : array<string|int, mixed>
Array of model's fields

Methods

getFields()  : array<string|int, mixed>
Get Model Filelds
getPath()  : string
Get Field's file path for object (without leading slash)
_fillFields()  : mixed
Fill Model's Fields Cache

Properties

$_fields

Array of model's fields

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

Methods

getFields()

Get Model Filelds

public static getFields(string $modelName[, int $site_id = NULL ]) : array<string|int, mixed>
Parameters
$modelName : string

Model name

$site_id : int = NULL

if NULL uses CURRENT_SITE, default NULL

Return values
array<string|int, mixed>

getPath()

Get Field's file path for object (without leading slash)

public static getPath(object $object) : string
Parameters
$object : object
Return values
string

_fillFields()

Fill Model's Fields Cache

protected static _fillFields(int $site_id) : mixed
Parameters
$site_id : int

        
On this page

Search results