Classes | |
| class | Pluf |
| class | PlufErrorHandlerException |
Functions | |
| __ ($str) | |
| _n ($sing, $plur, $n) | |
| __autoload ($class_name) | |
| PlufErrorHandler ($code, $string, $file, $line) | |
| Pluf_esc ($string) | |
| __ | ( | $ | str | ) |
Translate a string.
| string | String to be translated. |
| __autoload | ( | $ | class_name | ) |
Autoload function.
| string | Class name. |
| _n | ( | $ | sing, | |
| $ | plur, | |||
| $ | n | |||
| ) |
Translate the plural form of a string.
| string | Singular form of the string. | |
| string | Plural form of the string. | |
| int | Number of elements. |
| Pluf_esc | ( | $ | string | ) |
Shortcut needed all over the place.
Note that in some cases, we need to escape strings not in UTF-8, so this is not possible to safely use a call to htmlspecialchars. This is why str_replace is used.
| string | Raw string |
| PlufErrorHandler | ( | $ | code, | |
| $ | string, | |||
| $ | file, | |||
| $ | line | |||
| ) |
The function that is the real error handler.