标签: php doctrine symfony-1.4 symfony-forms
答案 0 :(得分:2)
答案 1 :(得分:-1)
prueba asi
$class=get_class($object); if ( method_exists($class , $method)||$object->getTable()->hasField($fieldName)) { $string= str_replace($matches,call_user_func(array($object, $method)),$string); }