helpers\BaseUrl to()

to() public static method Creates a URL based on the given parameters. This method is very similar to toRoute(). The only difference is that this method requires a route to be specified as an array only. If a string is given, it will be treated as a URL. In particular, if $url is an array: toRoute() will be called to generate the URL. For example: ['site/index'], ['post/index', 'page' => 2]. Please refer to toRoute() for more details on how to specify a route. a string with a leading @:

console\Application $errorHandler

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

db\Command createIndex()

createIndex() public method Creates a SQL command for creating a new index. public $this createIndex ( $name, $table, $columns, $unique = false )$name string The name of the index. The name will be properly quoted by the method. $table string The table that the new index will be created for. The table name will be properly quoted by the method. $columns string|array The column(s) that should be included in the index. If there are multiple columns, please separate them by commas. Th

rbac\DbManager $rules

$rules protected read-only property All auth rules (name => Rule) public yii\rbac\Rule[] getRules ( )

web\HeaderCollection removeAll()

removeAll() public method Removes all headers. public void removeAll ( )

elasticsearch\ActiveDataProvider $aggregations

$aggregations public read-only property All aggregations results public array getAggregations ( )

di\ServiceLocator set()

set() public method Registers a component definition with this locator. For example, // a class name $locator->set('cache', 'yii\caching\FileCache'); // a configuration array $locator->set('db', [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=127.0.0.1;dbname=demo', 'username' => 'root', 'password' => '', 'charset' => 'utf8', ]); // an anonymous function $locator->set('cache', function ($params) { return new \yii\caching\FileCache; })

bootstrap\Html

All Classes | Properties | Methods Inheritance yii\bootstrap\Html » yii\bootstrap\BaseHtml » yii\helpers\Html » yii\helpers\BaseHtml Available since version 2.0.5 Source Code https://github.com/yiisoft/yii2-bootstrap/blob/master/Html.php Html is an enhanced version of yii\helpers\Html helper class dedicated to the Bootstrap needs. This class inherits all functionality available at yii\helpers\Html and can be used as substitute. Attention: do not confuse yii\bootstrap\Html and yii\helpers

gii\controllers\DefaultController $module

$module public property public yii\gii\Module $module = null

elasticsearch\ElasticsearchTarget $index

$index public property Elasticsearch index name. public string $index = 'yii'