public function setSiteMap(CNabuSiteMap $nb_site_map, $field = NABU_SITE_MAP_FIELD_ID)
    {
        $this->nb_site_map = $nb_site_map;
        if ($this instanceof CNabuDataObject) {
            $this->transferValue($nb_site_map, NABU_SITE_MAP_FIELD_ID, $field);
        }

        return $this;
    }
public function setSiteMap(CNabuSiteMap $nb_site_map, $field = NABU_SITE_MAP_FIELD_ID)
    {
        $this->nb_site_map = $nb_site_map;
        if ($this instanceof CNabuDataObject) {
            $this->transferValue($nb_site_map, NABU_SITE_MAP_FIELD_ID, $field);
        }

        return $this;
    }
public function setSiteMap ( CNabuSiteMap $ nb_site_map , $ field = NABU_SITE_MAP_FIELD_ID ) { $ this -> nb_site_map = $ nb_site_map ; if ( $ this instanceof CNabuDataObject ) { $ this -> transferValue ( $ nb_site_map , NABU_SITE_MAP_FIELD_ID , $ field ) ; } return $ this ; }
Sets the Site Map instance that owns this object and sets the field containing the site id.
@param CNabuSiteMap $nb_site_map Site Map 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 Map instance that owns this object and sets the field containing the site id .