sphinx\QueryBuilder buildCondition()

buildCondition() public method Parses the condition specification and generates the corresponding SQL expression. public string buildCondition ( $indexes, $condition, &$params )$indexes yii\sphinx\IndexSchema[] List of indexes, which affected by query $condition string|array The condition specification. Please refer to yii\sphinx\Query::where() on how to specify a condition. $params array The binding parameters to be populated return string The generated SQL expression thro

smarty\ViewRenderer $imports

$imports public property Class imports similar to the use tag public array $imports = []

smarty\ViewRenderer resolveTemplateDir()

resolveTemplateDir() protected method The directory can be specified in Yii's standard convention using @, // and / prefixes or no prefix for view relative directories. protected string resolveTemplateDir ( $dir )$dir string Directory name to be resolved return string The resolved directory name

smarty\ViewRenderer render()

render() public method Renders a view file. This method is invoked by yii\web\View whenever it tries to render a view. Child classes must implement this method to render the given view file. public string render ( $view, $file, $params )$view yii\web\View The view object used for rendering the file. $file string The view file. $params array The parameters to be passed to the view file. return string The rendering result

web\AssetManager getPublishedUrl()

getPublishedUrl() public method Returns the URL of a published file path. This method does not perform any publishing. It merely tells you if the file path is published, what the URL will be to access it. public string|false getPublishedUrl ( $path )$path string Directory or file path being published return string|false String the published URL for the file or directory. False if the file or directory does not exist.

db\Migration execute()

execute() public method Executes a SQL statement. This method executes the specified SQL statement using $db. public void execute ( $sql, $params = [] )$sql string The SQL statement to be executed $params array Input parameters (name => value) for the SQL execution. See yii\db\Command::execute() for more details.

db\ActiveRecord transactions()

transactions() public method Declares which DB operations should be performed within a transaction in different scenarios. The supported DB operations are: OP_INSERT, OP_UPDATE and OP_DELETE, which correspond to the insert(), update() and delete() methods, respectively. By default, these methods are NOT enclosed in a DB transaction. In some scenarios, to ensure data consistency, you may want to enclose some or all of them in transactions. You can do so by overriding this method and returnin

helpers\ReplaceArrayValue $value

$value public property Value used as replacement. public mixed $value = null

caching\ArrayCache exists()

exists() public method Checks whether a specified key exists in the cache. This can be faster than getting the value from the cache if the data is big. In case a cache does not support this feature natively, this method will try to simulate it but has no performance improvement over getting it. Note that this method does not check whether the dependency associated with the cached data, if there is any, has changed. So a call to get() may return false while exists returns true. public bool

gii\generators\controller\Generator $viewPath

$viewPath public property The controller's view path public string $viewPath = null