Project helper class
access | public |
---|---|
package | kocuj_internal_lib\kocuj_pl_lib |
inherited_from | \KocujIL\V12a\Classes\Project\Components\Core\ProjectHelper\Component |
__construct(object $projectObj) : void
access | public |
---|
object
\KocujIL\V12a\Classes\Project object for current project
applyFilters(string $filterName, string $additionalFilterName= ''
, string $filterSuffix= ''
, array|boolean|float|integer|string $value= ''
) : string
access | public |
---|
string
Filter name
string
Additional filter name - default: empty
string
Filter suffix - default: empty
array
boolean
float
integer
string
Default value for filter - default: empty string
string
Output for filtersapplyFiltersForHTMLStyleAndClass(string $filterName, string $additionalFilterName= ''
, array $attr= array()
) : string
access | public |
---|
string
Filter name; it will be used for applying filters "kocujilv12a_PROJECT_INTERNALNAME$filterName_class" (CSS class) and "kocujilv12a_PROJECT_INTERNALNAME$filterName_style" (CSS style)
string
Additional filter name; it will be used for applying additional filters "kocujilv12a_PROJECT_INTERNALNAME$additionalFilterName_class" (CSS class) and "kocujilv12a_PROJECT_INTERNALNAME$additionalFilterName_style" (CSS style) - default: empty
array
Additional attributes; there are available the following attributes: "defaultclass" (string type; default value for class filter), "defaultstyle" (string type; default value for style filter)
string
Output for filtersdoAction(string $actionName, string $additionalActionName= ''
, array $attr= array()
) : void
access | public |
---|
string
Action name
string
Additional action name - default: empty
array
Additional attributes; there are available the following attributes: "actionsuffix" (string type; suffix for actions) - default: empty
getComponent(string $type, integer $projectCategory= \KocujIL\V12a\Enums\ProjectCategory::CORE
, string $fragment= ''
) : object
access | public |
---|
string
Component type
integer
Component 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
string
Component fragment - default: empty
object
Object of class type from componentgetPrefix() : string
access | public |
---|---|
inherited_from | \KocujIL\V12a\Classes\Project\Components\Core\ProjectHelper\Component::getPrefix() |
string
PrefixgetPrefix() : string
access | public |
---|
string
PrefixgetProjectObj() : object
access | public |
---|
object
Object of type \KocujIL\V12a\Classes\ProjectgetStrings(string $type, integer $projectCategory = \KocujIL\V12a\Enums\ProjectCategory::CORE
) : object
access | public |
---|
string
Component type
integer
Component 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
object
Object of class type for strings from componentgetFilterOrActionName(string $filterOrActionName, string $filterOrActionSuffix = ''
) : string
access | private |
---|
string
Filter or action name
string
Filter suffix - default: empty
string
Filter or action name$projectObj : object
NULL
access | private |
---|