コード例 #1
0
ファイル: Graphviz.php プロジェクト: CE-Webmaster/CE-Hub
 public function capture()
 {
     $collector = new Clevelandequipment_Commercebug_Model_Collectorgraphviz();
     $o = new stdClass();
     $o->dot = Clevelandequipment_Commercebug_Model_Observer_Dot::renderGraph();
     $collector->collectInformation($o);
 }
コード例 #2
0
ファイル: Allsimple.php プロジェクト: CE-Webmaster/CE-Hub
 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[] = Clevelandequipment_Commercebug_Model_Observer_Dot::renderGraph();
     return $this;
 }