public function setSiteTargetCTA(CNabuSiteTargetCTA $nb_site_target_cta, $field = NABU_SITE_TARGET_CTA_FIELD_ID)
    {
        $this->nb_site_target_cta = $nb_site_target_cta;
        if ($this instanceof CNabuDataObject) {
            $this->transferValue($nb_site_target_cta, NABU_SITE_TARGET_CTA_FIELD_ID, $field);
        }

        return $this;
    }
public function setSiteTargetCTA(CNabuSiteTargetCTA $nb_site_target_cta, $field = NABU_SITE_TARGET_CTA_FIELD_ID)
    {
        $this->nb_site_target_cta = $nb_site_target_cta;
        if ($this instanceof CNabuDataObject) {
            $this->transferValue($nb_site_target_cta, NABU_SITE_TARGET_CTA_FIELD_ID, $field);
        }

        return $this;
    }
public function setSiteTargetCTA ( CNabuSiteTargetCTA $ nb_site_target_cta , $ field = NABU_SITE_TARGET_CTA_FIELD_ID ) { $ this -> nb_site_target_cta = $ nb_site_target_cta ; if ( $ this instanceof CNabuDataObject ) { $ this -> transferValue ( $ nb_site_target_cta , NABU_SITE_TARGET_CTA_FIELD_ID , $ field ) ; } return $ this ; }
Sets the Site Target CTA instance that owns this object and sets the field containing the site id.
@param CNabuSiteTargetCTA $nb_site_target_cta Site Target CTA instance to be setted.
@param string $field Field name where the site id will be stored.
@return mixed Returns $this to allow the cascade chain of setters.
Sets the Site Target CTA instance that owns this object and sets the field containing the site id .