PHP Class atk4\data\tests\Structure

Inheritance: extends atk4\dsql\Expression
Show file Open project: atk4/data Class Usage Examples

Public Properties

Property Type Description
$mode

Protected Properties

Property Type Description
$templates

Public Methods

Method Description
_render_field ( )
create ( )
drop ( )
field ( $name, $options = [] )
id ( $name = null )
mode ( $mode )
table ( $table )

Protected Methods

Method Description
_set_args ( string $what, string $alias, mixed $value ) Sets value in args array. Doesn't allow duplicate aliases.

Method Details

_render_field() public method

public _render_field ( )

_set_args() protected method

Sets value in args array. Doesn't allow duplicate aliases.
protected _set_args ( string $what, string $alias, mixed $value )
$what string Where to set it - table|field
$alias string Alias name
$value mixed Value to set in args array

create() public method

public create ( )

drop() public method

public drop ( )

field() public method

public field ( $name, $options = [] )

id() public method

public id ( $name = null )

mode() public method

public mode ( $mode )

table() public method

public table ( $table )

Property Details

$mode public property

public $mode

$templates protected property

protected $templates