Example #1
0
 /**
  * Render table
  * 
  * @param  \Zend\Db\Metadata\Table $table
  * @return string 
  */
 public function renderTable(\Zend\Db\Metadata\Table $table)
 {
     $output = '';
     $output .= 'The \'' . $table->getName() . "' Table\n";
     $output .= $this->renderColumns($table->getColumnCollection()) . "\n";
     $output .= $this->renderConstraints($table->getConstraintCollection()) . "\n\n";
     return $output;
 }