Friday, March 9, 2012

Get Field Comments with Doctrine in Symfony

In Action:
$t = Doctrine::getTable('Product'); 
foreach($t->getColumns() as $key => $column) {
   $comments[$key] = $column['comment'];     
}

No comments:

Post a Comment