芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/libraries.7/src/MVC/View/ViewInterface.php
* @license GNU General Public License version 2 or later; see LICENSE */ namespace Joomla\CMS\MVC\View; use Joomla\CMS\MVC\Model\BaseDatabaseModel; \defined('JPATH_PLATFORM') or die; /** * Joomla Platform CMS Interface * * @since 4.0.0 */ interface ViewInterface { /** * Execute and display a template script. * * @param string $tpl The name of the template file to parse; automatically searches through the template paths. * * @return void * * @since 4.0.0 */ public function display($tpl = null); /** * Method to get the model object * * @param string $name The name of the model (optional) * * @return BaseDatabaseModel The model object * * @since 3.0 */ public function getModel($name = null); }