Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92687539
CelerityResources.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
Fri, Nov 22, 18:56
Size
646 B
Mime Type
text/x-php
Expires
Sun, Nov 24, 18:56 (2 d)
Engine
blob
Format
Raw Data
Handle
22486824
Attached To
rPH Phabricator
CelerityResources.php
View Options
<?php
/**
* Defines the location of static resources.
*/
abstract
class
CelerityResources
extends
Phobject
{
abstract
public
function
getName
();
abstract
public
function
getResourceData
(
$name
);
public
function
getResourceModifiedTime
(
$name
)
{
return
0
;
}
public
function
getResourceType
(
$path
)
{
return
CelerityResourceTransformer
::
getResourceType
(
$path
);
}
public
function
getResourceURI
(
$hash
,
$name
)
{
$resources
=
$this
->
getName
();
return
"/res/{$resources}/{$hash}/{$name}"
;
}
public
function
getResourcePackages
()
{
return
array
();
}
public
function
loadMap
()
{
return
array
();
}
}
Event Timeline
Log In to Comment