PHP Class Field_HasOne, atk4

Inheritance: extends Field_Calculated
Mostrar archivo Open project: atk4/atk4

Protected Properties

Property Type Description
$foreignName string

Public Methods

Method Description
getForeignFieldName ( ) : string
getValue ( Model $model, array $data ) : mixed
setForeignFieldName ( string $name )

Method Details

getForeignFieldName() public method

public getForeignFieldName ( ) : string
return string

getValue() public method

public getValue ( Model $model, array $data ) : mixed
$model Model
$data array
return mixed

setForeignFieldName() public method

public setForeignFieldName ( string $name )
$name string

Property Details

$foreignName protected_oe property

protected string $foreignName
return string