access |
public |
package |
kocuj_internal_lib |
inherited_from |
\KocujIL\V12a\Classes\ComponentObject |
Methods
Constructor
__construct(object $projectObj) : void
access |
public |
inherited_from |
\KocujIL\V12a\Classes\ComponentObject::__construct() |
Parameters
$projectObj
object
\KocujIL\V12a\Classes\Project object for current project
Constructor
__construct(object $projectObj) : void
Inherited
Parameters
$projectObj
object
\KocujIL\V12a\Classes\Project object for current project
Get project URL with the selected type
get(string $type) : string
Parameters
Returns
string
Project URL with the selected type
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 object of type \KocujIL\V12a\Classes\Project
getProjectObj() : object
Inherited
Returns
object
Object of type \KocujIL\V12a\Classes\Project
Get project URL
getProjectUrl() : string
Returns
string
Project URL
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
Properties
Directories
$dirs : array
\KocujIL\V12a\Classes\Project object for current project
$projectObj : object
Project URL
$projectUrl : string