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

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

        return $this->nb_icontact_prospect_list;
    }
public function getProspects ( CNabuIContactProspectStatusType $ nb_status_type = null ) : CNabuIContactProspectList { $ this -> nb_icontact_prospect_list -> clear ( ) ; $ this -> nb_icontact_prospect_list -> merge ( CNabuIContactProspect :: getProspectsForIContact ( $ this , $ nb_status_type ) ) ; return $ this -> nb_icontact_prospect_list ; }
Get all prospects of an IContact.
@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 all prospects of an IContact .