public function getCTATarget()
    {
        if (!($this->nb_site_target_destination instanceof CNabuSiteTarget) &&
            $this->getTargetUseURI() === CNabuSiteTargetLink::USE_URI_TRANSLATED &&
            is_numeric($this->getTargetId())
        ) {
            $this->nb_site_target_destination = $this->nb_site_target->getSite()->getTarget($this->getTargetId());
        }

        return $this->nb_site_target_destination;
    }
public function getCTATarget()
    {
        if (!($this->nb_site_target_destination instanceof CNabuSiteTarget) &&
            $this->getTargetUseURI() === CNabuSiteTargetLink::USE_URI_TRANSLATED &&
            is_numeric($this->getTargetId())
        ) {
            $this->nb_site_target_destination = $this->nb_site_target->getSite()->getTarget($this->getTargetId());
        }

        return $this->nb_site_target_destination;
    }
public function getCTATarget ( ) { if ( ! ( $ this -> nb_site_target_destination instanceof CNabuSiteTarget ) && $ this -> getTargetUseURI ( ) === CNabuSiteTargetLink :: USE_URI_TRANSLATED && is_numeric ( $ this -> getTargetId ( ) ) ) { $ this -> nb_site_target_destination = $ this -> nb_site_target -> getSite ( ) -> getTarget ( $ this -> getTargetId ( ) ) ; } return $ this -> nb_site_target_destination ; }
Gets the Site Target destination instance.
@return CNabuSiteTarget Returns the instance if setted or null if not.
Gets the Site Target destination instance .