elasticsearch\ActiveQuery one()

one() public method Executes query and returns a single row of result. public yii\elasticsearch\ActiveRecord|array|null one ( $db = null )$db yii\elasticsearch\Connection The DB connection used to create the DB command. If null, the DB connection returned by $modelClass will be used. return yii\elasticsearch\ActiveRecord|array|null A single row of query result. Depending on the setting of asArray(), the query result may be either an array or an ActiveRecord object. Null will be retur

base\Component canSetProperty()

canSetProperty() public method Returns a value indicating whether a property can be set. A property can be written if: the class has a setter method associated with the specified name (in this case, property name is case-insensitive); the class has a member variable with the specified name (when $checkVars is true); an attached behavior has a writable property of the given name (when $checkBehaviors is true). See also canGetProperty(). public boolean canSetProperty ( $name, $checkVars = t

debug\panels\MailPanel getSummary()

getSummary() public method public string getSummary ( )return string Content that is displayed at debug toolbar

base\DynamicModel __set()

__set() public method Sets the value of a component property. This method will check in the following order and act accordingly: a property defined by a setter: set the property value an event in the format of "on xyz": attach the handler to the event "xyz" a behavior in the format of "as xyz": attach the behavior named as "xyz" a property of a behavior: set the behavior property value Do not call this method directly as it is a PHP magic method that will be implicitly called when executing

widgets\ActiveField textarea()

textarea() public method Renders a text area. The model attribute value will be used as the content in the textarea. public $this textarea ( $options = [] )$options array The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using yii\helpers\Html::encode(). If you set a custom id for the textarea element, you may need to adjust the $selectors accordingly. return $this The field object itself.

helpers\BaseConsole clearScreen()

clearScreen() public static method Clears entire screen content by sending ANSI control code ED with argument 2 to the terminal. Cursor position will not be changed. Note: ANSI.SYS implementation used in windows will reset cursor position to upper left corner of the screen. public static void clearScreen ( )

web\View registerJs()

registerJs() public method Registers a JS code block. public void registerJs ( $js, $position = self::POS_READY, $key = null )$js string The JS code block to be registered $position integer The position at which the JS script tag should be inserted in a page. The possible values are: POS_HEAD: in the head section POS_BEGIN: at the beginning of the body section POS_END: at the end of the body section POS_LOAD: enclosed within jQuery(window).load(). Note that by using this position,

mongodb\LogBuilder processData()

processData() protected method Pre-processes the log data before sending it to json_encode(). protected mixed processData ( $data )$data mixed Raw data. return mixed The processed data.

gii\generators\model\Generator 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

elasticsearch\Query delete()

delete() public method Executes the query and deletes all matching documents. Everything except query and filter will be ignored. public array delete ( $db = null, $options = [] )$db yii\elasticsearch\Connection The database connection used to execute the query. If this parameter is not given, the elasticsearch application component will be used. $options array The options given with this query. return array The query results.