Project class
| access | public |
|---|---|
| package | kocuj_internal_lib\kocuj_pl_lib |
| inherited_from | \KocujIL\V12a\Classes\ProjectParent |
__construct(object $projectKocujInternaLibObj, array $components, array $settings, array $stringsClasses= array(), array $additionalProjectsForRequirements= array()) : void
| access | public |
|---|---|
| inherited_from | \KocujIL\V12a\Classes\ProjectParent::__construct() |
objectProject object for Kocuj Internal Lib
arrayComponents to use
arrayProject settings
arrayClasses list for classes with strings which implement \KocujPlLib\V12a\Interfaces\Strings interface; if some keys are empty or does not exist, the default classes which returns only empty strings will be used for these keys - default: empty
arrayAdditional projects for checking requirements; each element should be objec of class derived from this class (ProjectParent) and its key should be the name of class derived from this class (ProjectParent) - default: empty
__construct(array $components, array $settings, array $stringsClasses= array(), array $additionalProjectsForRequirements= array()) : void
| access | public |
|---|
arrayComponents to use
arrayProject settings
arrayClasses list for classes with strings which implement \KocujIL\V12a\Interfaces\Strings interface; if some keys are empty or does not exist, the default classes which returns only empty strings will be used for these keys - default: empty
arrayAdditional projects for checking requirements; each element should be objec of class derived from this class (ProjectParent) and its key should be the name of class derived from this class (ProjectParent) - default: empty
actionRemoveInits() : void
| access | public |
|---|
actionShutdown() : void
| access | public |
|---|
get(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 componentgetComponentErrors(integer $projectCategory, string $type) : array
| access | public |
|---|
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)
stringComponent type
arrayComponent errorsgetProjectKocujILObj() : object
| access | public |
|---|
objectProject object for Kocuj Internal LibgetSettingArray(string $type, string $index = '') : array | string
| access | public |
|---|
stringData type
stringData index
arraystringProject settinggetSettingString(string $type) : string
| access | public |
|---|
stringData type
stringProject settinggetStringsObj(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 which implements \KocujIL\V12a\Interfaces\Strings interfaceloadClassForNamespacePrefix(string $namespacePrefix, string $className, integer $projectCategory, string $type, string $fragmentIndex) : boolean
| access | private |
|---|
stringNamespace prefix
stringClass name
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)
stringComponent type
stringComponent fragment index
booleanClass has been loaded (true) or not (false)$namespacePrefix : string
'\\KocujPlLib\\V12a'| access | protected |
|---|---|
| inherited_from | \KocujIL\V12a\Classes\ProjectParent::namespacePrefix |
$namespacePrefix : string
''| access | protected |
|---|
$components : array
array()| access | private |
|---|
$componentsErrors : array
array()| access | private |
|---|
$initsToRemove : array
array()| access | private |
|---|
$libComponentsObjects : array
array()| access | private |
|---|
$projectKocujInternaLibObj : object
NULL| access | private |
|---|
$settings : array
array()| access | private |
|---|
$shutdown : boolean
false| access | private |
|---|
$stringsClassesList : array
array()| access | private |
|---|