widgets\DetailView normalizeAttributes()

normalizeAttributes() protected method Normalizes the attribute specifications. protected void normalizeAttributes ( )throws yii\base\InvalidConfigException

validators\ValidationAsset $sourcePath

$sourcePath public property public $sourcePath = '@yii/assets'

db\BaseActiveRecord EVENT_BEFORE_INSERT

EVENT_BEFORE_INSERT event of type yii\base\ModelEvent An event that is triggered before inserting a record. You may set yii\base\ModelEvent::$isValid to be false to stop the insertion.

db\DataReader bindColumn()

bindColumn() public method Binds a column to a PHP variable. When rows of data are being fetched, the corresponding column value will be set in the variable. Note, the fetch mode must include PDO::FETCH_BOUND. See also http://www.php.net/manual/en/function.PDOStatement-bindColumn.php. public void bindColumn ( $column, &$value, $dataType = null )$column integer|string Number of the column (1-indexed) or name of the column in the result set. If using the column name, be aware that th

Database Access Objects

Creating DB Connections Executing SQL Queries Quoting Table and Column Names Performing Transactions Replication and Read-Write Splitting Working with Database Schema Built on top of PDO, Yii DAO (Database Access Objects) provides an object-oriented API for accessing relational databases. It is the foundation for other more advanced database access methods, including query builder and active record. When using Yii DAO, you mainly need to deal with plain SQLs and PHP arrays. As a result, it is

filters\RateLimitInterface saveAllowance()

saveAllowance() public abstract method Saves the number of allowed requests and the corresponding timestamp to a persistent storage. public abstract void saveAllowance ( $request, $action, $allowance, $timestamp )$request yii\web\Request The current request $action yii\base\Action The action to be executed $allowance integer The number of allowed requests remaining. $timestamp integer The current timestamp.

Generating Code with Gii

Starting Gii Generating an Active Record Class Generating CRUD Code Trying it Out Summary This section will describe how to use Gii to automatically generate code that implements some common Web site features. Using Gii to auto-generate code is simply a matter of entering the right information per the instructions shown on the Gii Web pages. Through this tutorial, you will learn how to: enable Gii in your application, use Gii to generate an Active Record class, use Gii to generate the code imp

mongodb\rbac\MongoDbManager removeAllPermissions()

removeAllPermissions() public method Removes all permissions. All parent child relations will be adjusted accordingly. public void removeAllPermissions ( )

debug\models\search\Log $message

$message public property Message attribute input search value public integer $message = null

mongodb\Collection $database

$database public property MongoDB database instance. public yii\mongodb\Database $database = null