Manager
class Manager
Manage Angular resources.
Properties
protected CRM_Core_Resources | $res | ||
protected array|null | $modules | Modules. | |
protected CRM_Utils_Cache_Interface | $cache | ||
protected array | $changeSets |
Methods
Get a list of AngularJS modules which should be autoloaded.
Get the descriptor for an Angular module.
Resolve a full list of Angular dependencies.
Get a list of Angular modules that should be loaded on the given base-page.
Convert any globs in an Angular module to file names.
Get the partial HTML documents for a module (unfiltered).
Get the partial HTML documents for a module.
Get list of translated strings for a module.
Get list of translatable strings for a module.
Get resources for one or more modules.
No description
Details
at line 51
__construct(CRM_Core_Resources $res, CRM_Utils_Cache_Interface $cache = NULL)
at line 73
array
getModules()
Get a list of AngularJS modules which should be autoloaded.
at line 132
array
getModule(string $name)
Get the descriptor for an Angular module.
at line 150
array
resolveDependencies(array $names)
Resolve a full list of Angular dependencies.
at line 182
array
resolveDefaultModules(string $basePage)
Get a list of Angular modules that should be loaded on the given base-page.
at line 201
protected array
resolvePatterns(array $modules)
Convert any globs in an Angular module to file names.
at line 227
array
getRawPartials(string $name)
Get the partial HTML documents for a module (unfiltered).
at line 254
array
getPartials(string $name)
Get the partial HTML documents for a module.
at line 272
array
getTranslatedStrings(string $name)
Get list of translated strings for a module.
at line 297
array
getStrings(string $name)
Get list of translatable strings for a module.
at line 330
array
getResources(string|array $moduleNames, string $resType, string $refType)
Get resources for one or more modules.