elasticsearch\ActiveDataProvider $aggregations

$aggregations public read-only property All aggregations results public array getAggregations ( )

di\ServiceLocator __isset()

__isset() public method Checks if a property value is null. This method overrides the parent implementation by checking if the named component is loaded. public boolean __isset ( $name )$name string The property name or the event name return boolean Whether the property value is null

di\ServiceLocator __get()

__get() public method Getter magic method. This method is overridden to support accessing components like reading properties. public mixed __get ( $name )$name string Component or property name return mixed The named property value

di\ServiceLocator setComponents()

setComponents() public method Registers a set of component definitions in this locator. This is the bulk version of set(). The parameter should be an array whose keys are component IDs and values the corresponding component definitions. For more details on how to specify component IDs and definitions, please refer to set(). If a component definition with the same ID already exists, it will be overwritten. The following is an example for registering two component definitions: [ 'db' =>

di\ServiceLocator set()

set() public method Registers a component definition with this locator. For example, // a class name $locator->set('cache', 'yii\caching\FileCache'); // a configuration array $locator->set('db', [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=127.0.0.1;dbname=demo', 'username' => 'root', 'password' => '', 'charset' => 'utf8', ]); // an anonymous function $locator->set('cache', function ($params) { return new \yii\caching\FileCache; })

di\ServiceLocator has()

has() public method Returns a value indicating whether the locator has the specified component definition or has instantiated the component. This method may return different results depending on the value of $checkInstance. If $checkInstance is false (default), the method will return a value indicating whether the locator has the specified component definition. If $checkInstance is true, the method will return a value indicating whether the locator has instantiated the specified component.

di\ServiceLocator getComponents()

getComponents() public method Returns the list of the component definitions or the loaded component instances. public array getComponents ( $returnDefinitions = true )$returnDefinitions boolean Whether to return component definitions instead of the loaded component instances. return array The list of the component definitions or the loaded component instances (ID => definition or instance).

di\ServiceLocator get()

get() public method Returns the component instance with the specified ID. See also: has() set() public object|null get ( $id, $throwException = true )$id string Component ID (e.g. db). $throwException boolean Whether to throw an exception if $id is not registered with the locator before. return object|null The component of the specified ID. If $throwException is false and $id is not registered before, null will be returned. throws yii\base\InvalidConfigException if $id refers to

di\ServiceLocator clear()

clear() public method Removes the component from the locator. public void clear ( $id )$id string The component ID

di\ServiceLocator $components

$components public property The list of the component definitions or the loaded component instances (ID => definition or instance). public array getComponents ( $returnDefinitions = true )public void setComponents ( $components )