[ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 295 lignes (8 kb) |
Inclus ou requis: | 1 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
sfException:: (8 méthodes):
__construct()
getName()
printStackTrace()
getTraces()
formatArrayAsHtml()
fileExcerpt()
formatArgs()
setName()
Classe: sfException - X-Ref
sfException is the base class for all symfony related exceptions and__construct($message = null, $code = 0) X-Ref |
Class constructor. param: string The error message param: int The error code |
getName() X-Ref |
Retrieves the name of this exception. return: string This exception's name |
printStackTrace($exception = null) X-Ref |
Prints the stack trace for this exception. param: Exception An Exception implementation instance |
getTraces($exception, $format = 'plain') X-Ref |
Returns an array of exception traces. param: Exception An Exception implementation instance param: string The trace format (plain or html) return: array An array of traces |
formatArrayAsHtml($values) X-Ref |
Returns an HTML version of an array as YAML. param: array The values array return: string An HTML string |
fileExcerpt($file, $line) X-Ref |
Returns an excerpt of a code file around the given line number. param: string A file path param: int The selected line number return: string An HTML string |
formatArgs($args, $single = false, $format = 'html') X-Ref |
Formats an array as a string. param: array The argument array param: boolean param: string The format string (html or plain) return: string |
setName($name) X-Ref |
Sets the name of this exception. param: string An exception name |
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |