Back

Class: String

:convertContent ($text, $toHtml=true, $keepTags=false)

prevedie retazec z alebo do HTML znaciek, pouziva znacky v tvare [x]
$text - prevadzany retazec
$toHtml - prevod do HTML? / napr nacitane z DB
return - prevedeny retazec

:getPlural ($value)

vrati retazec $value v mnoznom cisle (EN)

:getSingular ($value)

vrati retazec $value v jednotnom cisle (EN)

:getTitle ($title)

:replaceFirst ($search, $replace, $subject)

:simpleConvert ($text, $toHtml=true, $keepTags=false)

:xssClean ($text, $reverse=false)


Back

ChameleonFramework © 2012 - 2024