base\Model attributeLabels()

attributeLabels() public method Returns the attribute labels. Attribute labels are mainly used for display purpose. For example, given an attribute firstName, we can declare a label First Name which is more user-friendly and can be displayed to end users. By default an attribute label is generated using generateAttributeLabel(). This method allows you to explicitly specify attribute labels. Note, in order to inherit labels defined in the parent class, a child class needs to merge the parent

db\Query $having

$having public property The condition to be applied in the GROUP BY clause. It can be either a string or an array. Please refer to where() on how to specify the condition. public string|array|yii\db\Expression $having = null

elasticsearch\Command insert()

insert() public method Inserts a document into an index See also http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html. public mixed insert ( $index, $type, $data, $id = null, $options = [] )$index string $type string $data string|array Json string or array of data to store $id null The documents id. If not specified Id will be automatically chosen $options array

db\BaseActiveRecord setOldAttributes()

setOldAttributes() public method Sets the old attribute values. All existing old attribute values will be discarded. public void setOldAttributes ( $values )$values array|null Old attribute values to be set. If set to null this record is considered to be new.

filters\RateLimitInterface getRateLimit()

getRateLimit() public abstract method Returns the maximum number of allowed requests and the window size. public abstract array getRateLimit ( $request, $action )$request yii\web\Request The current request $action yii\base\Action The action to be executed return array An array of two elements. The first element is the maximum number of allowed requests, and the second element is the size of the window in seconds.

web\AssetManager $assetMap

$assetMap public property Mapping from source asset files (keys) to target asset files (values). This property is provided to support fixing incorrect asset file paths in some asset bundles. When an asset bundle is registered with a view, each relative asset file in its css and js arrays will be examined against this map. If any of the keys is found to be the last part of an asset file (which is prefixed with yii\web\AssetBundle::$sourcePath if available), the corresponding value will repla

base\Controller createAction()

createAction() public method Creates an action based on the given action ID. The method first checks if the action ID has been declared in actions(). If so, it will use the configuration declared there to create the action object. If not, it will look for a controller method whose name is in the format of actionXyz where Xyz stands for the action ID. If found, an yii\base\InlineAction representing that method will be created and returned. public yii\base\Action createAction ( $id )$id str

widgets\LinkPager $maxButtonCount

$maxButtonCount public property Maximum number of page buttons that can be displayed. Defaults to 10. public integer $maxButtonCount = 10

authclient\WeChat fetchAccessToken()

fetchAccessToken() public method Fetches access token from authorization code. public yii\authclient\OAuthToken fetchAccessToken ( $authCode, array $params = [] )$authCode string Authorization code, usually comes at $_GET['code']. $params array Additional request params. return yii\authclient\OAuthToken Access token.

i18n\DbMessageSource $cachingDuration

$cachingDuration public property The time in seconds that the messages can remain valid in cache. Use 0 to indicate that the cached data will never expire. See also $enableCaching. public integer $cachingDuration = 0