validators\ImageValidator getClientOptions()

getClientOptions() protected method Returns the client-side validation options. protected array getClientOptions ( $model, $attribute )$model yii\base\Model The model being validated $attribute string The attribute name being validated return array The client-side validation options

widgets\Pjax $timeout

$timeout public property Pjax timeout setting (in milliseconds). This timeout is used when making AJAX requests. Use a bigger number if your server is slow. If the server does not respond within the timeout, a full page load will be triggered. public integer $timeout = 1000

data\Pagination getPageCount()

getPageCount() public method public integer getPageCount ( )return integer Number of pages

authclient\AuthAction $successUrl

$successUrl public property Successful URL. public string getSuccessUrl ( )public void setSuccessUrl ( $url )

caching\Cache mget()

mget() public method Retrieves multiple values from cache with the specified keys. Some caches (such as memcache, apc) allow retrieving multiple cached values at the same time, which may improve the performance. In case a cache does not support this feature natively, this method will try to simulate it. public array mget ( $keys )$keys string[] List of string keys identifying the cached values return array List of cached values corresponding to the specified keys. The array is returne

gii\console\GenerateController getActionOptionsHelp()

getActionOptionsHelp() public method Returns the help information for the options for the action. The returned value should be an array. The keys are the option names, and the values are the corresponding help information. Each value must be an array of the following structure: type: string, the PHP type of this argument. default: string, the default value of this argument comment: string, the comment of this argument The default implementation will return the help information extracted fro

db\Command queryOne()

queryOne() public method Executes the SQL statement and returns the first row of the result. This method is best used when only the first row of result is needed for a query. public array|false queryOne ( $fetchMode = null )$fetchMode integer The result fetch mode. Please refer to PHP manual for valid fetch modes. If this parameter is null, the value set in $fetchMode will be used. return array|false The first row (in terms of an array) of the query result. False is returned if the q

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

gii\controllers\DefaultController loadGenerator()

loadGenerator() protected method Loads the generator with the specified ID. protected yii\gii\Generator loadGenerator ( $id )$id string The ID of the generator to be loaded. return yii\gii\Generator The loaded generator throws yii\web\NotFoundHttpException

base\Module setModule()

setModule() public method Adds a sub-module to this module. public void setModule ( $id, $module )$id string Module ID. $module yii\base\Module|array|null The sub-module to be added to this module. This can be one of the following: a yii\base\Module object a configuration array: when getModule() is called initially, the array will be used to instantiate the sub-module null: the named sub-module will be removed from this module