Mvc\ViewInterface

Interface Phalcon\Mvc\ViewInterface

Phalcon\Mvc\ViewInterface initializer

Methods

abstract public setViewsDir (string $viewsDir)

Sets views directory. Depending of your platform, always add a trailing slash or backslash

abstract public string getViewsDir ()

Gets views directory

abstract public setLayoutsDir (string $layoutsDir)

Sets the layouts sub-directory. Must be a directory under the views directory. Depending of your platform, always add a trailing slash or backslash

abstract public string getLayoutsDir ()

Gets the current layouts sub-directory

登录查看完整内容