caching\TagDependency invalidate()

invalidate() public static method Invalidates all of the cached data items that are associated with any of the specified $tags. public static void invalidate ( $cache, $tags )$cache yii\caching\Cache The cache component that caches the data items $tags string|array

helpers\BaseFileHelper getMimeType()

getMimeType() public static method Determines the MIME type of the specified file. This method will first try to determine the MIME type based on finfo_open. If the fileinfo extension is not installed, it will fall back to getMimeTypeByExtension() when $checkExtension is true. public static string getMimeType ( $file, $magicFile = null, $checkExtension = true )$file string The file name. $magicFile string Name of the optional magic database file (or alias), usually something like /path

captcha\Captcha registerClientScript()

registerClientScript() public method Registers the needed JavaScript. public void registerClientScript ( )

web\UrlRule $normalizer

$normalizer public property (available since version 2.0.10) The configuration for yii\web\UrlNormalizer used by this rule. If null, yii\web\UrlManager::$normalizer will be used, if false, normalization will be skipped for this rule. public yii\web\UrlNormalizer|array|false|null $normalizer = null

db\ColumnSchemaBuilder defaultValue()

defaultValue() public method Specify the default value for the column. public $this defaultValue ( $default )$default mixed The default value.

sphinx\MatchExpression andMatch()

andMatch() public method Adds an additional MATCH condition to the existing one. The new condition and the existing one will be joined using the 'AND' (' ') operator. See also: match() orMatch() public $this andMatch ( $condition, $params = [] )$condition string|array|yii\db\Expression The new MATCH condition. Please refer to match() on how to specify this parameter. $params array The parameters (name => value) to be parsed into the query. return $this The expression object itse

elasticsearch\Command openIndex()

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

mail\BaseMailer compose()

compose() public method Creates a new message instance and optionally composes its body content via view rendering. public yii\mail\MessageInterface compose ( $view = null, array $params = [] )$view string|array|null The view to be used for rendering the message body. This can be: a string, which represents the view name or path alias for rendering the HTML body of the email. In this case, the text body will be generated by applying strip_tags() to the HTML body. an array with 'html' a

mongodb\file\StreamWrapper stream_seek()

stream_seek() public method Seeks to specific location in a stream. This method is called in response to fseek(). See also \yii\mongodb\file\fseek(). public boolean stream_seek ( $offset, $whence = SEEK_SET )$offset integer The stream offset to seek to. $whence integer Possible values: SEEK_SET - Set position equal to offset bytes. SEEK_CUR - Set position to current location plus offset. SEEK_END - Set position to end-of-file plus offset. return boolean Return true if the position wa

redis\ActiveRecord attributes()

attributes() public method Returns the list of all attribute names of the model. This method must be overridden by child classes to define available attributes. public array attributes ( )return array List of attribute names.