PHP Class WidgetContext

Inheritance: extends Behat\Behat\Context\BehatContext
Show file Open project: sourcefabric/newscoop Class Usage Examples

Public Properties

Property Type Description
$m_columnNames array
$m_dbTableName string
$m_keyColumnNames string

Public Methods

Method Description
__construct ( string $name )
getId ( ) : integer Get id
getName ( ) : string Get name
getWidgets ( ) : array Get context widgets
render ( ) : void Render context
setWidgets ( array $widgets = [] ) : boolean Set context widgets

Method Details

__construct() public method

public __construct ( string $name )
$name string

getId() public method

Get id
public getId ( ) : integer
return integer

getName() public method

Get name
public getName ( ) : string
return string

getWidgets() public method

Get context widgets
public getWidgets ( ) : array
return array of IWidget

render() public method

Render context
public render ( ) : void
return void

setWidgets() public method

Set context widgets
public setWidgets ( array $widgets = [] ) : boolean
$widgets array
return boolean

Property Details

$m_columnNames public property

public array $m_columnNames
return array

$m_dbTableName public property

public string $m_dbTableName
return string

$m_keyColumnNames public property

public string $m_keyColumnNames
return string