Yii

All Classes | Properties | Methods Inheritance Yii » yii\BaseYii Available since version 2.0 Source Code https://github.com/yiisoft/yii2/blob/master/framework/Yii.php Yii is a helper class serving common framework functionalities. It extends from yii\BaseYii which provides the actual implementation. By writing your own Yii class, you can customize some functionalities of yii\BaseYii. Public Properties Property Type Description Defined By $aliases array Registered path aliases yii\BaseYi

authclient\BaseClient $viewOptions

$viewOptions public property View options in format: optionName => optionValue public array getViewOptions ( )public void setViewOptions ( $viewOptions )

rbac\PhpManager $itemFile

$itemFile public property The path of the PHP script that contains the authorization items. This can be either a file path or a path alias to the file. Make sure this file is writable by the Web server process if the authorization needs to be changed online. See also: loadFromFile() saveToFile() public string $itemFile = '@app/rbac/items.php'

rbac\DbManager $itemChildTable

$itemChildTable public property The name of the table storing authorization item hierarchy. Defaults to "auth_item_child". public string $itemChildTable = '{{%auth_item_child}}'

gii\console\GenerateController actionIndex()

actionIndex() public method public void actionIndex ( )

web\CacheSession $useCustomStorage

$useCustomStorage public read-only property Whether to use custom storage. public boolean getUseCustomStorage ( )

rbac\Rule $createdAt

$createdAt public property UNIX timestamp representing the rule creation time public integer $createdAt = null

widgets\ActiveForm $requiredCssClass

$requiredCssClass public property The CSS class that is added to a field container when the associated attribute is required. public string $requiredCssClass = 'required'

helpers\BaseHtml activeBooleanInput()

activeBooleanInput() protected static method (available since version 2.0.9) Generates a boolean input This method is mainly called by activeCheckbox() and activeRadio(). protected static string activeBooleanInput ( $type, $model, $attribute, $options = [] )$type string The input type. This can be either radio or checkbox. $model yii\base\Model The model object $attribute string The attribute name or expression. See getAttributeName() for the format about attribute expression. $opti

elasticsearch\DebugAction $db

$db public property The connection id to use public string $db = null