[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

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

(no description)

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

Defines 16 functions

  __construct()
  getNameMap()
  getSymbolMap()
  getRequiresMap()
  getPackageMap()
  setDebug()
  log()
  generate()
  write()
  formatMapContent()
  rebuildBinaryResources()
  rebuildTextResources()
  getProvidesAndRequires()
  detectGraphCycles()
  rebuildPackages()
  mergeNameMaps()

Functions
Functions that are not part of a class:

__construct(CelerityPhysicalResources $resources)   X-Ref
No description

getNameMap()   X-Ref
No description

getSymbolMap()   X-Ref
No description

getRequiresMap()   X-Ref
No description

getPackageMap()   X-Ref
No description

setDebug($debug)   X-Ref
No description

log($message)   X-Ref
No description

generate()   X-Ref
No description

write()   X-Ref
No description

formatMapContent(array $data)   X-Ref
No description

rebuildBinaryResources(CelerityPhysicalResources $resources)   X-Ref
Find binary resources (like PNG and SWF) and return information about
them.

param: CelerityPhysicalResources Resource map to find binary resources for.
return: map<string, map<string, string>> Resource information map.

rebuildTextResources(CelerityPhysicalResources $resources,CelerityResourceTransformer $xformer)   X-Ref
Find text resources (like JS and CSS) and return information about them.

param: CelerityPhysicalResources Resource map to find text resources for.
param: CelerityResourceTransformer Configured resource transformer.
return: map<string, map<string, string>> Resource information map.

getProvidesAndRequires($name, $data)   X-Ref
Parse the `@provides` and `@requires` symbols out of a text resource, like
JS or CSS.

param: string Resource name.
param: string Resource data.
return: pair<string|null, list<string>|null> The `@provides` symbol and

detectGraphCycles(array $nodes)   X-Ref
Check for dependency cycles in the resource graph. Raises an exception if
a cycle is detected.

param: map<string, list<string>> Map of `@provides` symbols to their
return: void

rebuildPackages(CelerityPhysicalResources $resources,array $symbol_map,array $reverse_map)   X-Ref
Build package specifications for a given resource source.

param: CelerityPhysicalResources Resource source to rebuild.
param: map<string, string> Map of `@provides` to hashes.
param: map<string, string> Map of hashes to resource names.
return: map<string, map<string, string>> Package information maps.

mergeNameMaps(array $maps)   X-Ref
No description



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