db\pgsql\QueryBuilder renameTable()

renameTable() public method Builds a SQL statement for renaming a DB table. public string renameTable ( $oldName, $newName )$oldName string The table to be renamed. The name will be properly quoted by the method. $newName string The new table name. The name will be properly quoted by the method. return string The SQL statement for renaming a DB table.

db\ActiveRecord populateRecord()

populateRecord() public static method Populates an active record object using a row of data from the database/storage. This is an internal method meant to be called to create active record objects after fetching data from the database. It is mainly used by yii\db\ActiveQuery to populate the query results into active records. When calling this method manually you should call afterFind() on the created record to trigger the afterFind Event. public static void populateRecord ( $record, $row

mongodb\gii\model\Generator validateModelClass()

validateModelClass() public method Validates the $modelClass attribute. public void validateModelClass ( )

bootstrap\Nav renderDropdown()

renderDropdown() protected method (available since version 2.0.1) Renders the given items as a dropdown. This method is called to create sub-menus. protected string renderDropdown ( $items, $parentItem )$items array The given items. Please refer to yii\bootstrap\Dropdown::$items for the array structure. $parentItem array The parent item information. Please refer to $items for the structure of this array. return string The rendering result.

swiftmailer\Message getCc()

getCc() public method Returns the Cc (additional copy receiver) addresses of this message. public array getCc ( )return array The Cc (additional copy receiver) addresses of this message.

base\Component on()

on() public method Attaches an event handler to an event. The event handler must be a valid PHP callback. The following are some examples: function ($event) { ... } // anonymous function [$object, 'handleClick'] // $object->handleClick() ['Page', 'handleClick'] // Page::handleClick() 'handleClick' // global function handleClick() The event handler must be defined with the following signature, function ($event) where $event is an yii\base\E

base\Model isAttributeActive()

isAttributeActive() public method Returns a value indicating whether the attribute is active in the current scenario. See also activeAttributes(). public boolean isAttributeActive ( $attribute )$attribute string Attribute name return boolean Whether the attribute is active in the current scenario

mail\MessageInterface getReplyTo()

getReplyTo() public abstract method Returns the reply-to address of this message. public abstract string getReplyTo ( )return string The reply-to address of this message.

db\Query addGroupBy()

addGroupBy() public method Adds additional group-by columns to the existing ones. See also groupBy(). public $this addGroupBy ( $columns )$columns string|array Additional columns to be grouped by. Columns can be specified in either a string (e.g. "id, name") or an array (e.g. ['id', 'name']). The method will automatically quote the column names unless a column contains some parenthesis (which means the column contains a DB expression). Note that if your group-by is an expression contai

validators\EmailValidator init()

init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )