public function __get($name)Inherited
public function __get($name)
Inherited
Parameters
$name |
Return
wild |
public function __set($name, $value)Inherited
public function __set($name, $value)
Inherited
Parameters
$name | ||
$value |
Return
wild |
public function current()Inherited
public function current()
Inherited
Return
wild |
public function key()Inherited
public function key()
Inherited
Return
wild |
public function next()Inherited
public function next()
Inherited
Return
wild |
public function rewind()Inherited
public function rewind()
Inherited
Return
wild |
public function valid()Inherited
public function valid()
Inherited
Return
wild |
private function throwOnAttemptedIteration()Inherited
private function throwOnAttemptedIteration()
Inherited
Return
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
public function getPhobjectClassConstant($key, $byte_limit)
Inherited
Phobject
Read the value of a class constant.
This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.
Parameters
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
Return
string | Value of the constant. |
public function setPostprocessorKey($postprocessor_key)
public function setPostprocessorKey($postprocessor_key)
Parameters
$postprocessor_key |
Return
wild |
public function getPostprocessorKey()
public function getPostprocessorKey()
Return
wild |
public function setTranslateURICallback($translate_uricallback)
public function setTranslateURICallback($translate_uricallback)
Parameters
$translate_uricallback |
Return
wild |
public function setMinify($minify)
public function setMinify($minify)
Parameters
$minify |
Return
wild |
public function setCelerityMap($celerity_map)
public function setCelerityMap($celerity_map)
Parameters
CelerityResourceMap | $celerity_map |
Return
wild |
public function setRawURIMap($raw_urimap)
public function setRawURIMap($raw_urimap)
Parameters
array | $raw_urimap |
Return
wild |
public function getRawURIMap()
public function getRawURIMap()
Return
wild |
public function transformResource($path, $data)
public function transformResource($path, $data)
Parameters
$path | ||
$data |
Return
wild |
public static function getResourceType($path)
public static function getResourceType($path)
Parameters
$path |
Return
wild |
public function translateResourceURI($matches)
public function translateResourceURI($matches)
Parameters
array | $matches |
Return
wild |
private function replaceCSSVariables($path, $data)
private function replaceCSSVariables($path, $data)
Parameters
$path | ||
$data |
Return
wild |
private function replaceCSSPrintRules($path, $data)
private function replaceCSSPrintRules($path, $data)
Parameters
$path | ||
$data |
Return
wild |
public function getCSSVariableMap()
public function getCSSVariableMap()
Return
wild |
public function replaceCSSVariable($matches)
public function replaceCSSVariable($matches)
Parameters
$matches |
Return
wild |
public function replaceCSSPrintRule($matches)
public function replaceCSSPrintRule($matches)
Parameters
$matches |
Return
wild |
private function generateDataURI($resource_name)
private function generateDataURI($resource_name)
Attempt to generate a data URI for a resource. We'll generate a data URI if the resource is a valid resource of an appropriate type, and is small enough. Otherwise, this method will return null and we'll end up using a normal URI instead.
Parameters
string | $resource_name | Resource name to attempt to generate a data URI for. |
Return
string|null | Data URI, or null if we declined to generate one. |