slugify() slugify( $text) Modifies a string to remove all non ASCII characters and spaces. Parameters $text
translate() translate( $objectToTranslate, string $lang, string $fallbackLang = '') : mixed Translate all translatable fields of a stdObject. Parameters $objectToTranslate string $lang string $fallbackLang Returns mixed
shortenText() shortenText( $text, $length, $glue = '', $finishString = '...') Parameters $text $length $glue $finishString
underscoreToCamelCase() underscoreToCamelCase(string $string, boolean $first_char_caps = true) : string Convert strings with underscores into CamelCase. Parameters string $string The string to convert boolean $first_char_caps camelCase or CamelCase Returns string — The converted string
getClassPackageName() getClassPackageName(mixed $class) : string Get the package name of a class. Parameters mixed $class Returns string
getClassShortName() getClassShortName(mixed $class) : string Get the short name of a class (class name without namespace). Parameters mixed $class Returns string