[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 class Services_Twilio_Rest_IpAddresses extends Services_Twilio_SIPListResource { 4 5 public function __construct($client, $uri) { 6 $this->instance_name = "Services_Twilio_Rest_IpAddress"; 7 parent::__construct($client, $uri); 8 } 9 10 /** 11 * Creates a new IpAddress instance 12 * 13 * Example usage: 14 * 15 * .. code-block:: php 16 * 17 * $client->account->sip->ip_access_control_lists->get('ALXXX')->ip_addresses->create( 18 * "FriendlyName", "127.0.0.1" 19 * ); 20 * 21 * :param string $friendly_name: the friendly name for the new IpAddress object 22 * :param string $ip_address: the ip address for the new IpAddress object 23 * :param array $params: a single array of parameters which is serialized and 24 * sent directly to the Twilio API. 25 */ 26 public function create($friendly_name, $ip_address, $params = array()) { 27 return parent::_create(array( 28 'FriendlyName' => $friendly_name, 29 'IpAddress' => $ip_address, 30 ) + $params); 31 } 32 } 33
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |