grid\GridView $showHeader

$showHeader public property Whether to show the header section of the grid table. public boolean $showHeader = true

Creating your own Application structure

Clone the Basic Template Modify the Files Make a Package Use the Template Note: This section is under development. While the basic and advanced project templates are great for most of your needs, you may want to create your own project template with which to start your projects. Project templates in Yii are simply repositories containing a composer.json file, and registered as a Composer package. Any repository can be identified as a Composer package, making it installable via create-project

filters\HttpCache $enabled

$enabled public property A value indicating whether this filter should be enabled. public boolean $enabled = true

web\Request $serverName

$serverName public read-only property Server name, null if not available public string getServerName ( )

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 ( )

jui\Selectable init()

init() public method Initializes the widget. public void init ( )

web\AssetManager $basePath

$basePath public property The root directory storing the published asset files. public string $basePath = '@webroot/assets'

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