FOF30\Controller\Controller::setModel PHP Метод

setModel() публичный Метод

Pushes a named model to the Controller
public setModel ( string $modelName, Model &$model ) : void
$modelName string The name of the Model
$model FOF30\Model\Model The actual Model object to push
Результат void
    public function setModel($modelName, Model &$model)
    {
        $this->modelInstances[$modelName] = $model;
    }