Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106493207
ConpherenceWidgetConfigConstants.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
Wed, Mar 26, 08:32
Size
1 KB
Mime Type
text/x-php
Expires
Fri, Mar 28, 08:32 (2 d)
Engine
blob
Format
Raw Data
Handle
25159665
Attached To
rPH Phabricator
ConpherenceWidgetConfigConstants.php
View Options
<?php
final
class
ConpherenceWidgetConfigConstants
extends
ConpherenceConstants
{
const
UPDATE_URI
=
'/conpherence/update/'
;
public
static
function
getWidgetPaneBehaviorConfig
()
{
return
array
(
'widgetBaseUpdateURI'
=>
self
::
UPDATE_URI
,
'widgetRegistry'
=>
self
::
getWidgetRegistry
(),
);
}
public
static
function
getWidgetRegistry
()
{
return
array
(
'conpherence-message-pane'
=>
array
(
'name'
=>
pht
(
'Thread'
),
'icon'
=>
'fa-comment'
,
'deviceOnly'
=>
true
,
'hasCreate'
=>
false
,
),
'widgets-people'
=>
array
(
'name'
=>
pht
(
'Participants'
),
'icon'
=>
'fa-users'
,
'deviceOnly'
=>
false
,
'hasCreate'
=>
true
,
'createData'
=>
array
(
'refreshFromResponse'
=>
true
,
'action'
=>
ConpherenceUpdateActions
::
ADD_PERSON
,
'customHref'
=>
null
,
),
),
'widgets-settings'
=>
array
(
'name'
=>
pht
(
'Notifications'
),
'icon'
=>
'fa-wrench'
,
'deviceOnly'
=>
false
,
'hasCreate'
=>
false
,
),
'widgets-edit'
=>
array
(
'name'
=>
pht
(
'Edit Room'
),
'icon'
=>
'fa-pencil'
,
'deviceOnly'
=>
false
,
'hasCreate'
=>
false
,
),
);
}
}
Event Timeline
Log In to Comment