| Recommend this page to a friend! |
| All class groups | > | All authors | > | Packages of Chris Lam (3) | > | Mission progress status | > | Reputation |
|
|||||||||||||||||||||||||||||||
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
| ||||
| This class implements a compiled template engine. It processes templates and generates PHP script files that generate the template output when executed. The template variables are defined as arrays which are extracted into local variables before including the compiled template script files. The template engine supports variables with optional modifiers, comments, including external template files, adding separate Javascript and CSS style definitions, localized text, inline PHP code, conditional sections and loops to iterate over array variables. |
|
|
| ||||
| This class can be used to perform several types of text processing operations. It can: - Capitalize the first letter of all words of string - Count the number of non-whitespace characters, words, sentences in a string - Encode strings for displaying as HTML, in URLs, escaping quotes, as hexadecimal, as Javascript strings, and obfuscate e-mail addresses - Exclude given words from a string - Highlight PHP code - Indent strings - Limit the length of a string in number or words or characters - Strip consecutive whitespace characters - Word wrap strings |
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |