web\UploadedFile getExtension()

getExtension() public method public string getExtension ( )return string File extension

console\controllers\MigrateController addMigrationHistory()

addMigrationHistory() protected method Adds new migration entry to the history. protected void addMigrationHistory ( $version )$version string Migration version name.

log\Dispatcher setTraceLevel()

setTraceLevel() public method public void setTraceLevel ( $value )$value integer How many application call stacks should be logged together with each message. This method will set the value of yii\log\Logger::$traceLevel. If the value is greater than 0, at most that number of call stacks will be logged. Note that only application call stacks are counted. Defaults to 0.

console\controllers\BaseMigrateController actionMark()

actionMark() public method Modifies the migration history to the specified version. No actual migration will be performed. yii migrate/mark 101129_185401 # using timestamp yii migrate/mark m101129_185401_create_user_table # using full name yii migrate/to app\migrations\M101129185401CreateUser # using full namespace name public integer actionMark ( $version )$version string The version at which the migration history should be marked. This can be either the time

console\controllers\BaseMigrateController $migrationPath

$migrationPath public property The directory containing the migration classes. This can be either a path alias or a directory path. If you have set up $migrationNamespaces, you may set this field to null in order to disable usage of migrations that are not namespaced. public string $migrationPath = '@app/migrations'

base\ErrorHandler logException()

logException() public method (available since version 2.0.3) Logs the given exception public void logException ( $exception )$exception Exception The exception to be logged

mongodb\file\Collection remove()

remove() public method Removes data from the collection. public integer|boolean remove ( $condition = [], $options = [] )$condition array Description of records to remove. $options array List of options in format: optionName => optionValue. return integer|boolean Number of updated documents or whether operation was successful. throws yii\mongodb\Exception on failure.

helpers\BaseUrl toRoute()

toRoute() public static method Creates a URL for the given route. This method will use yii\web\UrlManager to create a URL. You may specify the route as a string, e.g., site/index. You may also use an array if you want to specify additional query parameters for the URL being created. The array format must be: // generates: /index.php?r=site/index&param1=value1&param2=value2 ['site/index', 'param1' => 'value1', 'param2' => 'value2'] If you want to create a URL with an anchor, y

gii\generators\model\Generator $description

$description public read-only property The detailed description of the generator. public string getDescription ( )

base\Security validateData()

validateData() public method Validates if the given data is tampered. See also hashData(). public string validateData ( $data, $key, $rawHash = false )$data string The data to be validated. The data must be previously generated by hashData(). $key string The secret key that was previously used to generate the hash for the data in hashData(). function to see the supported hashing algorithms on your system. This must be the same as the value passed to hashData() when generating the hash