elasticsearch\Query $type

$type public property The type to retrieve data from. This can be a string representing a single type or a an array of multiple types. If this is not set, all types are being queried. See also from(). public string|array $type = null

base\Controller __construct()

__construct() public method public void __construct ( $id, $module, $config = [] )$id string The ID of this controller. $module yii\base\Module The module that this controller belongs to. $config array Name-value pairs that will be used to initialize the object properties.

helpers\Markdown

All Classes | Properties | Methods Inheritance yii\helpers\Markdown » yii\helpers\BaseMarkdown Available since version 2.0 Source Code https://github.com/yiisoft/yii2/blob/master/framework/helpers/Markdown.php Markdown provides an ability to transform markdown into HTML. Basic usage is the following: $myHtml = Markdown::process($myText); // use original markdown flavor $myHtml = Markdown::process($myText, 'gfm'); // use github flavored markdown $myHtml = Markdown::process($myText, 'extra

base\Security $kdfHash

$kdfHash public property Hash algorithm for key derivation. Recommend sha256, sha384 or sha512. See also \yii\base\hash_algos(). public string $kdfHash = 'sha256'

base\Model activeAttributes()

activeAttributes() public method Returns the attribute names that are subject to validation in the current scenario. public string[] activeAttributes ( )return string[] Safe attribute names

elasticsearch\Query $stats

$stats public property The 'stats' part of the query. An array of groups to maintain a statistics aggregation for. See also http://www.elastic.co/guide/en/elasticsearch/reference/current/search.html#stats-groups. public array $stats = []

sphinx\ActiveQuery snippetByModel()

snippetByModel() public method Sets the snippetCallback() to fetchSnippetSourceFromModels(), which allows to fetch the snippet source strings from the Active Record models, using method yii\sphinx\ActiveRecord::getSnippetSource(). For example: class Article extends ActiveRecord { public function getSnippetSource() { return file_get_contents('/path/to/source/files/' . $this->id . '.txt');; } } $articles = Article::find()->snippetByModel()->all(); Warning: this

base\Module setBasePath()

setBasePath() public method Sets the root directory of the module. This method can only be invoked at the beginning of the constructor. public void setBasePath ( $path )$path string The root directory of the module. This can be either a directory name or a path alias. throws yii\base\InvalidParamException if the directory does not exist.

helpers\BaseInflector titleize()

titleize() public static method Converts an underscored or CamelCase word into a English sentence. public static string titleize ( $words, $ucAll = false )$words string $ucAll boolean Whether to set all words to uppercase

data\Sort getAttributeOrder()

getAttributeOrder() public method Returns the sort direction of the specified attribute in the current request. public boolean|null getAttributeOrder ( $attribute )$attribute string The attribute name return boolean|null Sort direction of the attribute. Can be either SORT_ASC for ascending order or SORT_DESC for descending order. Null is returned if the attribute is invalid or does not need to be sorted.