base\Application $errorHandler

$errorHandler public read-only property The error handler application component. public yii\web\ErrorHandler|yii\console\ErrorHandler getErrorHandler ( )

base\Application $db

$db public read-only property The database connection. public yii\db\Connection getDb ( )

base\Application $controllerNamespace

$controllerNamespace public property The namespace that controller classes are located in. This namespace will be used to load controller classes by prepending it to the controller class name. The default namespace is app\controllers. Please refer to the guide about class autoloading for more details. public string $controllerNamespace = 'app\\controllers'

base\Application $controller

$controller public property The currently active controller instance public yii\base\Controller $controller = null

base\Application $charset

$charset public property The charset currently used for the application. public string $charset = 'UTF-8'

base\Application $cache

$cache public read-only property The cache application component. Null if the component is not enabled. public yii\caching\Cache getCache ( )

base\Application $bootstrap

$bootstrap public property List of components that should be run during the application bootstrapping process. Each component may be specified in one of the following formats: an application component ID as specified via $components. a module ID as specified via $modules. a class name. a configuration array. During the bootstrapping process, each component will be instantiated. If the component class implements yii\base\BootstrapInterface, its bootstrap() method will be also be called. pub

base\Application $authManager

$authManager public read-only property The auth manager application component. Null is returned if auth manager is not configured. public yii\rbac\ManagerInterface getAuthManager ( )

base\Application $assetManager

$assetManager public read-only property The asset manager application component. public yii\web\AssetManager getAssetManager ( )

base\ActionFilter isActive()

isActive() protected method Returns a value indicating whether the filter is active for the given action. protected boolean isActive ( $action )$action yii\base\Action The action being filtered return boolean Whether the filter is active for the given action.