class JSConstantGenerator (View source)

Properties

private $_constants
private $_register

Methods

__construct(array $constants = array())

No description

setConstants(array $constants = array())

No description

scanSourceTree($sourceDir)

No description

addConstant($const)

No description

addConstants(array $consts)

No description

_populateRegister()

No description

getConstantList()

No description

getRegister()

No description

render($path = 'Concrete')

No description

Details

__construct(array $constants = array())

Parameters

array $constants

setConstants(array $constants = array())

Parameters

array $constants

scanSourceTree($sourceDir)

Parameters

$sourceDir

addConstant($const)

Parameters

$const

addConstants(array $consts)

Parameters

array $consts

protected _populateRegister()

getConstantList()

getRegister()

render($path = 'Concrete')

Parameters

$path