Helper class
| access | public |
|---|---|
| package | kocuj_internal_lib |
getImage(string $url, array $attr = array()) : string
| access | public |
|---|
stringImage URL
arrayAdditional attributes; there are available the following attributes: "class" (string type; class of HTML element), "data" (array type; values for "data-*" tags), "id" (string type; id of HTML element), "noescapeurl" (bool type; if true, link is not escaped), "style" (string type; style of HTML element), "styleclassfilter" (array type; it contains two fields: "projectobj" with object of class \KocujIL\V12a\Classes\Project for current project and "filter" with filter name which will be added to project prefix), "title" (string type; title of the image) - default: empty
stringHTML imagegetInstance() : object
| access | public |
|---|
objectSingleton instancegetLink(string $link, string $name= '', array $attr= array()) : string
| access | public |
|---|
stringLink URL
stringLink name; if empty, link URL will be used instead - default: empty
arrayAdditional attributes; there are available the following attributes: "class" (string type; class of HTML element), "data" (array type; values for "data-*" tags), "external" (bool type; if true, link is external and will be opened in new tab), "externalwithouttarget" (bool type; if true, link is external, but there will be no "target" attribute; if there is also an "external" attribute in $attr array, the "external" will be used instead), "id" (string type; id of HTML element), "noescapeurl" (bool type; if true, link is not escaped), "style" (string type; style of HTML element), "styleclassfilter" (array type; it contains two fields: "projectobj" with object of class \KocujIL\V12a\Classes\Project for current project and "filter" with filter name which will be added to project prefix), "title" (string type; title of the link) - default: empty
stringLink anchorgetLinkBegin(string $link, array $attr = array()) : string
| access | public |
|---|
stringLink URL
arrayAdditional attributes; there are available the following attributes: "class" (string type; class of HTML element), "data" (array type; values for "data-*" tags), "external" (bool type; if true, link is external and will be opened in new tab), "externalwithouttarget" (bool type; if true, link is external, but there will be no "target" attribute; if there is also an "external" attribute in $attr array, the "external" will be used instead), "id" (string type; id of HTML element), "noescapeurl" (bool type; if true, link is not escaped), "rel" (string type; "rel" link attribute value), "style" (string type; style of HTML element), "styleclassfilter" (array type; it contains two fields: "projectobj" with object of class \KocujIL\V12a\Classes\Project for current project and "filter" with filter name which will be added to project prefix), "title" (string type; title of the link) - default: empty
stringBeginning of link anchorgetLinkEnd() : string
| access | public |
|---|
stringEnding of link anchorgetMailLink(string $mail, array $attr = array()) : string
| access | public |
|---|
stringE-mail address
arrayAdditional attributes; there are available the following attributes: "class" (string type; class of HTML element), "data" (array type; values for "data-*" tags), "id" (string type; id of HTML element), "style" (string type; style of HTML element), "styleclassfilter" (array type; it contains two fields: "projectobj" with object of class \KocujIL\V12a\Classes\Project for current project and "filter" with filter name which will be added to project prefix) - default: empty
stringE-mail link anchor__clone() : void
| access | private |
|---|
__construct() : void
| access | private |
|---|
getHtmlAttrs(array $attr) : string
| access | private |
|---|
arrayAdditional attributes; there are available the following attributes: "class" (string type; class of HTML element), "data" (array type; values for "data-*" tags), "id" (string type; id of HTML element), "style" (string type; style of HTML element), "styleclassfilter" (array type; it contains two fields: "projectobj" with object of class \KocujIL\V12a\Classes\Project for current project and "filter" with filter name which will be added to project prefix)
stringHTML tag attributes$instance : object
NULL| access | private |
|---|