data\DataProviderInterface getCount()

getCount() public abstract method Returns the number of data models in the current page. This is equivalent to count($provider->getModels()). When pagination is false, this is the same as totalCount. public abstract integer getCount ( )return integer The number of data models in the current page.

authclient\signature\BaseMethod generateSignature()

generateSignature() public abstract method Generates OAuth request signature. public abstract string generateSignature ( $baseString, $key )$baseString string Signature base string. $key string Signature key. return string Signature string.

mongodb\Command count()

count() public method Counts records in specified collection. public integer count ( $collectionName, $condition = [], $options = [] )$collectionName string Collection name $condition array Filter condition $options array List of options in format: optionName => optionValue. return integer Records count

redis\ActiveRecord deleteAll()

deleteAll() public static method Deletes rows in the table using the provided conditions. WARNING: If you do not specify any condition, this method will delete ALL rows in the table. For example, to delete all customers whose status is 3: Customer::deleteAll(['status' => 3]); public static integer deleteAll ( $condition = null )$condition array The conditions that will be put in the WHERE part of the DELETE SQL. Please refer to yii\redis\ActiveQuery::where() on how to specify this pa

base\UserException

All Classes | Methods Inheritance yii\base\UserException » yii\base\Exception » Exception Subclasses yii\base\InvalidRouteException, yii\console\Exception, yii\web\BadRequestHttpException, yii\web\ConflictHttpException, yii\web\ForbiddenHttpException, yii\web\GoneHttpException, yii\web\HttpException, yii\web\MethodNotAllowedHttpException, yii\web\NotAcceptableHttpException, yii\web\NotFoundHttpException, yii\web\ServerErrorHttpException, yii\web\TooManyRequestsHttpException, yii\web\Unauth

sphinx\MatchExpression $params

$params public property List of match expression parameter values indexed by parameter placeholders. For example, [':name' => 'Dan', ':age' => 31]. These parameters will be automatically escaped using yii\sphinx\Connection::escapeMatchValue() and inserted into MATCH expression as a quoted strings. public array $params = []

helpers\BaseJson handleJsonError()

handleJsonError() protected static method (available since version 2.0.6) Handles encode() and decode() errors by throwing exceptions with the respective error message. protected static void handleJsonError ( $lastError )$lastError integer Error code from json_last_error(). throws yii\base\InvalidParamException if there is any encoding/decoding error.

mail\MessageInterface setTextBody()

setTextBody() public abstract method Sets message plain text content. public abstract $this setTextBody ( $text )$text string Message plain text content. return $this Self reference.

sphinx\Query showMeta()

showMeta() public method Sets whether to automatically perform 'SHOW META' for the search query. See also showMeta(). public $this showMeta ( $showMeta )$showMeta boolean|string|yii\db\Expression Whether to automatically perform 'SHOW META' return $this The query object itself

i18n\I18N translate()

translate() public method Translates a message to the specified language. After translation the message will be formatted using yii\i18n\MessageFormatter if it contains ICU message format and $params are not empty. public string translate ( $category, $message, $params, $language )$category string The message category. $message string The message to be translated. $params array The parameters that will be used to replace the corresponding placeholders in the message. $language strin