public function getProspectsOfUser($nb_user, CNabuIContactProspectStatusType $nb_status_type = null) : CNabuIContactProspectList
    {
        $this->nb_icontact_prospect_list->clear();
        $this->nb_icontact_prospect_list->merge(CNabuIContactProspect::getProspectsOfUser($this, $nb_user, $nb_status_type));

        return $this->nb_icontact_prospect_list;
    }
public function getProspectsOfUser($nb_user, CNabuIContactProspectStatusType $nb_status_type = null) : CNabuIContactProspectList
    {
        $this->nb_icontact_prospect_list->clear();
        $this->nb_icontact_prospect_list->merge(CNabuIContactProspect::getProspectsOfUser($this, $nb_user, $nb_status_type));

        return $this->nb_icontact_prospect_list;
    }
public function getProspectsOfUser ( $ nb_user , CNabuIContactProspectStatusType $ nb_status_type = null ) : CNabuIContactProspectList { $ this -> nb_icontact_prospect_list -> clear ( ) ; $ this -> nb_icontact_prospect_list -> merge ( CNabuIContactProspect :: getProspectsOfUser ( $ this , $ nb_user , $ nb_status_type ) ) ; return $ this -> nb_icontact_prospect_list ; }
Get a list with all Prospects owned by a User.
@param mixed $nb_user A CNabuDataObject containing a field named nb_user_id or a valid Id.
@param CNabuIContactProspectStatusType|null $nb_status_type If setted, the list is filtered using this status.
@return CNabuIContactProspectList Returns a list instance with all types found.
Get a list with all Prospects owned by a User .