caching\DbCache exists()

exists() public method Checks whether a specified key exists in the cache. This can be faster than getting the value from the cache if the data is big. Note that this method does not check whether the dependency associated with the cached data, if there is any, has changed. So a call to get() may return false while exists returns true. public boolean exists ( $key )$key mixed A key identifying the cached value. This can be a simple string or a complex data structure consisting of factors

db\oci\QueryBuilder buildOrderByAndLimit()

buildOrderByAndLimit() public method Builds the ORDER BY and LIMIT/OFFSET clauses and appends them to the given SQL. public string buildOrderByAndLimit ( $sql, $orderBy, $limit, $offset )$sql string The existing SQL (without ORDER BY/LIMIT/OFFSET) $orderBy array The order by columns. See \yii\db\oci\Query::orderBy for more details on how to specify this parameter. $limit integer The limit number. See \yii\db\oci\Query::limit for more details. $offset integer The offset number. See

db\sqlite\QueryBuilder checkIntegrity()

checkIntegrity() public method Enables or disables integrity check. public string checkIntegrity ( $check = true, $schema = '', $table = '' )$check boolean Whether to turn on or off the integrity check. $schema string The schema of the tables. Meaningless for SQLite. $table string The table name. Meaningless for SQLite. return string The SQL statement for checking integrity throws yii\base\NotSupportedException this is not supported by SQLite

helpers\FileHelper

All Classes | Properties | Methods | Constants Inheritance yii\helpers\FileHelper » yii\helpers\BaseFileHelper Available since version 2.0 Source Code https://github.com/yiisoft/yii2/blob/master/framework/helpers/FileHelper.php File system helper Public Properties Property Type Description Defined By $mimeMagicFile string The path (or alias) of a PHP file containing MIME type information. yii\helpers\BaseFileHelper Public Methods Method Description Defined By copyDirectory() Copies a

mongodb\Command setReadConcern()

setReadConcern() public method Sets read concern for this command. public $this setReadConcern ( $readConcern )$readConcern \MongoDB\Driver\ReadConcern|string Read concern, it can be an instance of \MongoDB\Driver\ReadConcern or scalar level value, for example: 'local'. return $this Self reference

db\Connection beginTransaction()

beginTransaction() public method Starts a transaction. public yii\db\Transaction beginTransaction ( $isolationLevel = null )$isolationLevel string|null The isolation level to use for this transaction. See yii\db\Transaction::begin() for details. return yii\db\Transaction The transaction initiated

db\QueryInterface all()

all() public abstract method Executes the query and returns all results as an array. public abstract array all ( $db = null )$db yii\db\Connection The database connection used to execute the query. If this parameter is not given, the db application component will be used. return array The query results. If the query results in nothing, an empty array will be returned.

i18n\Formatter asPercent()

asPercent() public method Formats the value as a percent number with "%" sign. public string asPercent ( $value, $decimals = null, $options = [], $textOptions = [] )$value mixed The value to be formatted. It must be a factor e.g. 0.75 will result in 75%. $decimals integer The number of digits after the decimal point. $options array Optional configuration for the number formatter. This parameter will be merged with $numberFormatterOptions. $textOptions array Optional configuration f

mongodb\Command update()

update() public method Update existing documents in the collection. public \MongoDB\Driver\WriteResult update ( $collectionName, $condition, $document, $options = [] )$collectionName string Collection name $condition array Filter condition $document array Data to be updated. $options array Update options. return \MongoDB\Driver\WriteResult Write result.

data\Pagination $page

$page public property The zero-based current page number. public integer getPage ( $recalculate = false )public void setPage ( $value, $validatePage = false )