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())

No description

Parameters

array $constants

setConstants(array $constants = array())

No description

Parameters

array $constants

scanSourceTree($sourceDir)

No description

Parameters

$sourceDir

addConstant($const)

No description

Parameters

$const

addConstants(array $consts)

No description

Parameters

array $consts

protected _populateRegister()

No description

getConstantList()

No description

getRegister()

No description

render($path = 'Concrete')

No description

Parameters

$path