This class is used to declare public functions

package OWR
subpackage Interfaces

 Methods

Deletes object(s)

delete(\OWR\Request $request) : \OWR\Interfaces\Model
access public
author Pierre-Alain Mignot
fluent This method is part of a fluent interface and will return the same instance

Parameters

$request

\OWR\Interfaces\OWR\Request

the Request instance

Returns

Adds/Edits an object

edit(\OWR\Request $request) : \OWR\Interfaces\Model
access public
author Pierre-Alain Mignot
fluent This method is part of a fluent interface and will return the same instance

Parameters

$request

\OWR\Interfaces\OWR\Request

the Request instance

Returns

Returns the specified Model object from cache

getCachedModel(string $model) : mixed
Static
access public
static
author Pierre-Alain Mignot

Parameters

$model

string

the name of the Model

Returns

mixedthe Model object

Returns the specified Model object

getModel(string $model) : mixed
Static
access public
static
author Pierre-Alain Mignot

Parameters

$model

string

the name of the Model

Returns

mixedthe Model object

Gets datas to render object(s)

view(\OWR\Request $request, array $args, string $order, string $groupby, string $limit) : \OWR\Interfaces\Model
access public
author Pierre-Alain Mignot
fluent This method is part of a fluent interface and will return the same instance

Parameters

$request

\OWR\Interfaces\OWR\Request

the Request instance

$args

array

additional arguments, optionnal

$order

string

the order clause

$groupby

string

the groupby clause

$limit

string

the limit clause

Returns