sphinx\Command truncateIndex()

truncateIndex() public method Creates a SQL command for truncating a runtime index. public $this truncateIndex ( $index )$index string The index to be truncated. The name will be properly quoted by the method. return $this The command object itself

helpers\BaseStringHelper basename()

basename() public static method Returns the trailing name component of a path. This method is similar to the php function basename() except that it will treat both \ and / as directory separators, independent of the operating system. This method was mainly created to work on php namespaces. When working with real file paths, php's basename() should work fine for you. Note: this method is not aware of the actual filesystem, or path components such as "..". See also http://www.php.net/manual/

helpers\BaseStringHelper dirname()

dirname() public static method Returns parent directory's path. This method is similar to dirname() except that it will treat both \ and / as directory separators, independent of the operating system. See also http://www.php.net/manual/en/function.basename.php. public static string dirname ( $path )$path string A path string. return string The parent directory's path.

db\QueryTrait normalizeOrderBy()

normalizeOrderBy() protected method Normalizes format of ORDER BY data protected array normalizeOrderBy ( $columns )$columns array|string|yii\db\Expression The columns value to normalize. See orderBy() and addOrderBy().

widgets\ActiveField label()

label() public method Generates a label tag for $attribute. public $this label ( $label = null, $options = [] )$label null|string|false The label to use. If null, the label will be generated via yii\base\Model::getAttributeLabel(). If false, the generated field will not contain the label part. Note that this will NOT be encoded. $options null|array The tag options in terms of name-value pairs. It will be merged with $labelOptions. The options will be rendered as the attributes of t

db\QueryTrait filterCondition()

filterCondition() protected method Removes empty operands from the given query condition. protected array filterCondition ( $condition )$condition array The original condition return array The condition with empty operands removed. throws yii\base\NotSupportedException if the condition operator is not supported

base\Model isAttributeRequired()

isAttributeRequired() public method Returns a value indicating whether the attribute is required. This is determined by checking if the attribute is associated with a required validation rule in the current $scenario. Note that when the validator has a conditional validation applied using $when this method will return false regardless of the when condition because it may be called be before the model is loaded with data. public boolean isAttributeRequired ( $attribute )$attribute string

web\Session readSession()

readSession() public method Session read handler. This method should be overridden if $useCustomStorage returns true. Do not call this method directly. public string readSession ( $id )$id string Session ID return string The session data

sphinx\Query queryScalar()

queryScalar() protected method Queries a scalar value by setting select() first. Restores the value of select to make this query reusable. protected boolean|string queryScalar ( $selectExpression, $db )$selectExpression string|yii\db\Expression $db yii\db\Connection|null

sphinx\ActiveQuery defaultConnection()

defaultConnection() protected method protected yii\sphinx\Connection defaultConnection ( )return yii\sphinx\Connection Default connection value.