getTable($key)); $name = $this->table->getComponentName(); $data = $graph->getData($name); if(is_array($data)) { foreach($data as $k=>$v): $this->table->setData($v); $this->add($this->table->getRecord()); endforeach; } } } ?>