src/snac/client/webui/display/Display.php
/**
     * Add Debug Data
     *
     * Adds debug data to the data sent to the template.
     *
     * @param string $name The name of this debug information
     * @param string[] $data Associative array of debug information as strings
     */
Add Debug Data
Adds debug data to the data sent to the template.

@param string $name The name of this debug information
@param string[] $data Associative array of debug information as strings
Add Debug Data Adds debug data to the data sent to the template . @param string $name The name of this debug information @param string [] $data Associative array of debug information as strings
public function addDebugData($name, $data) {
        if (!isset($this->data["debug"]))
            $this->data["debug"] = array();
        $this->data["debug"][$name] = $data;
    }
public function addDebugData ( $ name , $ data ) { if ( ! isset ( $ this -> data [ " debug " ] ) ) $ this -> data [ " debug " ] = array ( ) ; $ this -> data [ " debug " ] [ $ name ] = $ data ; }
Add Debug Data
 Adds debug data to the data sent to the template.
Add Debug Data Adds debug data to the data sent to the template .