PHP Класс FOF30\Factory\Magic\ViewFactory

Наследование: extends BaseFactory
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
make ( string $name = null, string $viewType = 'html', array $config = [] ) : FOF30\View\DataView\DataViewInterface Create a new object instance

Описание методов

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

Create a new object instance
public make ( string $name = null, string $viewType = 'html', array $config = [] ) : FOF30\View\DataView\DataViewInterface
$name string The name of the class we're making
$viewType string The view type, default html, possible values html, form, raw, json, csv
$config array The config parameters which override the fof.xml information
Результат FOF30\View\DataView\DataViewInterface A new TreeModel or DataModel object