'firePHP', 'forceEnable' => false); /** * send method * * @return void * @access protected */ function send() { $view =& ClassRegistry::getObject('view'); $view->element('debug_toolbar', array('plugin' => 'debug_kit', 'disableTimer' => true)); } /** * makeNeatArray. * * wraps FireCake::dump() allowing panel elements to continue functioning * * @param string $values * @return void */ function makeNeatArray($values) { FireCake::info($values); } /** * Create a simple message * * @param string $label Label of message * @param string $message Message content * @return void */ function message($label, $message) { FireCake::log($message, $label); } /** * Generate a table with FireCake * * @param array $rows Rows to print * @param array $headers Headers for table * @param array $options Additional options and params * @return void */ function table($rows, $headers, $options = array()) { $title = $headers[0]; if (isset($options['title'])) { $title = $options['title']; } foreach ($rows as $i => $row) { $rows[$i] = array_values($row); } array_unshift($rows, $headers); FireCake::table($title, $rows); } /** * Start a panel which is a 'Group' in FirePHP * * @return void **/ function panelStart($title, $anchor) { FireCake::group($title); } /** * End a panel (Group) * * @return void **/ function panelEnd() { FireCake::groupEnd(); } }