General Template functions
placed in /src/classes/view/handler/functions.php
(a lot which are not decribed yet)
XHTML Template functions
placed in /src/classes/view/handler/xhtml/functions.php
- arbit_dump
-
($content, $maxDepth = 5, $depth = 0) Dump any object for debuggin purpose. Especially usefull for the view models. Does not work with recursive structures yet.
- arbit_form_token
-
() get an unique and random form token. Form token is required to access Post data inside Arbit. The token prevent double Posting through refresh.
- arbit_simple_markup
-
($text) Simple markup used for user constributed stuff. Should ensure not to introduce any XSS, as it returns raw HTML.
Text Template functions
placed in /src/classes/view/handler/text/functions.php
- indentedWrap
-
( $text, $indetation = '', $width = 78 ) Wrap text with an optional specified indentation string and a default wrapping width of 78.