base\View beginCache()

beginCache() public method Begins fragment caching. This method will display cached content if it is available. If not, it will start caching and would expect an endCache() call to end the cache and save the content into cache. A typical usage of fragment caching is as follows, if ($this->beginCache($id)) { // ...generate content here $this->endCache(); } public boolean beginCache ( $id, $properties = [] )$id string A unique ID identifying the fragment to be cached. $prop

web\Application bootstrap()

bootstrap() protected method Initializes extensions and executes bootstrap components. This method is called by init() after the application has been fully configured. If you override this method, make sure you also call the parent implementation. protected void bootstrap ( )

web\Session $handler

$handler public property An object implementing the SessionHandlerInterface or a configuration array. If set, will be used to provide persistency instead of build-in methods. public SessionHandlerInterface|array $handler = null

i18n\Formatter init()

init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )

elasticsearch\Connection $queryBuilder

$queryBuilder public read-only property public yii\elasticsearch\QueryBuilder getQueryBuilder ( )

web\User can()

can() public method Checks if the user can perform the operation as specified by the given permission. Note that you must configure "authManager" application component in order to use this method. Otherwise it will always return false. public boolean can ( $permissionName, $params = [], $allowCaching = true )$permissionName string The name of the permission (e.g. "edit post") that needs access check. $params array Name-value pairs that would be passed to the rules associated with the r

mongodb\Connection setLogBuilder()

setLogBuilder() public method (available since version 2.1) Sets log builder used for this connection. public void setLogBuilder ( $logBuilder )$logBuilder array|string|yii\mongodb\LogBuilder The log builder for this connection.

console\controllers\HelpController validateControllerClass()

validateControllerClass() protected method Validates if the given class is a valid console controller class. protected boolean validateControllerClass ( $controllerClass )$controllerClass string

db\oci\Schema quoteSimpleTableName()

quoteSimpleTableName() public method Quotes a simple table name for use in a query. A simple table name should contain the table name only without any schema prefix. If the table name is already quoted, this method will do nothing. public string quoteSimpleTableName ( $name )$name string Table name return string The properly quoted table name

db\pgsql\Schema quoteSimpleTableName()

quoteSimpleTableName() public method Quotes a table name for use in a query. A simple table name has no schema prefix. public string quoteSimpleTableName ( $name )$name string Table name return string The properly quoted table name