PHP Class Eva\EvaEngine\Mvc\Model

Inheritance: extends Phalcon\Mvc\Model
Afficher le fichier Open project: evaengine/evaengine Class Usage Examples

Méthodes publiques

Свойство Type Description
$injectRelations array

Protected Properties

Свойство Type Description
$modelForm Eva\EvaEngine\Form
$prefix string
$tableName string
$useMasterSlave boolean

Méthodes publiques

Méthode Description
dump ( array $dataStructure = null ) : array | null Dump model entity data as an array
getModelForm ( ) : Eva\EvaEngine\Form
getPrefix ( ) : string
getSource ( ) : string Get db table full name
initialize ( ) Open master / slave mode Load ORM relationship injection
loadRelations ( )
setModelForm ( Eva\EvaEngine\Form $form )
setPrefix ( $tablePrefix )

Method Details

dump() public méthode

Dump model entity data as an array
public dump ( array $dataStructure = null ) : array | null
$dataStructure array
Résultat array | null

getModelForm() public méthode

public getModelForm ( ) : Eva\EvaEngine\Form
Résultat Eva\EvaEngine\Form

getPrefix() public méthode

public getPrefix ( ) : string
Résultat string

getSource() public méthode

Get db table full name
public getSource ( ) : string
Résultat string

initialize() public méthode

Open master / slave mode Load ORM relationship injection
public initialize ( )

loadRelations() public méthode

public loadRelations ( )

setModelForm() public méthode

public setModelForm ( Eva\EvaEngine\Form $form )
$form Eva\EvaEngine\Form

setPrefix() public méthode

public setPrefix ( $tablePrefix )
$tablePrefix

Property Details

$injectRelations public_oe static_oe property

public static array $injectRelations
Résultat array

$modelForm protected_oe property

protected Form,Eva\EvaEngine $modelForm
Résultat Eva\EvaEngine\Form

$prefix protected_oe property

protected string $prefix
Résultat string

$tableName protected_oe property

protected string $tableName
Résultat string

$useMasterSlave protected_oe property

protected bool $useMasterSlave
Résultat boolean