public function setCatalog(CNabuCatalog $nb_catalog)
    {
        $this->nb_catalog = $nb_catalog;
        if ($this instanceof CNabuDataObject && $nb_catalog->contains(NABU_CATALOG_FIELD_ID)) {
            $this->transferValue($nb_catalog, NABU_CATALOG_FIELD_ID);
        }

        return $this;
    }
public function setCatalog(CNabuCatalog $nb_catalog)
    {
        $this->nb_catalog = $nb_catalog;
        if ($this instanceof CNabuDataObject && $nb_catalog->contains(NABU_CATALOG_FIELD_ID)) {
            $this->transferValue($nb_catalog, NABU_CATALOG_FIELD_ID);
        }

        return $this;
    }
public function setCatalog ( CNabuCatalog $ nb_catalog ) { $ this -> nb_catalog = $ nb_catalog ; if ( $ this instanceof CNabuDataObject && $ nb_catalog -> contains ( NABU_CATALOG_FIELD_ID ) ) { $ this -> transferValue ( $ nb_catalog , NABU_CATALOG_FIELD_ID ) ; } return $ this ; }
Sets the Catalog instance that onws this object.
@param CNabuCatalog $nb_catalog The Catalog instance to be setted.
@return mixed Return $this to grant cascade chain.
Sets the Catalog instance that onws this object .