PHP 클래스 FOF30\Factory\Magic\ViewFactory

상속: extends BaseFactory
파일 보기 프로젝트 열기: akeeba/fof 1 사용 예제들

공개 메소드들

메소드 설명
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