PHP Class Field_SQL_HasOne, atk4

Inheritance: extends Field_SQL_Expression
Exibir arquivo Open project: atk4/atk4

Public Methods

Method Description
getExpression ( SQL_Model $model ) : DB_dsql
getForeignFieldName ( ) : string
getValue ( SQL_Model $model, $data ) : mixed
setForeignFieldName ( string $name )

Method Details

getExpression() public method

public getExpression ( SQL_Model $model ) : DB_dsql
$model SQL_Model
return DB_dsql

getForeignFieldName() public method

public getForeignFieldName ( ) : string
return string

getValue() public method

public getValue ( SQL_Model $model, $data ) : mixed
$model SQL_Model
return mixed

setForeignFieldName() public method

public setForeignFieldName ( string $name )
$name string