mongodb\QueryBuilder buildLikeCondition()

buildLikeCondition() public method Creates a Mongo condition, which emulates the LIKE operator. public array buildLikeCondition ( $operator, $operands )$operator string The operator to use $operands array The first operand is the column name. The second operand is a single value that column value should be compared with. return array The generated Mongo condition. throws yii\base\InvalidParamException if wrong number of operands have been given.

authclient\OAuthToken setExpireDuration()

setExpireDuration() public method Sets token expire duration. public void setExpireDuration ( $expireDuration )$expireDuration string Token expiration duration.

mongodb\Command mapReduce()

mapReduce() public method Performs MongoDB "map-reduce" command. public string|array mapReduce ( $collectionName, $map, $reduce, $out, $condition = [], $options = [] )$collectionName string Collection name. $map \MongoDB\BSON\Javascript|string Function, which emits map data from collection. Argument will be automatically cast to \MongoDB\BSON\Javascript. $reduce \MongoDB\BSON\Javascript|string Function that takes two arguments (the map key and the map values) and does the aggregati

i18n\Formatter asParagraphs()

asParagraphs() public method Formats the value as HTML-encoded text paragraphs. Each text paragraph is enclosed within a <p> tag. One or multiple consecutive empty lines divide two paragraphs. public string asParagraphs ( $value )$value string The value to be formatted. return string The formatted result.

i18n\I18N setMessageFormatter()

setMessageFormatter() public method public void setMessageFormatter ( $value )$value string|array|yii\i18n\MessageFormatter The message formatter to be used to format message via ICU message format. Can be given as array or string configuration that will be given to Yii::createObject() to create an instance or a yii\i18n\MessageFormatter instance.

authclient\BaseOAuth setState()

setState() protected method Sets persistent state. protected $this setState ( $key, $value )$key string State key. $value mixed State value return $this The object itself

test\InitDbFixture beforeUnload()

beforeUnload() public method This method is called BEFORE any fixture data is unloaded for the current test. public void beforeUnload ( )

widgets\LinkSorter $options

$options public property HTML attributes for the sorter container tag. See also: yii\helpers\Html::ul() for special attributes. yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. public array $options = ['class' => 'sorter']

sphinx\gii\model\Generator getIndexNames()

getIndexNames() protected method protected array getIndexNames ( )return array The index names that match the pattern specified by $indexName.

caching\Cache getValue()

getValue() protected abstract method Retrieves a value from cache with a specified key. This method should be implemented by child classes to retrieve the data from specific cache storage. protected abstract mixed|false getValue ( $key )$key string A unique key identifying the cached value return mixed|false The value stored in cache, false if the value is not in the cache or expired. Most often value is a string. If you have disabled $serializer, it could be something else.