mongodb\debug\MongoDbPanel $db

$db public read-only property The name of the database component to use for executing (explain) queries The name of the database component to use for executing (explain) queries public yii\db\Connection getDb ( )

authclient\WeChat $apiBaseUrl

$apiBaseUrl public property API base URL. API base URL. public string $apiBaseUrl = 'https://api.weixin.qq.com'

sphinx\Command checkIntegrity()

checkIntegrity() public method Builds a SQL command for enabling or disabling integrity check. public $this checkIntegrity ( $check = true, $schema = '', $table = '' )$check boolean Whether to turn on or off the integrity check. $schema string The schema name of the tables. Defaults to empty string, meaning the current or default schema. $table string The table name. return $this The command object itself throws yii\base\NotSupportedException if this is not supported by the under

base\Module getVersion()

getVersion() public method (available since version 2.0.11) Returns current module version. If version is not explicitly set, defaultVersion() method will be used to determine its value. public string getVersion ( )return string The version of this module.

gii\console\GenerateAction $controller

$controller public property public yii\gii\console\GenerateController $controller = null

web\Cookie $expire

$expire public property The timestamp at which the cookie expires. This is the server timestamp. Defaults to 0, meaning "until the browser is closed". public integer $expire = 0

authclient\signature\BaseMethod $name

$name public read-only property Method name. public abstract string getName ( )

Quick Start

Creating a Controller Configuring URL Rules Enabling JSON Input Trying it Out Summary Yii provides a whole set of tools to simplify the task of implementing RESTful Web Service APIs. In particular, Yii supports the following features about RESTful APIs: Quick prototyping with support for common APIs for Active Record; Response format negotiation (supporting JSON and XML by default); Customizable object serialization with support for selectable output fields; Proper formatting of collection dat

di\Container set()

set() public method Registers a class definition with this container. For example, // register a class name as is. This can be skipped. $container->set('yii\db\Connection'); // register an interface // When a class depends on the interface, the corresponding class // will be instantiated as the dependent object $container->set('yii\mail\MailInterface', 'yii\swiftmailer\Mailer'); // register an alias name. You can use $container->get('foo') // to create an instance of Connection $

authclient\ClientInterface setId()

setId() public abstract method public abstract void setId ( $id )$id string Service id.