Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122926676
Javelin.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, Jul 23, 00:05
Size
1003 B
Mime Type
text/x-php
Expires
Fri, Jul 25, 00:05 (2 d)
Engine
blob
Format
Raw Data
Handle
27575338
Attached To
rPH Phabricator
Javelin.php
View Options
<?php
final
class
Javelin
{
public
static
function
initBehavior
(
$behavior
,
array
$config
=
array
())
{
switch
(
$behavior
)
{
case
'differential-dropdown-menus'
:
$config
[
'pht'
]
=
array
(
'Open in Editor'
=>
pht
(
'Open in Editor'
),
'Show Entire File'
=>
pht
(
'Show Entire File'
),
'Entire File Shown'
=>
pht
(
'Entire File Shown'
),
"Can't Toggle Unloaded File"
=>
pht
(
"Can't Toggle Unloaded File"
),
'Expand File'
=>
pht
(
'Expand File'
),
'Collapse File'
=>
pht
(
'Collapse File'
),
'Browse in Diffusion'
=>
pht
(
'Browse in Diffusion'
),
'View Standalone'
=>
pht
(
'View Standalone'
),
'Show Raw File (Left)'
=>
pht
(
'Show Raw File (Left)'
),
'Show Raw File (Right)'
=>
pht
(
'Show Raw File (Right)'
),
'Configure Editor'
=>
pht
(
'Configure Editor'
),
);
break
;
}
$response
=
CelerityAPI
::
getStaticResourceResponse
();
$response
->
initBehavior
(
$behavior
,
$config
);
}
}
Event Timeline
Log In to Comment