get() public method Gets a document from the index See also http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-get.html. public mixed get ( $index, $type, $id, $options = [] )$index $type $id $options array
getCollection() public method Returns the Mongo collection for this query. public yii\mongodb\Collection getCollection ( $db = null )$db yii\mongodb\Connection Mongo connection. return yii\mongodb\Collection Collection instance.
formatMessage() public method Formats a log message for display as a string. public string formatMessage ( $message )$message array The log message to be formatted. The message structure follows that in yii\log\Logger::$messages. return string The formatted message
hints() public method Returns the list of hint messages. The array keys are the attribute names, and the array values are the corresponding hint messages. Hint messages will be displayed to end users when they are filling the form for the generator. public array hints ( )return array The list of hint messages
requiredTemplates() public method Returns a list of code template files that are required. Derived classes usually should override this method if they require the existence of certain template files. public array requiredTemplates ( )return array List of code template files that are required. They should be file paths relative to $templatePath.
createView() protected method Creates view instance from given configuration. protected yii\web\View createView ( array $config )$config array View configuration. return yii\web\View View instance.
$controllerNamespace public read-only property The namespace of the controller class public string getControllerNamespace ( )
set() public method Adds a new header. If there is already a header with the same name, it will be replaced. public $this set ( $name, $value = '' )$name string The name of the header $value string The value of the header return $this The collection object itself
$js public property List of JavaScript files that this bundle contains. Each JavaScript file can be specified in one of the following formats: an absolute URL representing an external asset. For example, http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js or //ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js. a relative path representing a local asset (e.g. js/main.js). The actual file path of a local asset can be determined by prefixing $basePath to the relative path, a
error() public static method Prints text to STDERR appended with a carriage return (PHP_EOL). public static integer|boolean error ( $string = null )$string string The text to print return integer|boolean Number of bytes printed or false on error.
Page 406 of 633