private function generateFromConfig($entity,array $entityConfig,$type,$parameters = array())
    {
        $method = $entityConfig['type'][$type]['method'];
        if($method === "renderDefault"){
            return call_user_func_array(array($this,$method), array($entity,$entityConfig['type'][$type],$type,$parameters));
        }else{
            $object = $entityConfig['type'][$type]["linkGeneratorItem"];
            return call_user_func_array(array($object,$method), array($entity,$entityConfig['type'][$type],$type,$parameters));
        }
    }
private function generateFromConfig($entity,array $entityConfig,$type,$parameters = array())
    {
        $method = $entityConfig['type'][$type]['method'];
        if($method === "renderDefault"){
            return call_user_func_array(array($this,$method), array($entity,$entityConfig['type'][$type],$type,$parameters));
        }else{
            $object = $entityConfig['type'][$type]["linkGeneratorItem"];
            return call_user_func_array(array($object,$method), array($entity,$entityConfig['type'][$type],$type,$parameters));
        }
    }
private function generateFromConfig ( $ entity , array $ entityConfig , $ type , $ parameters = array ( ) ) { $ method = $ entityConfig [ 'type' ] [ $ type ] [ 'method' ] ; if ( $ method === "renderDefault" ) { return call_user_func_array ( array ( $ this , $ method ) , array ( $ entity , $ entityConfig [ 'type' ] [ $ type ] , $ type , $ parameters ) ) ; } else { $ object = $ entityConfig [ 'type' ] [ $ type ] [ "linkGeneratorItem" ] ; return call_user_func_array ( array ( $ object , $ method ) , array ( $ entity , $ entityConfig [ 'type' ] [ $ type ] , $ type , $ parameters ) ) ; } }
Genera un link a partir de la configuracion de ese objeto
@param type $entity
@param array $entityConfig
@param type $type
@return type
Genera un link a partir de la configuracion de ese objeto