[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 class Services_Twilio_Rest_Members 4 extends Services_Twilio_ListResource 5 { 6 /** 7 * Return the member at the front of the queue. Note that any operations 8 * performed on the Member returned from this function will use the /Front 9 * Uri, not the Member's CallSid. 10 * 11 * @return Services_Twilio_Rest_Member The member at the front of the queue 12 */ 13 public function front() { 14 return new $this->instance_name($this->client, $this->uri . '/Front'); 15 } 16 17 /* Participants are identified by CallSid, not like ME123 */ 18 public function getObjectFromJson($params, $idParam = 'sid') { 19 return parent::getObjectFromJson($params, 'call_sid'); 20 } 21 22 public function getResourceName($camelized = false) 23 { 24 // The JSON property name is atypical. 25 return $camelized ? 'Members' : 'queue_members'; 26 } 27 } 28
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 |