Text editor buttons class
access | public |
---|---|
package | kocuj_internal_lib |
inherited_from | \KocujIL\V12a\Classes\ComponentObject |
__construct(object $projectObj) : void
access | public |
---|
object
\KocujIL\V12a\Classes\Project object for current project
addButton(string $id, string $title, string $helpText, string $codeBegin, string $codeEnd, integer $priority= 0
, string $accessKey= ''
) : void
access | public |
---|
string
Button id; must be unique for this project
string
Button title
string
Help text for button
string
Begin of code added after clicking on button
string
End of code added after clicking on button
integer
Button priority - default: empty
string
Access key - default: empty
checkButton(string $id) : boolean
access | public |
---|
string
Button for text editor identifier
boolean
Button for text editor exists (true) or not (false)getButton(string $id) : array | boolean
access | public |
---|
string
Button for text editor identifier
array
boolean
Button for text editor data or false if not exists; button for text editor data have the following fields: "accesskey" (string type; access key), "codebegin" (string type; begin of code added after clicking on button), "codeend" (string type; end of code added after clicking on button), "helptext" (string type; help text for button), "title" (string type; button title)getButtons() : array
access | public |
---|
array
Buttons for text editor data; each button for text editor data has the following fields: "accesskey" (string type; access key), "codebegin" (string type; begin of code added after clicking on button), "codeend" (string type; end of code added after clicking on button), "helptext" (string type; help text for button), "title" (string type; button title)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 componentgetProjectObj() : 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 componentremoveButton(string $id) : void
access | public |
---|
string
Button for text editor identifier
$projectObj : object
NULL
access | private |
---|