ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# Interface **Phalcon\Mvc\ViewInterface**[](# "永久链接至标题") *implements*[*Phalcon\Mvc\ViewBaseInterface*](#) ### Methods[](# "永久链接至标题") abstract public **setLayoutsDir** (*unknown* $layoutsDir) ... abstract public **getLayoutsDir** () ... abstract public **setPartialsDir** (*unknown* $partialsDir) ... abstract public **getPartialsDir** () ... abstract public **setBasePath** (*unknown* $basePath) ... abstract public **getBasePath** () ... abstract public **setRenderLevel** (*unknown* $level) ... abstract public **setMainView** (*unknown* $viewPath) ... abstract public **getMainView** () ... abstract public **setLayout** (*unknown* $layout) ... abstract public **getLayout** () ... abstract public **setTemplateBefore** (*unknown* $templateBefore) ... abstract public **cleanTemplateBefore** () ... abstract public **setTemplateAfter** (*unknown* $templateAfter) ... abstract public **cleanTemplateAfter** () ... abstract public **getControllerName** () ... abstract public **getActionName** () ... abstract public **getParams** () ... abstract public **start** () ... abstract public **registerEngines** (*unknown* $engines) ... abstract public **render** (*unknown* $controllerName, *unknown* $actionName, [*unknown* $params]) ... abstract public **pick** (*unknown* $renderView) ... abstract public **finish** () ... abstract public **getActiveRenderPath** () ... abstract public **disable** () ... abstract public **enable** () ... abstract public **reset** () ... abstract public **isDisabled** () ... abstract public **setViewsDir** (*unknown* $viewsDir) inherited from Phalcon\Mvc\ViewBaseInterface ... abstract public **getViewsDir** () inherited from Phalcon\Mvc\ViewBaseInterface ... abstract public **setParamToView** (*unknown* $key, *unknown* $value) inherited from Phalcon\Mvc\ViewBaseInterface ... abstract public **setVar** (*unknown* $key, *unknown* $value) inherited from Phalcon\Mvc\ViewBaseInterface ... abstract public **getParamsToView** () inherited from Phalcon\Mvc\ViewBaseInterface ... abstract public **getCache** () inherited from Phalcon\Mvc\ViewBaseInterface ... abstract public **cache** ([*unknown* $options]) inherited from Phalcon\Mvc\ViewBaseInterface ... abstract public **setContent** (*unknown* $content) inherited from Phalcon\Mvc\ViewBaseInterface ... abstract public **getContent** () inherited from Phalcon\Mvc\ViewBaseInterface ... abstract public **partial** (*unknown* $partialPath, [*unknown* $params]) inherited from Phalcon\Mvc\ViewBaseInterface ... | - [索引](# "总目录") - [下一页](# "Interface Phalcon\Mvc\View\EngineInterface") | - [上一页](# "Interface Phalcon\Mvc\ViewBaseInterface") | - [API Indice](#) »