public function capture() { $collector = new Moeroas_Commercebug_Model_Collectorgraphviz(); $o = new stdClass(); $o->dot = Moeroas_Commercebug_Model_Observer_Dot::renderGraph(); $collector->collectInformation($o); }
public function formatLayout($object) { $result = "\nLayout Handles \n--------------------------------------------------" . "\n"; foreach ($object->layout->handles as $handle) { $result .= '<' . $handle . ' />' . "\n"; } $this->_info[] = $result; $this->_info[] = 'Graphviz: '; $this->_info[] = Moeroas_Commercebug_Model_Observer_Dot::renderGraph(); return $this; }