CRM_Extension_Container_Default
class CRM_Extension_Container_Default extends CRM_Extension_Container_Basic
The default container is just a basic container which can be configured via the web UI.
Properties
string | $baseDir | from CRM_Extension_Container_Basic | |
string | $baseUrl | from CRM_Extension_Container_Basic | |
CRM_Utils_Cache_Interface|NULL | $cache | from CRM_Extension_Container_Basic | |
string | $cacheKey | from CRM_Extension_Container_Basic | |
array($key | $relPaths | from CRM_Extension_Container_Basic | |
array($key | $relUrls | from CRM_Extension_Container_Basic | |
protected array | $filters | from CRM_Extension_Container_Basic |
Methods
No description
No description
Determine the relative path of an extension directory.
Determine the relative path of an extension directory.
Register a filter which determine whether a copy of an extension appears as available.
Convert a list of relative paths to relative URLs.
Details
in CRM_Extension_Container_Basic at line 103
__construct(string $baseDir, string $baseUrl, CRM_Utils_Cache_Interface $cache = NULL, string $cacheKey = NULL)
at line 44
checkRequirements()
in CRM_Extension_Container_Basic at line 139
getKeys()
in CRM_Extension_Container_Basic at line 146
getPath(string $key)
in CRM_Extension_Container_Basic at line 153
getResUrl(string $key)
in CRM_Extension_Container_Basic at line 170
refresh()
in CRM_Extension_Container_Basic at line 180
string
getBaseDir()
in CRM_Extension_Container_Basic at line 193
protected string
getRelPath(string $key)
Determine the relative path of an extension directory.
in CRM_Extension_Container_Basic at line 207
protected array
getRelPaths()
Scan $basedir for a list of extension-keys
in CRM_Extension_Container_Basic at line 255
protected string
getRelUrl(string $key)
Determine the relative path of an extension directory.
in CRM_Extension_Container_Basic at line 269
protected array
getRelUrls()
Scan $basedir for a list of extension-keys
in CRM_Extension_Container_Basic at line 288
$this
addFilter(callable $callable)
Register a filter which determine whether a copy of an extension appears as available.
in CRM_Extension_Container_Basic at line 305
static array
convertPathsToUrls(string $dirSep, array $relPaths)
Convert a list of relative paths to relative URLs.
Note: Treat as private. This is only public to facilitate testing.