db\ActiveRecord primaryKey()

primaryKey() public static method Returns the primary key name(s) for this AR class. The default implementation will return the primary key(s) as declared in the DB table that is associated with this AR class. If the DB table does not declare any primary key, you should override this method to return the attributes that you want to use as primary keys for this AR class. Note that an array should be returned even for a table with single primary key. public static string[] primaryKey ( )ret

base\Application preInit()

preInit() public method Pre-initializes the application. This method is called at the beginning of the application constructor. It initializes several important application properties. If you override this method, please make sure you call the parent implementation. public void preInit ( &$config )$config array The application configuration throws yii\base\InvalidConfigException if either $id or $basePath configuration is missing.

bootstrap\Tabs $linkOptions

$linkOptions public property List of HTML attributes for the tab header link tags. This will be overwritten by the "linkOptions" set in individual $items. See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. public array $linkOptions = []

bootstrap\ButtonGroup renderButtons()

renderButtons() protected method Generates the buttons that compound the group as specified on $buttons. protected string renderButtons ( )return string The rendering result.

helpers\BaseHtml buttonInput()

buttonInput() public static method Generates an input button. public static string buttonInput ( $label = 'Button', $options = [] )$label string The value attribute. If it is null, the value attribute will not be generated. $options array The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using encode(). If a value is null, the corresponding attribute will not be rendered. See renderTagAttributes(

console\Application __construct()

__construct() public method Constructor. public void __construct ( $config = [] )$config array Name-value pairs that will be used to initialize the object properties. Note that the configuration must contain both $id and $basePath. throws yii\base\InvalidConfigException if either $id or $basePath configuration is missing.

gii\CodeFile __construct()

__construct() public method Constructor. public void __construct ( $path, $content, $config = [] )$path string The file path that the new code should be saved to. $content string The newly generated code content. $config array Name-value pairs that will be used to initialize the object properties

mongodb\rbac\MongoDbManager populateItem()

populateItem() protected method Populates an auth item with the data fetched from collection protected yii\rbac\Item populateItem ( $row )$row array The data from the auth item collection return yii\rbac\Item The populated auth item instance (either Role or Permission)

helpers\BaseHtml activeCheckbox()

activeCheckbox() public static method Generates a checkbox tag together with a label for the given model attribute. This method will generate the "checked" tag attribute according to the model attribute value. public static string activeCheckbox ( $model, $attribute, $options = [] )$model yii\base\Model The model object $attribute string The attribute name or expression. See getAttributeName() for the format about attribute expression. $options array The tag options in terms of name-

BaseYii t()

t() public static method Translates a message to the specified language. This is a shortcut method of yii\i18n\I18N::translate(). The translation will be conducted according to the message category and the target language will be used. You can add parameters to a translation message that will be substituted with the corresponding value after translation. The format for this is to use curly brackets around the parameter name as you can see in the following example: $username = 'Alexander'; e