Helper class
access | public |
---|---|
package | kocuj_internal_lib |
getImage(string $url, array $attr = array()
) : string
access | public |
---|
string
Image URL
array
Additional 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
string
HTML imagegetInstance() : object
access | public |
---|
object
Singleton instancegetLink(string $link, string $name= ''
, array $attr= array()
) : string
access | public |
---|
string
Link URL
string
Link name; if empty, link URL will be used instead - default: empty
array
Additional 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
string
Link anchorgetLinkBegin(string $link, array $attr = array()
) : string
access | public |
---|
string
Link URL
array
Additional 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
string
Beginning of link anchorgetLinkEnd() : string
access | public |
---|
string
Ending of link anchorgetMailLink(string $mail, array $attr = array()
) : string
access | public |
---|
string
E-mail address
array
Additional 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
string
E-mail link anchor__clone() : void
access | private |
---|
__construct() : void
access | private |
---|
getHtmlAttrs(array $attr) : string
access | private |
---|
array
Additional 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)
string
HTML tag attributes$instance : object
NULL
access | private |
---|