public function setDefaultTarget(CNabuDataObject $nb_site_target)
    {
        $this->setDefaultTargetUseURI(CNabuSiteTargetLink::USE_URI_TRANSLATED);
        $this->transferValue($nb_site_target, 'nb_site_target_id', 'nb_site_default_target_id');

        return $this;
    }
public function setDefaultTarget(CNabuDataObject $nb_site_target)
    {
        $this->setDefaultTargetUseURI(CNabuSiteTargetLink::USE_URI_TRANSLATED);
        $this->transferValue($nb_site_target, 'nb_site_target_id', 'nb_site_default_target_id');

        return $this;
    }
public function setDefaultTarget ( CNabuDataObject $ nb_site_target ) { $ this -> setDefaultTargetUseURI ( CNabuSiteTargetLink :: USE_URI_TRANSLATED ) ; $ this -> transferValue ( $ nb_site_target , 'nb_site_target_id' , 'nb_site_default_target_id' ) ; return $ this ; }
Sets the default Site Target.
@param CNabuDataObject $nb_site_target Target instance to be setted.
@return CNabuSite Returns the $this instance.
Sets the default Site Target .