[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/celerity/ -> CelerityResourceTransformer.php (summary)

(no description)

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

Defines 14 functions

  setTranslateURICallback()
  setMinify()
  setCelerityMap()
  setRawURIMap()
  getRawURIMap()
  transformResource()
  getResourceType()
  translateResourceURI()
  replaceCSSVariables()
  replaceCSSPrintRules()
  getCSSVariableMap()
  replaceCSSVariable()
  replaceCSSPrintRule()
  generateDataURI()

Functions
Functions that are not part of a class:

setTranslateURICallback($translate_uricallback)   X-Ref
No description

setMinify($minify)   X-Ref
No description

setCelerityMap(CelerityResourceMap $celerity_map)   X-Ref
No description

setRawURIMap(array $raw_urimap)   X-Ref
No description

getRawURIMap()   X-Ref
No description

transformResource($path, $data)   X-Ref


getResourceType($path)   X-Ref
No description

translateResourceURI(array $matches)   X-Ref
No description

replaceCSSVariables($path, $data)   X-Ref
No description

replaceCSSPrintRules($path, $data)   X-Ref
No description

getCSSVariableMap()   X-Ref
No description

replaceCSSVariable($matches)   X-Ref
No description

replaceCSSPrintRule($matches)   X-Ref
No description

generateDataURI($resource_name)   X-Ref
Attempt to generate a data URI for a resource. We'll generate a data URI
if the resource is a valid resource of an appropriate type, and is
small enough. Otherwise, this method will return `null` and we'll end up
using a normal URI instead.

param: string  Resource name to attempt to generate a data URI for.
return: string|null Data URI, or null if we declined to generate one.



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