[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/externals/twilio-php/Services/Twilio/Rest/ -> IncomingPhoneNumbers.php (summary)

(no description)

File Size: 59 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 classes

Services_Twilio_Rest_IncomingPhoneNumbers:: (4 methods):
  init()
  create()
  getList()
  getNumber()

Services_Twilio_Rest_Local:: (0 methods):

Services_Twilio_Rest_Mobile:: (0 methods):

Services_Twilio_Rest_TollFree:: (0 methods):


Class: Services_Twilio_Rest_IncomingPhoneNumbers  - X-Ref

For more information, see the
`IncomingPhoneNumbers API Resource
<http://www.twilio.com/docs/api/rest/incoming-phone-numbers#local>`_
documentation at twilio.com.

init($client, $uri)   X-Ref
No description

create(array $params = array()   X-Ref
No description

getList($type, array $params = array()   X-Ref
No description

getNumber($number)   X-Ref
Return a phone number instance from its E.164 representation. If more
than one number matches the search string, returns the first one.

Example usage:

.. code-block:: php

$number = $client->account->incoming_phone_numbers->getNumber('+14105551234');
echo $number->sid;

:param string $number: The number in E.164 format, eg "+684105551234"
:return:  A :php:class:`Services_Twilio_Rest_IncomingPhoneNumber` object, or null
:raises: a A :php:class:`Services_Twilio_RestException` if the number is
invalid, not provided in E.164 format or for any other API exception.

Class: Services_Twilio_Rest_Local  - X-Ref

Class: Services_Twilio_Rest_Mobile  - X-Ref

Class: Services_Twilio_Rest_TollFree  - X-Ref



Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1