| [ Index ] |
PHP Cross Reference of Phabricator |
[Source view] [Print] [Project Stats]
Interface to the static resource map, which is a graph of available resources, resource dependencies, and packaging information. You generally do not need to invoke it directly; instead, you call higher-level Celerity APIs and it uses the resource map to satisfy your requests.
| File Size: | 259 lines (7 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| __construct(CelerityResources $resources) X-Ref |
| No description |
| getNamedInstance($name) X-Ref |
| No description |
| getNameMap() X-Ref |
| No description |
| getSymbolMap() X-Ref |
| No description |
| getRequiresMap() X-Ref |
| No description |
| getPackageMap() X-Ref |
| No description |
| getPackagedNamesForSymbols(array $symbols) X-Ref |
| No description |
| resolveResources(array $symbols) X-Ref |
| No description |
| resolveResource(array &$map, $symbol) X-Ref |
| No description |
| packageResources(array $resolved_map) X-Ref |
| No description |
| getResourceDataForName($resource_name) X-Ref |
| No description |
| getResourceNamesForPackageName($package_name) X-Ref |
| No description |
| getModifiedTimeForName($name) X-Ref |
| Get the epoch timestamp of the last modification time of a symbol. param: string Resource symbol to lookup. return: int Epoch timestamp of last resource modification. |
| getURIForSymbol($symbol) X-Ref |
| Return the absolute URI for the resource associated with a symbol. This method is fairly low-level and ignores packaging. param: string Resource symbol to lookup. return: string|null Resource URI, or null if the symbol is unknown. |
| getURIForName($name) X-Ref |
| Return the absolute URI for the resource associated with a resource name. This method is fairly low-level and ignores packaging. param: string Resource name to lookup. return: string|null Resource URI, or null if the name is unknown. |
| getURIForHash($hash) X-Ref |
| Return the absolute URI for a resource, identified by hash. This method is fairly low-level and ignores packaging. param: string Resource hash to lookup. return: string|null Resource URI, or null if the hash is unknown. |
| getRequiredSymbolsForName($name) X-Ref |
| Return the resource symbols required by a named resource. param: string Resource name to lookup. return: list<string>|null List of required symbols, or null if the name |
| getResourceNameForSymbol($symbol) X-Ref |
| Return the resource name for a given symbol. param: string Resource symbol to lookup. return: string|null Resource name, or null if the symbol is unknown. |
| isPackageResource($name) X-Ref |
| No description |
| getResourceTypeForName($name) X-Ref |
| No description |
| Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |