PHP Class Redaxscript\Assetic\Transport

Since: 3.0.0
Author: Henry Ruhs
显示文件 Open project: redaxmedia/redaxscript Class Usage Examples

Protected Properties

Property Type Description
$_language object instance of the language class
$_registry object instance of the registry class
$_registryArray array registry array to be transported

Public Methods

Method Description
__construct ( Registry $registry, Language $language ) constructor of the class
getArray ( ) : array get the array
render ( string $key = null, mixed $value = null ) : string render the javascript variables

Method Details

__construct() public method

constructor of the class
Since: 2.4.0
public __construct ( Registry $registry, Language $language )
$registry Redaxscript\Registry instance of the registry class
$language Redaxscript\Language instance of the language class

getArray() public method

get the array
Since: 3.0.0
public getArray ( ) : array
return array

render() public method

render the javascript variables
Since: 3.0.0
public render ( string $key = null, mixed $value = null ) : string
$key string
$value mixed
return string

Property Details

$_language protected_oe property

instance of the language class
protected object $_language
return object

$_registry protected_oe property

instance of the registry class
protected object $_registry
return object

$_registryArray protected_oe property

registry array to be transported
Since: 3.0.0
protected array $_registryArray
return array