Documentation

CanRetrieveModel

Table of Contents

getModel()  : Model
Returns a model

Methods

getModel()

Returns a model

public getModel(string $model[, string $dir = null ]) : Model
Parameters
$model : string

Name of the model

$dir : string = null

Set this when the model is stored in a specific directory

Return values
Model

The model

Search results