caching\ApcCache addValue()

addValue() protected method Stores a value identified by a key into cache if the cache does not contain this key. This is the implementation of the method declared in the parent class. protected boolean addValue ( $key, $value, $duration )$key string The key identifying the value to be cached $value mixed The value to be cached. Most often it's a string. If you have disabled $serializer, it could be something else. $duration integer The number of seconds in which the cached value wil

web\UrlRule $defaults

$defaults public property The default GET parameters (name => value) that this rule provides. When this rule is used to parse the incoming request, the values declared in this property will be injected into $_GET. public array $defaults = []

elasticsearch\BatchQueryResult valid()

valid() public method Returns whether there is a valid dataset at the current position. This method is required by the interface Iterator. public boolean valid ( )return boolean Whether there is a valid dataset at the current position.

db\MigrationInterface up()

up() public abstract method This method contains the logic to be executed when applying this migration. public abstract boolean up ( )return boolean Return a false value to indicate the migration fails and should not proceed further. All other return values mean the migration succeeds.

bootstrap\ActiveField staticControl()

staticControl() public method (available since version 2.0.5) Renders Bootstrap static form control. See also http://getbootstrap.com/css/#forms-controls-static. public $this staticControl ( $options = [] )$options array The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. There are also a special options: encode: boolean, whether value should be HTML-encoded or not. return $this The field object itself

bootstrap\ActiveField renderLabelParts()

renderLabelParts() protected method protected void renderLabelParts ( $label = null, $options = [] )$label string|null The label or null to use model label $options array The tag options

authclient\BaseOAuth getSignatureMethod()

getSignatureMethod() public method public yii\authclient\signature\BaseMethod getSignatureMethod ( )return yii\authclient\signature\BaseMethod Signature method instance.

web\UrlManager getBaseUrl()

getBaseUrl() public method Returns the base URL that is used by createUrl() to prepend to created URLs. It defaults to yii\web\Request::$baseUrl. This is mainly used when $enablePrettyUrl is true and $showScriptName is false. public string getBaseUrl ( )return string The base URL that is used by createUrl() to prepend to created URLs. throws yii\base\InvalidConfigException if running in console application and $baseUrl is not configured.

behaviors\TimestampBehavior getValue()

getValue() protected method Returns the value for the current attributes. This method is called by evaluateAttributes(). Its return value will be assigned to the attributes corresponding to the triggering event. In case, when the $value is null, the result of the PHP function time() will be used as value. protected mixed getValue ( $event )$event yii\base\Event The event that triggers the current attribute updating. return mixed The attribute value

web\Request generateCsrfToken()

generateCsrfToken() protected method Generates an unmasked random token used to perform CSRF validation. protected string generateCsrfToken ( )return string The random token for CSRF validation.