Class with miscellaneous static methods.
This class will contain various methods that govern the overall behavior of PEL.
Debugging output from PEL can be turned on and off by assigning true or false to Pel::$debug.
Conditionally output debug information.
This method works just like printf() except that it always terminates the output with a newline, and that it only outputs something if the PEL_DEBUG defined to some true value.
Translate and format a string.
This static function will first use Gettext to translate a format string, which will then have access to any extra arguments. By always using this function for dynamic string one is assured that the translation will be taken from the correct text domain. If the string is static, use tra instead as it will be faster.
Translate a string.
This static function will use Gettext to translate a string. By always using this function for static string one is assured that the translation will be taken from the correct text domain. Dynamic strings should be passed to fmt instead.
Conditionally output a warning.
This method works just like printf() except that it prepends the output with the string 'Warning: ', terminates the output with a newline, and that it only outputs something if the PEL_DEBUG defined to some true value.
Documentation generated on Fri, 18 Feb 2005 01:43:09 +0100 by phpDocumentor 1.3.0RC3