web\UploadedFile reset()

reset() public static method Cleans up the loaded UploadedFile instances. This method is mainly used by test scripts to set up a fixture. public static void reset ( )

caching\FileCache 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\SchemaBuilderTrait money()

money() public method (available since version 2.0.6) Creates a money column. public yii\db\ColumnSchemaBuilder money ( $precision = null, $scale = null )$precision integer Column value precision, which is usually the total number of digits. First parameter passed to the column type, e.g. DECIMAL(precision, scale). This parameter will be ignored if not supported by the DBMS. $scale integer Column value scale, which is usually the number of digits after the decimal point. Second paramet

authclient\BaseClient $name

$name public property Service name. public string getName ( )public void setName ( $name )

db\SchemaBuilderTrait getDb()

getDb() protected abstract method protected abstract yii\db\Connection getDb ( )return yii\db\Connection The database connection to be used for schema building.

db\BaseActiveRecord unlink()

unlink() public method Destroys the relationship between two models. The model with the foreign key of the relationship will be deleted if $delete is true. Otherwise, the foreign key will be set null and the model will be saved without validation. public void unlink ( $name, $model, $delete = false )$name string The case sensitive name of the relationship, e.g. orders for a relation defined via getOrders() method. $model yii\db\ActiveRecordInterface The model to be unlinked from the cu

base\Application getDb()

getDb() public method Returns the database connection component. public yii\db\Connection getDb ( )return yii\db\Connection The database connection.

helpers\BaseHtml addCssStyle()

addCssStyle() public static method Adds the specified CSS style to the HTML options. If the options already contain a style element, the new style will be merged with the existing one. If a CSS property exists in both the new and the old styles, the old one may be overwritten if $overwrite is true. For example, Html::addCssStyle($options, 'width: 100px; height: 200px'); See also: removeCssStyle() cssStyleFromArray() cssStyleToArray() public static void addCssStyle ( &$options, $style

widgets\ActiveField hint()

hint() public method Renders the hint tag. public $this hint ( $content, $options = [] )$content string|boolean The hint content. If null, the hint will be generated via yii\base\Model::getAttributeHint(). If false, the generated field will not contain the hint part. Note that this will NOT be encoded. $options array The tag options in terms of name-value pairs. These will be rendered as the attributes of the hint tag. The values will be HTML-encoded using yii\helpers\Html::encode().

db\Migration down()

down() public method This method contains the logic to be executed when removing this migration. The default implementation throws an exception indicating the migration cannot be removed. Child classes may override this method if the corresponding migrations can be removed. public boolean down ( )return boolean Return a false value to indicate the migration fails and should not proceed further. All other return values mean the migration succeeds.