Interface yii\base\ViewContextInterface

Implemented byluya\admin\apis\ApiUserController, luya\admin\apis\CommonController, luya\admin\apis\ConfigController, luya\admin\apis\EffectController, luya\admin\apis\FilterController, luya\admin\apis\GroupController, luya\admin\apis\LangController, luya\admin\apis\LoggerController, luya\admin\apis\MenuController, luya\admin\apis\NgrestLogController, luya\admin\apis\PropertyController, luya\admin\apis\ProxyBuildController, luya\admin\apis\ProxyController, luya\admin\apis\ProxyMachineController, luya\admin\apis\QueueLogController, luya\admin\apis\QueueLogErrorController, luya\admin\apis\RemoteController, luya\admin\apis\SearchController, luya\admin\apis\StorageController, luya\admin\apis\StorageImageController, luya\admin\apis\TagController, luya\admin\apis\TimestampController, luya\admin\apis\UserController, luya\admin\aws\ApiOverviewActiveWindow, luya\admin\aws\ApiRequestInsightActiveWindow, luya\admin\aws\ChangePasswordActiveWindow, luya\admin\aws\CoordinatesActiveWindow, luya\admin\aws\DeleteTagsActiveWindow, luya\admin\aws\DetailViewActiveWindow, luya\admin\aws\FlowActiveWindow, luya\admin\aws\GroupAuthActiveWindow, luya\admin\aws\ImageSelectCollectionActiveWindow, luya\admin\aws\StorageFilterImagesActiveWindow, luya\admin\aws\TaggableActiveWindow, luya\admin\aws\UserHistorySummaryActiveWindow, luya\admin\base\BaseCrudController, luya\admin\base\Controller, luya\admin\base\RestActiveController, luya\admin\base\RestController, luya\admin\commands\ActiveWindowController, luya\admin\commands\CrudController, luya\admin\commands\FilterController, luya\admin\commands\LogController, luya\admin\commands\ProxyController, luya\admin\commands\QueueController, luya\admin\commands\SetupController, luya\admin\commands\StorageController, luya\admin\commands\TagController, luya\admin\controllers\AccountController, luya\admin\controllers\ApiUserController, luya\admin\controllers\ConfigController, luya\admin\controllers\DefaultController, luya\admin\controllers\EffectController, luya\admin\controllers\FileController, luya\admin\controllers\FilterController, luya\admin\controllers\GroupController, luya\admin\controllers\LangController, luya\admin\controllers\LoggerController, luya\admin\controllers\LoginController, luya\admin\controllers\NgrestLogController, luya\admin\controllers\PropertyController, luya\admin\controllers\ProxyBuildController, luya\admin\controllers\ProxyMachineController, luya\admin\controllers\QueueLogController, luya\admin\controllers\QueueLogErrorController, luya\admin\controllers\StorageController, luya\admin\controllers\StorageImageController, luya\admin\controllers\TagController, luya\admin\controllers\TemplateController, luya\admin\controllers\UptimeController, luya\admin\controllers\UserController, luya\admin\ngrest\aw\ActiveWindowFormWidget, luya\admin\ngrest\aw\CallbackButtonFileDownloadWidget, luya\admin\ngrest\aw\CallbackButtonWidget, luya\admin\ngrest\base\ActiveWindow, luya\admin\ngrest\base\Api, luya\admin\ngrest\base\Controller, luya\admin\ngrest\render\RenderCrud, luya\base\Widget, luya\cms\admin\apis\AdminController, luya\cms\admin\apis\BlockController, luya\cms\admin\apis\BlockgroupController, luya\cms\admin\apis\LayoutController, luya\cms\admin\apis\LogController, luya\cms\admin\apis\MenuController, luya\cms\admin\apis\NavContainerController, luya\cms\admin\apis\NavController, luya\cms\admin\apis\NavItemBlockController, luya\cms\admin\apis\NavItemController, luya\cms\admin\apis\NavItemPageBlockItemController, luya\cms\admin\apis\NavItemPageController, luya\cms\admin\apis\RedirectController, luya\cms\admin\apis\ThemeController, luya\cms\admin\apis\WebsiteController, luya\cms\admin\aws\BlockPagesActiveWindow, luya\cms\admin\controllers\BlockController, luya\cms\admin\controllers\BlockgroupController, luya\cms\admin\controllers\ConfigController, luya\cms\admin\controllers\DefaultController, luya\cms\admin\controllers\LayoutController, luya\cms\admin\controllers\LogController, luya\cms\admin\controllers\NavcontainerController, luya\cms\admin\controllers\PageController, luya\cms\admin\controllers\PermissionController, luya\cms\admin\controllers\RedirectController, luya\cms\admin\controllers\ThemeController, luya\cms\admin\controllers\WebsiteController, luya\cms\base\PhpBlock, luya\cms\frontend\base\Controller, luya\cms\frontend\blocks\HtmlBlock, luya\cms\frontend\blocks\MirrorLanguageBlock, luya\cms\frontend\blocks\ModuleBlock, luya\cms\frontend\commands\BlockController, luya\cms\frontend\commands\PageController, luya\cms\frontend\commands\UpdaterController, luya\cms\frontend\controllers\BlockController, luya\cms\frontend\controllers\DefaultController, luya\cms\frontend\controllers\ErrorController, luya\cms\frontend\controllers\PreviewController, luya\cms\models\NavItemPage, luya\cms\widgets\LangSwitcher, luya\cms\widgets\NavTree, luya\console\Command, luya\console\Controller, luya\console\commands\BaseCrudController, luya\console\commands\HealthController, luya\console\commands\ImportController, luya\console\commands\MigrateController, luya\console\commands\ModuleController, luya\console\commands\ThemeController, luya\lazyload\LazyLoad, luya\rest\ActiveController, luya\rest\Controller, luya\testsuite\commands\GenerateFixtureController, luya\texttospeech\TextToSpeechWidget, luya\web\Controller, luya\web\Svg, luya\widgets\SubmitButtonWidget, yii\base\Controller, yii\base\Widget, yii\captcha\Captcha, yii\console\Controller, yii\console\controllers\AssetController, yii\console\controllers\BaseMigrateController, yii\console\controllers\CacheController, yii\console\controllers\FixtureController, yii\console\controllers\HelpController, yii\console\controllers\MessageController, yii\console\controllers\MigrateController, yii\console\controllers\ServeController, yii\console\widgets\Table, yii\grid\GridView, yii\mail\BaseMailer, yii\rest\ActiveController, yii\rest\Controller, yii\web\Controller, yii\widgets\ActiveForm, yii\widgets\BaseListView, yii\widgets\Block, yii\widgets\Breadcrumbs, yii\widgets\ContentDecorator, yii\widgets\DetailView, yii\widgets\FragmentCache, yii\widgets\InputWidget, yii\widgets\LinkPager, yii\widgets\LinkSorter, yii\widgets\ListView, yii\widgets\MaskedInput, yii\widgets\Menu, yii\widgets\Pjax, yii\widgets\Spaceless
Available since version2.0
Source Code https://github.com/yiisoft/yii2/blob/master/framework/base/ViewContextInterface.php

ViewContextInterface is the interface that should implemented by classes who want to support relative view names.

The method getViewPath() should be implemented to return the view path that may be prefixed to a relative view name.

Public Methods

Hide inherited methods

Method Description Defined By
getViewPath() yii\base\ViewContextInterface

Method Details

Hide inherited methods

getViewPath() public abstract method

public abstract string getViewPath ( )
return string

The view path that may be prefixed to a relative view name.

                public function getViewPath();