sphinx\Connection quoteIndexName()

quoteIndexName() public method Quotes a index name for use in a query. If the index name contains schema prefix, the prefix will also be properly quoted. If the index name is already quoted or contains special characters including '(', '[[' and '{{', then this method will do nothing. public string quoteIndexName ( $name )$name string Index name return string The properly quoted index name

debug\models\search\Debug $statusCode

$statusCode public property Status code attribute input search value public string $statusCode = null

validators\NumberValidator validateAttribute()

validateAttribute() public method Validates a single attribute. Child classes must implement this method to provide the actual validation logic. public void validateAttribute ( $model, $attribute )$model yii\base\Model The data model to be validated $attribute string The name of the attribute to be validated.

bootstrap\Modal $footerOptions

$footerOptions public property (available since version 2.0.1) Additional footer options See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. public string $footerOptions = null

mongodb\file\Download getSize()

getSize() public method Returns the size of the associated file. public integer getSize ( )return integer File size.

gii\Generator validateNewClass()

validateNewClass() public method An inline validator that checks if the attribute value refers to a valid namespaced class name. The validator will check if the directory containing the new class file exist or not. public void validateNewClass ( $attribute, $params )$attribute string The attribute being validated $params array The validation options

authclient\OAuth1 buildAuthUrl()

buildAuthUrl() public method Composes user authorization URL. public string buildAuthUrl ( yii\authclient\OAuthToken $requestToken = null, array $params = [] )$requestToken yii\authclient\OAuthToken OAuth request token. $params array Additional request params. return string Authorize URL throws yii\base\Exception on failure.

Rate Limiting

To prevent abuse, you should consider adding rate limiting to your APIs. For example, you may want to limit the API usage of each user to be at most 100 API calls within a period of 10 minutes. If too many requests are received from a user within the stated period of the time, a response with status code 429 (meaning "Too Many Requests") should be returned. To enable rate limiting, the user identity class should implement yii\filters\RateLimitInterface. This interface requires implementation of

web\ViewAction $viewPrefix

$viewPrefix public property A string to be prefixed to the user-specified view name to form a complete view name. For example, if a user requests for tutorial/chap1, the corresponding view name will be pages/tutorial/chap1, assuming the prefix is pages. The actual view file is determined by yii\base\View::findViewFile(). See also yii\base\View::findViewFile(). public string $viewPrefix = 'pages'

elasticsearch\ActiveQuery __construct()

__construct() public method Constructor. public void __construct ( $modelClass, $config = [] )$modelClass array The model class associated with this query $config array Configurations to be applied to the newly created query object