[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/celerity/controller/ -> CelerityResourceController.php (summary)

(no description)

File Size: 158 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 9 functions

  buildResourceTransformer()
  shouldRequireLogin()
  shouldRequireEnabledUser()
  shouldAllowPartialSessions()
  serveResource()
  getSupportedResourceTypes()
  makeResponseCacheable()
  isCacheableResourceType()
  getCacheKey()

Functions
Functions that are not part of a class:

buildResourceTransformer()   X-Ref
No description

shouldRequireLogin()   X-Ref
No description

shouldRequireEnabledUser()   X-Ref
No description

shouldAllowPartialSessions()   X-Ref
No description

serveResource($path, $package_hash = null)   X-Ref
No description

getSupportedResourceTypes()   X-Ref
No description

makeResponseCacheable(AphrontResponse $response)   X-Ref
No description

isCacheableResourceType($type)   X-Ref
Is it appropriate to cache the data for this resource type in the fast
immutable cache?

Generally, text resources (which are small, and expensive to process)
are cached, while other types of resources (which are large, and cheap
to process) are not.

param: string  Resource type.
return: bool   True to enable caching.

getCacheKey($path)   X-Ref
No description



Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1