public function setIContact(CNabuIContact $nb_icontact)
    {
        $this->nb_icontact = $nb_icontact;
        if ($this instanceof CNabuDataObject && $nb_icontact->contains(NABU_ICONTACT_FIELD_ID)) {
            $this->transferValue($nb_icontact, NABU_ICONTACT_FIELD_ID);
        }

        return $this;
    }
public function setIContact(CNabuIContact $nb_icontact)
    {
        $this->nb_icontact = $nb_icontact;
        if ($this instanceof CNabuDataObject && $nb_icontact->contains(NABU_ICONTACT_FIELD_ID)) {
            $this->transferValue($nb_icontact, NABU_ICONTACT_FIELD_ID);
        }

        return $this;
    }
public function setIContact ( CNabuIContact $ nb_icontact ) { $ this -> nb_icontact = $ nb_icontact ; if ( $ this instanceof CNabuDataObject && $ nb_icontact -> contains ( NABU_ICONTACT_FIELD_ID ) ) { $ this -> transferValue ( $ nb_icontact , NABU_ICONTACT_FIELD_ID ) ; } return $ this ; }
Sets the iContact instance that onws this object.
@param CNabuIContact $nb_icontact The iContact instance to be setted.
@return mixed Return $this to grant cascade chain.
Sets the iContact instance that onws this object .