web\Application getRequest()

getRequest() public method Returns the request component. public yii\web\Request getRequest ( )return yii\web\Request The request component.

web\Application getHomeUrl()

getHomeUrl() public method public string getHomeUrl ( )return string The homepage URL

web\Application coreComponents()

coreComponents() public method Returns the configuration of core application components. public void coreComponents ( )

web\Application getErrorHandler()

getErrorHandler() public method Returns the error handler component. public yii\web\ErrorHandler getErrorHandler ( )return yii\web\ErrorHandler The error handler application component.

web\Application bootstrap()

bootstrap() protected method Initializes extensions and executes bootstrap components. This method is called by init() after the application has been fully configured. If you override this method, make sure you also call the parent implementation. protected void bootstrap ( )

web\Application $session

$session public read-only property The session component. public yii\web\Session getSession ( )

web\Application $response

$response public read-only property The response component. public yii\web\Response getResponse ( )

web\Application $user

$user public read-only property The user component. public yii\web\User getUser ( )

web\Application $defaultRoute

$defaultRoute public property The default route of this application. Defaults to 'site'. public string $defaultRoute = 'site'

web\Application $homeUrl

$homeUrl public property The homepage URL public string getHomeUrl ( )public void setHomeUrl ( $value )