getSqlTotalCount() protected method Returns total sql count executed in current request. If database panel is not configured returns 0. protected integer getSqlTotalCount ( )
$type public property Abstract type of this column. Possible abstract types include: string, text, boolean, smallint, integer, bigint, float, decimal, datetime, timestamp, time, date, binary, and money. public string $type = null
$depends public property public $depends = ['yii\web\YiiAsset']
$serverName public read-only property Server name, null if not available public string getServerName ( )
setValue() protected method Stores a value identified by a key in cache. This method should be implemented by child classes to store the data in specific cache storage. protected boolean setValue ( $key, $value, $expire )$key string The key identifying the value to be cached $value mixed The value to be cached. Most often it's a string. If you have disabled $serializer, it could be something else. $expire return boolean True if the value is successfully stored into cache, false oth
renderItems() public method Renders the data models for the grid view. public void renderItems ( )
$type public read-only property The code file extension (e.g. php, txt) public string getType ( )
invalidateCache() public method Invalidates RBAC related cache public void invalidateCache ( )
Declaring Active Record Classes Connecting to Databases Querying Data Accessing Data Saving Data Deleting Data Active Record Life Cycles Working with Transactions Optimistic Locks Working with Relational Data Saving Relations Cross-Database Relations Customizing Query Classes Selecting extra fields Active Record provides an object-oriented interface for accessing and manipulating data stored in databases. An Active Record class is associated with a database table, an Active Record instance cor
Defining Aliases Resolving Aliases Using Aliases Predefined Aliases Extension Aliases Aliases are used to represent file paths or URLs so that you don't have to hard-code absolute paths or URLs in your project. An alias must start with the @ character to be differentiated from normal file paths and URLs. Alias defined without leading @ will be prefixed with @ character. Yii has many pre-defined aliases already available. For example, the alias @yii represents the installation path of the Yii f
Page 454 of 633