public function getProspectStatusTypeByKey(string $key)
    {
        $retval = false;

        if (is_string($key)) {
            $this->getProspectStatusTypes();
            $retval = $this->nb_icontact_prospect_status_type_list->getItem($key, CNabuIContactProspectStatusTypeList::INDEX_KEY);
        }

        return $retval;
    }
public function getProspectStatusTypeByKey(string $key)
    {
        $retval = false;

        if (is_string($key)) {
            $this->getProspectStatusTypes();
            $retval = $this->nb_icontact_prospect_status_type_list->getItem($key, CNabuIContactProspectStatusTypeList::INDEX_KEY);
        }

        return $retval;
    }
public function getProspectStatusTypeByKey ( string $ key ) { $ retval = false ; if ( is_string ( $ key ) ) { $ this -> getProspectStatusTypes ( ) ; $ retval = $ this -> nb_icontact_prospect_status_type_list -> getItem ( $ key , CNabuIContactProspectStatusTypeList :: INDEX_KEY ) ; } return $ retval ; }
Get a specific Prospect Status Type of this instance identified by his key.
@param string $key A key to looking for.
@return CNabuIContactProspectStatusType|false Returns the status type instance if exists or false if not.
Get a specific Prospect Status Type of this instance identified by his key .