Property | Type | Description | |
---|---|---|---|
$UrlPrefix | string |
Property | Type | Description | |
---|---|---|---|
$_CssFiles | List of CSS files to serve. |
Method | Description | |
---|---|---|
addCssFile ( $filename, boolean $folder = false, boolean $options = false ) | Add to the list of CSS files to serve. | |
cssPath ( string $filename, string $folder = '', string $themeType = '' ) : array | boolean | Lookup the path to a CSS file and return its info array | |
eTag ( ) : string | Generate an e-tag for the application from the versions of all of its enabled applications/plugins. | |
getAnchors ( ) : array | Get list of CSS anchor files | |
getCssFiles ( $themeType, $basename, $eTag, null &$notFound = null ) : array | ||
jsPath ( string $filename, string $folder = '', string $themeType = '' ) : array | boolean | Lookup the path to a JS file and return its info array | |
resourceHash ( array $resources ) : string | Generate a hash for a group of resources, based on keys + versions | |
serveCss ( $themeType, $filename ) | Serve all CSS files. | |
viewExtensions ( boolean $fresh = false ) : array | Get list of allowed view extensions | |
viewHandlers ( boolean $fresh = false ) : array | Get list of defined view handlers | |
viewLocation ( string $view, string $controller, string $folder, array | null $extensions = null ) : string | false | Get the path to a view. |
Method | Description | |
---|---|---|
_comparePath ( $a, $b ) : integer | Sorting callback |
protected _comparePath ( $a, $b ) : integer | ||
$a | ||
$b | ||
return | integer |
public addCssFile ( $filename, boolean $folder = false, boolean $options = false ) | ||
$filename | ||
$folder | boolean | |
$options | boolean |
public static getAnchors ( ) : array | ||
return | array |
public getCssFiles ( $themeType, $basename, $eTag, null &$notFound = null ) : array | ||
$themeType | ||
$basename | ||
$eTag | ||
$notFound | null | |
return | array |
public resourceHash ( array $resources ) : string | ||
$resources | array | |
return | string |
public serveCss ( $themeType, $filename ) | ||
$themeType | ||
$filename |
public static viewExtensions ( boolean $fresh = false ) : array | ||
$fresh | boolean | |
return | array | list of extensions |
public static viewHandlers ( boolean $fresh = false ) : array | ||
$fresh | boolean | |
return | array |
public static viewLocation ( string $view, string $controller, string $folder, array | null $extensions = null ) : string | false | ||
$view | string | the name of the view. |
$controller | string | the name of the controller invoking the view or blank. |
$folder | string | the application folder or plugins/ |
$extensions | array | null | optional. list of extensions to allow |
return | string | false | The path to the view or false if it wasn't found. |