db\BaseActiveRecord extraFields()

extraFields() public method Returns the list of fields that can be expanded further and returned by toArray(). This method is similar to fields() except that the list of fields returned by this method are not returned by default by toArray(). Only when field names to be expanded are explicitly specified when calling toArray(), will their values be exported. The default implementation returns an empty array. You may override this method to return a list of expandable fields based on some con

data\BaseDataProvider prepareTotalCount()

prepareTotalCount() protected abstract method Returns a value indicating the total number of data models in this data provider. protected abstract integer prepareTotalCount ( )return integer Total number of data models in this data provider.

i18n\Formatter $dateFormat

$dateFormat public property The default format string to be used to format a date. This can be "short", "medium", "long", or "full", which represents a preset format of different lengths. It can also be a custom format as specified in the ICU manual. Alternatively this can be a string prefixed with php: representing a format that can be recognized by the PHP date()-function. For example: 'MM/dd/yyyy' // date in ICU format 'php:m/d/Y' // the same date in PHP format public string $dateForma

data\BaseDataProvider prepareKeys()

prepareKeys() protected abstract method Prepares the keys associated with the currently available data models. protected abstract array prepareKeys ( $models )$models array The available data models return array The keys

data\ActiveDataProvider prepareTotalCount()

prepareTotalCount() protected method Returns a value indicating the total number of data models in this data provider. protected integer prepareTotalCount ( )return integer Total number of data models in this data provider.

mongodb\Connection $driverOptions

$driverOptions public property Options for the MongoDB driver. Any driver-specific options not included in MongoDB connection string specification. See also http://php.net/manual/en/mongodb-driver-manager.construct.php. public array $driverOptions = []

web\ErrorHandler createFrameworkVersionLink()

createFrameworkVersionLink() public method Creates string containing HTML link which refers to the page with the current version of the framework and version number text. public string createFrameworkVersionLink ( )return string Framework version information hyperlink.

grid\GridView renderTableFooter()

renderTableFooter() public method Renders the table footer. public string renderTableFooter ( )return string The rendering result.

base\Application init()

init() public method Initializes the module. This method is called after the module is created and initialized with property values given in configuration. The default implementation will initialize $controllerNamespace if it is not set. If you override this method, please make sure you call the parent implementation. public void init ( )

base\Module setModule()

setModule() public method Adds a sub-module to this module. public void setModule ( $id, $module )$id string Module ID. $module yii\base\Module|array|null The sub-module to be added to this module. This can be one of the following: a yii\base\Module object a configuration array: when getModule() is called initially, the array will be used to instantiate the sub-module null: the named sub-module will be removed from this module