mongodb\gii\model\Generator stickyAttributes()

stickyAttributes() public method Returns the list of sticky attributes. A sticky attribute will remember its value and will initialize the attribute with this value when the generator is restarted. public array stickyAttributes ( )return array List of sticky attributes

base\Object hasMethod()

hasMethod() public method Returns a value indicating whether a method is defined. The default implementation is a call to php function method_exists(). You may override this method when you implemented the php magic method __call(). public boolean hasMethod ( $name )$name string The method name return boolean Whether the method is defined

db\Schema loadTableSchema()

loadTableSchema() protected abstract method Loads the metadata for the specified table. protected abstract null|yii\db\TableSchema loadTableSchema ( $name )$name string Table name return null|yii\db\TableSchema DBMS-dependent table metadata, null if the table does not exist.

db\sqlite\QueryBuilder dropPrimaryKey()

dropPrimaryKey() public method Builds a SQL statement for removing a primary key constraint to an existing table. public string dropPrimaryKey ( $name, $table )$name string The name of the primary key constraint to be removed. $table string The table that the primary key constraint will be removed from. return string The SQL statement for removing a primary key constraint from an existing table. throws yii\base\NotSupportedException this is not supported by SQLite

sphinx\ColumnSchema $name

$name public property Name of this column (without quotes). public string $name = null

caching\ZendDataCache deleteValue()

deleteValue() protected method Deletes a value with the specified key from cache This is the implementation of the method declared in the parent class. protected boolean deleteValue ( $key )$key string The key of the value to be deleted return boolean If no error happens during deletion

rest\UrlRule createRules()

createRules() protected method Creates the URL rules that should be contained within this composite rule. protected yii\web\UrlRuleInterface[] createRules ( )return yii\web\UrlRuleInterface[] The URL rules

elasticsearch\ActiveRecord deleteAll()

deleteAll() public static method Deletes rows in the table using the provided conditions. WARNING: If you do not specify any condition, this method will delete ALL rows in the table. For example, to delete all customers whose status is 3: Customer::deleteAll(['status' => 3]); See also [[yii\elasticsearch\ActiveRecord::primaryKeysByCondition()]]. public static integer deleteAll ( $condition = [] )$condition array The conditions that will be passed to the where() method when building t

db\Migration alterColumn()

alterColumn() public method Builds and executes a SQL statement for changing the definition of a column. public void alterColumn ( $table, $column, $type )$table string The table whose column is to be changed. The table name will be properly quoted by the method. $column string The name of the column to be changed. The name will be properly quoted by the method. $type string The new column type. The yii\db\QueryBuilder::getColumnType() method will be invoked to convert abstract colum

helpers\BaseHtml tag()

tag() public static method Generates a complete HTML tag. See also: beginTag() endTag() public static string tag ( $name, $content = '', $options = [] )$name string|boolean|null The tag name. If $name is null or false, the corresponding content will be rendered without any tag. $content string The content to be enclosed between the start and end tags. It will not be HTML-encoded. If this is coming from end users, you should consider encode() it to prevent XSS attacks. $options array