\Pluf_ModelUtils

Summary

Methods
Properties
Constants
getModelName()
getAssocTable()
getTable()
getAssocField()
skipeName()
getCreateForm()
getUpdateForm()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getModelName()

getModelName(  $model) 

Parameters

$model

getAssocTable()

getAssocTable(  $from,   $to) 

Parameters

$from
$to

getTable()

getTable(  $model) 

Parameters

$model

getAssocField()

getAssocField(  $model) 

Parameters

$model

skipeName()

skipeName(\String  $name) 

Parameters

\String $name

getCreateForm()

getCreateForm(  $model,   $data = null) : \Pluf_Form_Model

Get a form to create an entity of type of the given model.

Parameters

$model
$data

Returns

\Pluf_Form_Model

Form to create the model.

getUpdateForm()

getUpdateForm(  $model,   $data = null) : Object

Get a form to update an entity of type ot the given model.

Parameters

$model
$data

Returns

Object —

Form to update for this model.