Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99126301
Members.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jan 20, 20:13
Size
877 B
Mime Type
text/x-php
Expires
Wed, Jan 22, 20:13 (2 d)
Engine
blob
Format
Raw Data
Handle
23711207
Attached To
rPH Phabricator
Members.php
View Options
<?php
class
Services_Twilio_Rest_Members
extends
Services_Twilio_ListResource
{
/**
* Return the member at the front of the queue. Note that any operations
* performed on the Member returned from this function will use the /Front
* Uri, not the Member's CallSid.
*
* @return Services_Twilio_Rest_Member The member at the front of the queue
*/
public
function
front
()
{
return
new
$this
->
instance_name
(
$this
->
client
,
$this
->
uri
.
'/Front'
);
}
/* Participants are identified by CallSid, not like ME123 */
public
function
getObjectFromJson
(
$params
,
$idParam
=
'sid'
)
{
return
parent
::
getObjectFromJson
(
$params
,
'call_sid'
);
}
public
function
getResourceName
(
$camelized
=
false
)
{
// The JSON property name is atypical.
return
$camelized
?
'Members'
:
'queue_members'
;
}
}
Event Timeline
Log In to Comment