PHP Class Eva\EvaEngine\Mvc\Model

Inheritance: extends Phalcon\Mvc\Model
Exibir arquivo Open project: evaengine/evaengine Class Usage Examples

Public Properties

Property Type Description
$injectRelations array

Protected Properties

Property Type Description
$modelForm Eva\EvaEngine\Form
$prefix string
$tableName string
$useMasterSlave boolean

Public Methods

Method 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 method

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

getModelForm() public method

public getModelForm ( ) : Eva\EvaEngine\Form
return Eva\EvaEngine\Form

getPrefix() public method

public getPrefix ( ) : string
return string

getSource() public method

Get db table full name
public getSource ( ) : string
return string

initialize() public method

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

loadRelations() public method

public loadRelations ( )

setModelForm() public method

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

setPrefix() public method

public setPrefix ( $tablePrefix )
$tablePrefix

Property Details

$injectRelations public_oe static_oe property

public static array $injectRelations
return array

$modelForm protected_oe property

protected Form,Eva\EvaEngine $modelForm
return Eva\EvaEngine\Form

$prefix protected_oe property

protected string $prefix
return string

$tableName protected_oe property

protected string $tableName
return string

$useMasterSlave protected_oe property

protected bool $useMasterSlave
return boolean