PHP Class atk4\data\Field_SQL

Inheritance: extends Field, implements atk4\dsql\Expressionable
Afficher le fichier Open project: atk4/data

Méthodes publiques

Свойство Type Description
$actual string | null Actual field name.

Méthodes publiques

Méthode Description
getDSQLExpression ( atk\dsql\Expression $expression ) : atk\dsql\Expression When field is used as expression, this method will be called.
normalize ( mixed $value ) : mixed SQL fields are allowed to have expressions inside of them.
useAlias ( ) : boolean Should this field use alias?

Method Details

getDSQLExpression() public méthode

When field is used as expression, this method will be called.
public getDSQLExpression ( atk\dsql\Expression $expression ) : atk\dsql\Expression
$expression atk\dsql\Expression
Résultat atk\dsql\Expression

normalize() public méthode

SQL fields are allowed to have expressions inside of them.
public normalize ( mixed $value ) : mixed
$value mixed
Résultat mixed

useAlias() public méthode

Should this field use alias?
public useAlias ( ) : boolean
Résultat boolean

Property Details

$actual public_oe property

Actual field name.
public string|null $actual
Résultat string | null