时间:2010-07-23 20:17:20

标签: php doctrine symfony-1.4 symfony-forms

2 个答案:

答案 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);
}