BaseYii $app

$app public static property The application instance public static yii\console\Application|yii\web\Application $app = null

BaseYii $container

$container public static property The dependency injection (DI) container used by createObject(). You may use yii\di\Container::set() to set up the needed dependencies of classes and their initial property values. See also: createObject() yii\di\Container public static yii\di\Container $container = null

Authorization

Access Control Filter Role Based Access Control (RBAC) Authorization is the process of verifying that a user has enough permission to do something. Yii provides two authorization methods: Access Control Filter (ACF) and Role-Based Access Control (RBAC). Access Control Filter Access Control Filter (ACF) is a simple authorization method implemented as yii\filters\AccessControl which is best used by applications that only need some simple access control. As its name indicates, ACF is an action

BaseYii $aliases

$aliases public static property Registered path aliases See also: getAlias() setAlias() public static array $aliases = ['@yii' => __DIR__]

Autoloading

Using the Yii Autoloader Class Map Using Other Autoloaders Autoloading Extension Classes Yii relies on the class autoloading mechanism to locate and include all required class files. It provides a high-performance class autoloader that is compliant with the PSR-4 standard. The autoloader is installed when you include the Yii.php file. Note: For simplicity of description, in this section we will only talk about autoloading of classes. However, keep in mind that the content we are describing he

Authentication

Configuring yii\web\User Implementing yii\web\IdentityInterface Using yii\web\User Authentication Events Authentication is the process of verifying the identity of a user. It usually uses an identifier (e.g. a username or an email address) and a secret token (e.g. a password or an access token) to judge if the user is the one whom he claims as. Authentication is the basis of the login feature. Yii provides an authentication framework which wires up various components to support login. To use t

authclient\widgets\GooglePlusButton registerClientScript()

registerClientScript() protected method Registers necessary JavaScript. protected void registerClientScript ( )

authclient\widgets\GooglePlusButton setCallback()

setCallback() public method public void setCallback ( $callback )$callback string|array Callback JavaScript function name or URL config.

authclient\widgets\GooglePlusButton run()

run() public method Runs the widget. public void run ( )

authclient\widgets\GooglePlusButton renderButton()

renderButton() protected method Renders sign-in button. protected string renderButton ( )return string Button HTML.