class AlterOperation extends Component

Parses an alter operation.

Properties

static array $DB_OPTIONS All database options.
static array $TABLE_OPTIONS All table options.
static array $VIEW_OPTIONS All view options.
OptionsArray $options Options of this operation.
Expression $field The altered field.
Token[]|string $unknown Unparsed tokens.

Methods

static mixed
parse(Parser $parser, TokensList $list, array $options = array())

No description

static string
build(mixed $component, array $options = array())

No description

string
__toString()

Builds the string representation of a component of this type.

from Component
__construct(OptionsArray $options = null, Expression $field = null, array $unknown = array())

Constructor.

Details

at line 143
static mixed parse(Parser $parser, TokensList $list, array $options = array())

Parameters

Parser $parser the parser that serves as context
TokensList $list the list of tokens that are being parsed
array $options parameters for parsing

Return Value

mixed

at line 269
static string build(mixed $component, array $options = array())

Parameters

mixed $component the component to be built
array $options parameters for building

Return Value

string

in Component at line 73
string __toString()

Builds the string representation of a component of this type.

Return Value

string

See also

at line 126
__construct(OptionsArray $options = null, Expression $field = null, array $unknown = array())

Constructor.

Parameters

OptionsArray $options options of alter operation
Expression $field altered field
array $unknown unparsed tokens found at the end of operation