[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/debug/ -> sfWebDebug.class.php (sommaire)

(pas de description)

Poids: 471 lignes (17 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

sfWebDebug:: (12 méthodes):
  initialize()
  getInstance()
  registerAssets()
  logShortMessage()
  log()
  loadHelpers()
  formatLogLine()
  getResults()
  getCurrentConfigAsHtml()
  formatArrayAsHtml()
  decorateContentWithDebug()
  getPriority()


Classe: sfWebDebug  - X-Ref

sfWebDebug creates debug information for easy debugging in the browser.

initialize()   X-Ref
Pas de description

getInstance()   X-Ref
Retrieves the singleton instance of this class.

return: sfWebDebug A sfWebDebug implementation instance

registerAssets()   X-Ref
Registers javascripts and stylesheets needed for the web debug toolbar.


logShortMessage($message)   X-Ref
Logs a short message to be displayed in the web debug toolbar.

param: string The message string

log($logEntry)   X-Ref
Logs a message to the web debug toolbar.

param: array An array of parameter

loadHelpers()   X-Ref
Loads helpers needed for the web debug toolbar.


formatLogLine($log_line)   X-Ref
Formats a log line.

param: string The log line to format
return: string The formatted log lin

getResults()   X-Ref
Returns the web debug toolbar as HTML.

return: string The web debug toolbar HTML

getCurrentConfigAsHtml()   X-Ref
Returns the current configuration as HTML.

return: string The current configuration as HTML

formatArrayAsHtml($id, $values)   X-Ref
Converts an array to HTML.

param: string The identifier to use
param: array  The array of values
return: string An HTML string

decorateContentWithDebug($internalUri, $content, $new = false)   X-Ref
Decorates a chunk of HTML with cache information.

param: string  The internalUri representing the content
param: string  The HTML content
param: boolean true if the content is new in the cache, false otherwise
return: string The decorated HTML string

getPriority($value)   X-Ref
Converts a proprity value to a string.

param: integer The priority value
return: string The priority as a string



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7