Méthode |
Description |
|
_ ( string $string ) : string |
Translate a string according to the defined locale/ |
|
getFooter ( ) |
*
Footer hook |
|
getHeader ( ) |
*
Header hook |
|
getLoop ( ) : string |
Displays the generated HTML code |
|
getServices ( ) : array |
|
|
getThemePath ( ) : string |
|
|
getThemeUrl ( ) : string |
|
|
init ( ) |
Application initialisation |
|
json_decode ( string $str ) : object |
|
|
loadService ( string $service, array $config ) : Service |
Load a service file |
|
rebuildCache ( ) : void |
Rebuild the cache for each defined service |
|
renderTemplate ( ) : void |
Renders the template according to the current theme |
|
requireServiceFile ( string $service ) : boolean |
Require a service file (according to the “cascade”) |
|
setClasses ( ) : void |
Set the $classes array |
|
setServices ( array $services = [] ) : void |
Set the services to use |
|
time_since ( $original ) : string |
Return a date in a relative format
Based on: http://snippets.dzone.com/posts/show/5565 |
|