public function generate($entity,$type = self::TYPE_LINK_DEFAULT,$parameters = array())
    {
        if($type === null){
            $type = self::TYPE_LINK_DEFAULT;
        }
        $entityConfig = $this->getEntityConf($entity);
        $link = '';
        if($entityConfig){
            $link = $this->generateFromConfig($entity,$entityConfig,$type,$parameters);
        }
        return $link;
    }
public function generate($entity,$type = self::TYPE_LINK_DEFAULT,$parameters = array())
    {
        if($type === null){
            $type = self::TYPE_LINK_DEFAULT;
        }
        $entityConfig = $this->getEntityConf($entity);
        $link = '';
        if($entityConfig){
            $link = $this->generateFromConfig($entity,$entityConfig,$type,$parameters);
        }
        return $link;
    }
public function generate ( $ entity , $ type = self :: TYPE_LINK_DEFAULT , $ parameters = array ( ) ) { if ( $ type === null ) { $ type = self :: TYPE_LINK_DEFAULT ; } $ entityConfig = $ this -> getEntityConf ( $ entity ) ; $ link = '' ; if ( $ entityConfig ) { $ link = $ this -> generateFromConfig ( $ entity , $ entityConfig , $ type , $ parameters ) ; } return $ link ; }
Genera el link del objeto

@param type $entity
@param type $type
@return type
Genera el link del objeto