Methods
Constructor
__construct(object $projectObj) : void
Inherited
Parameters
$projectObj
object
\KocujIL\V12a\Classes\Project object for current project
Get object of class type from component
getComponent(string $type, integer $projectCategory = \KocujIL\V12a\Enums\ProjectCategory::CORE
, string $fragment = ''
) : object
Inherited
Parameters
$type
string
Component type
$projectCategory
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
$fragment
string
Component fragment - default: empty
Returns
object
Object of class type from component
Get option name for adding thanks
getOptionNameThanksAdded() : string
Returns
string
Option name for adding thanks
Get object of type \KocujIL\V12a\Classes\Project
getProjectObj() : object
Inherited
Returns
object
Object of type \KocujIL\V12a\Classes\Project
Get object of class type for strings from component
getStrings(string $type, integer $projectCategory = \KocujIL\V12a\Enums\ProjectCategory::CORE
) : object
Inherited
Parameters
$type
string
Component type
$projectCategory
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
Returns
object
Object of class type for strings from component
Get if thanks has been added (true) or not (false)
getThanksAddedOptionValue() : boolean
Returns
boolean
Thanks has been added (true) or not (false)
Set adding thanks to display (true) or not (false)
setAddThanksDisplay(integer $display) : void
Parameters
$display
integer
Display adding thanks or not; must be one of the following constants from \KocujPlLib\V12a\Enums\Project\Components\Backend\AddThanks\Display: NO (when adding thanks will not be displayed) or YES (when adding thanks will be displayed)
Properties
Display adding thanks or not; must be one of the following constants from \KocujPlLib\V12a\Enums\Project\Components\Backend\AddThanks\Display: NO (when adding thanks will not be displayed) or YES (when adding thanks will be displayed)
$display : boolean
Default
\KocujPlLib\V12a\Enums\Project\Components\Backend\AddThanks\Display::NO
\KocujIL\V12a\Classes\Project object for current project
$projectObj : object