の携帯電話番号を持つ連絡先を取得するには09362724853
、次のコードを使用します。
$newSMS_contact = new Contact;
$newSMS_contact->retrieve_by_string_fields(array('phone_mobile'=>'09362724853'));
シュガーの内部関数を使用して09362724853
OR 9362724853
OR の携帯電話番号を持つ連絡先を取得するのはどうですか?+989362724853
これは機能しません:
$newSMS_contact = new Contact;
$newSMS_contact->retrieve_by_string_fields(array('phone_mobile'=>'09362724853', 'phone_mobile'=>'9362724853', 'phone_mobile'=>'+989362724853'));