Meta class
| access | public |
|---|---|
| package | kocuj_internal_lib |
| inherited_from | \KocujIL\V12a\Classes\ComponentObject |
__construct(object $projectObj) : void
| access | public |
|---|---|
| inherited_from | \KocujIL\V12a\Classes\ComponentObject::__construct() |
object\KocujIL\V12a\Classes\Project object for current project
__construct(object $projectObj) : void
| access | public |
|---|
object\KocujIL\V12a\Classes\Project object for current project
__destruct() : void
| access | public |
|---|
addOrUpdate(string $name, array|boolean|float|integer|string $value, integer $type = \KocujIL\V12a\Enums\Project\Components\Core\Meta\Type::AUTO) : void
| access | public |
|---|
stringMeta name
arraybooleanfloatintegerstringMeta value
integerMeta type; must be one of the following constants from \KocujIL\V12a\Enums\Project\Components\Core\Meta\Type: AUTO (for automatic meta type) or SITE (for site meta type) - default: \KocujIL\V12a\Enums\Project\Components\Core\Meta\Type::AUTO
clear(integer $type = \KocujIL\V12a\Enums\Project\Components\Core\Meta\Type::AUTO) : void
| access | public |
|---|
integerMeta type; must be one of the following constants from \KocujIL\V12a\Enums\Project\Components\Core\Meta\Type: AUTO (for automatic meta type) or SITE (for site meta type) - default: \KocujIL\V12a\Enums\Project\Components\Core\Meta\Type::AUTO
delete(string $name, integer $type = \KocujIL\V12a\Enums\Project\Components\Core\Meta\Type::AUTO) : void
| access | public |
|---|
stringMeta name
integerMeta type; must be one of the following constants from \KocujIL\V12a\Enums\Project\Components\Core\Meta\Type: AUTO (for automatic meta type) or SITE (for site meta type) - default: \KocujIL\V12a\Enums\Project\Components\Core\Meta\Type::AUTO
forceRealClearDataNow(integer $type = \KocujIL\V12a\Enums\Project\Components\Core\Meta\Type::AUTO) : void
| access | public |
|---|
integerMeta type; must be one of the following constants from \KocujIL\V12a\Enums\Project\Components\Core\Meta\Type: AUTO (for automatic meta type) or SITE (for site meta type) - default: \KocujIL\V12a\Enums\Project\Components\Core\Meta\Type::AUTO
forceRealUpdateNow(integer $type = \KocujIL\V12a\Enums\Project\Components\Core\Meta\Type::AUTO) : void
| access | public |
|---|
integerMeta type; must be one of the following constants from \KocujIL\V12a\Enums\Project\Components\Core\Meta\Type: AUTO (for automatic meta type) or SITE (for site meta type) - default: \KocujIL\V12a\Enums\Project\Components\Core\Meta\Type::AUTO
get(string $name, array|boolean|float|integer|string $defaultValue= false, integer $type= \KocujIL\V12a\Enums\Project\Components\Core\Meta\Type::AUTO) : array | boolean | float | integer | string
| access | public |
|---|
stringMeta name
arraybooleanfloatintegerstringDefault meta value - default: false
integerMeta type; must be one of the following constants from \KocujIL\V12a\Enums\Project\Components\Core\Meta\Type: AUTO (for automatic meta type) or SITE (for site meta type) - default: \KocujIL\V12a\Enums\Project\Components\Core\Meta\Type::AUTO
arraybooleanfloatintegerstringMeta valuegetComponent(string $type, integer $projectCategory= \KocujIL\V12a\Enums\ProjectCategory::CORE, string $fragment= '') : object
| access | public |
|---|
stringComponent type
integerComponent category; must be one of the following constants from \KocujIL\V12a\Enums\ProjectCategory: CORE (for "core" category), ALL (for "all" category), FRONTEND (for "frontend" category) or BACKEND (for "backend" category) - default: \KocujIL\V12a\Enums\ProjectCategory::CORE
stringComponent fragment - default: empty
objectObject of class type from componentgetName(integer $type = \KocujIL\V12a\Enums\Project\Components\Core\Meta\Type::AUTO) : string
| access | public |
|---|
integerMeta type; must be one of the following constants from \KocujIL\V12a\Enums\Project\Components\Core\Meta\Type: AUTO (for automatic meta type) or SITE (for site meta type) - default: \KocujIL\V12a\Enums\Project\Components\Core\Meta\Type::AUTO
stringMeta option namegetProjectObj() : object
| access | public |
|---|
objectObject of type \KocujIL\V12a\Classes\ProjectgetStrings(string $type, integer $projectCategory = \KocujIL\V12a\Enums\ProjectCategory::CORE) : object
| access | public |
|---|
stringComponent type
integerComponent category; must be one of the following constants from \KocujIL\V12a\Enums\ProjectCategory: CORE (for "core" category), ALL (for "all" category), FRONTEND (for "frontend" category) or BACKEND (for "backend" category) - default: \KocujIL\V12a\Enums\ProjectCategory::CORE
objectObject of class type for strings from componentchangeMetaTypeToArea(integer $type) : integer
| access | private |
|---|
integerMeta type; must be one of the following constants from \KocujIL\V12a\Enums\Project\Components\Core\Meta\Type: AUTO (for automatic meta type) or SITE (for site meta type)
integerAreagetMetaTypes() : array
| access | private |
|---|
arrayMeta types list$clear : boolean
false| access | private |
|---|
$data : array
array()| access | private |
|---|
$projectObj : object
NULL| access | private |
|---|