di\ServiceLocator setComponents()

setComponents() public method Registers a set of component definitions in this locator. This is the bulk version of set(). The parameter should be an array whose keys are component IDs and values the corresponding component definitions. For more details on how to specify component IDs and definitions, please refer to set(). If a component definition with the same ID already exists, it will be overwritten. The following is an example for registering two component definitions: [ 'db' =>

widgets\LinkPager $nextPageLabel

$nextPageLabel public property The label for the "next" page button. Note that this will NOT be HTML-encoded. If this property is false, the "next" page button will not be displayed. public string|boolean $nextPageLabel = '»'

log\FileTarget rotateFiles()

rotateFiles() protected method Rotates log files. protected void rotateFiles ( )

elasticsearch\Command closeIndex()

closeIndex() public method See also http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-open-close.html. public mixed closeIndex ( $index )$index

base\Application registerErrorHandler()

registerErrorHandler() protected method Registers the errorHandler component as a PHP error handler. protected void registerErrorHandler ( &$config )$config array Application config

validators\Validator $when

$when public property A PHP callable whose return value determines whether this validator should be applied. The signature of the callable should be function ($model, $attribute), where $model and $attribute refer to the model and the attribute currently being validated. The callable should return a boolean value. This property is mainly provided to support conditional validation on the server-side. If this property is not set, this validator will be always applied on the server-side. The f

authclient\signature\HmacSha1 generateSignature()

generateSignature() public method Generates OAuth request signature. public string generateSignature ( $baseString, $key )$baseString string Signature base string. $key string Signature key. return string Signature string.

base\View beginPage()

beginPage() public method Marks the beginning of a page. public void beginPage ( )

filters\auth\HttpBasicAuth $auth

$auth public property A PHP callable that will authenticate the user with the HTTP basic auth information. The callable receives a username and a password as its parameters. It should return an identity object that matches the username and password. Null should be returned if there is no such identity. The following code is a typical implementation of this callable: function ($username, $password) { return \app\models\User::findOne([ 'username' => $username, 'password

bootstrap\ButtonDropdown renderButton()

renderButton() protected method Generates the button dropdown. protected string renderButton ( )return string The rendering result.