| access |
public |
| package |
kocuj_internal_lib |
| inherited_from |
\KocujIL\V12a\Classes\ComponentObject |
Methods
Constructor
__construct(object $projectObj) : void
Inherited
Parameters
$projectObj
object\KocujIL\V12a\Classes\Project object for current project
Action for display review message
actionAdminHead() : void
Get window has been closed (true) or not (false)
getClosedWindowOptionValue() : boolean
Returns
booleanWindow has been closed (true) or not (false)
Get object of class type from component
getComponent(string $type, integer $projectCategory = \KocujIL\V12a\Enums\ProjectCategory::CORE, string $fragment = '') : object
Inherited
Parameters
$type
stringComponent type
$projectCategory
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
$fragment
stringComponent fragment - default: empty
Returns
objectObject of class type from component
Get days count after which message about review will be displayed; 0 means never
getDays() : integer
Returns
integerDays count after which message about review will be displayed; 0 means never
Get object of type \KocujIL\V12a\Classes\Project
getProjectObj() : object
Inherited
Returns
objectObject 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
stringComponent type
$projectCategory
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
Returns
objectObject of class type for strings from component
Set vote URL
getVoteUrl() : string
Set days count after which message about review will be displayed; 0 means never
setDays(integer $days) : void
Parameters
$days
integerDays count after which message about review will be displayed; 0 means never
Set vote URL
setVoteUrl(string $url) : void
Add additional elements
addAdditionalElements(array $elements) : string
Parameters
$elements
arrayAdditional elements to add
Returns
stringAdditional elements in string
Get message element in "div" container
getMessageElement(string $element, boolean $smaller = false) : string
Parameters
$element
stringMessage element
$smaller
booleanMessage element is smaller than normal (true) or not (false) - default: false
Returns
stringMessage element in "div" container
Properties
Days count after which message about review will be displayed; 0 means never
$days : integer
\KocujIL\V12a\Classes\Project object for current project
$projectObj : object
Review message is set to be displayed (true) or review message will not be displayed (false)
$reviewMessageDisplay : boolean
Vote URL
$voteUrl : string