web\Response EVENT_AFTER_PREPARE

EVENT_AFTER_PREPARE event of type \yii\web\ResponseEvent An event that is triggered right after prepare() is called in send(). You may respond to this event to filter the response content before it is sent to the client.

mongodb\file\Cursor __get()

__get() public method PHP magic method, which is invoked on attempt of getting not existing property. It returns value from the inner iterator. public mixed __get ( $name )$name string Field name. return mixed Field value.

web\CookieCollection add()

add() public method Adds a cookie to the collection. If there is already a cookie with the same name in the collection, it will be removed first. public void add ( $cookie )$cookie yii\web\Cookie The cookie to be added throws yii\base\InvalidCallException if the cookie collection is read only

redis\Cache setValue()

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

grid\GridView renderItems()

renderItems() public method Renders the data models for the grid view. public void renderItems ( )

gii\CodeFile $type

$type public read-only property The code file extension (e.g. php, txt) public string getType ( )

mongodb\rbac\MongoDbManager invalidateCache()

invalidateCache() public method Invalidates RBAC related cache public void invalidateCache ( )

Active Record

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

web\YiiAsset $js

$js public property public $js = ['yii.js']

widgets\DetailView run()

run() public method Renders the detail view. This is the main entry of the whole detail view rendering. public void run ( )