web\View renderAjax()

renderAjax() public method Renders a view in response to an AJAX request. This method is similar to render() except that it will surround the view being rendered with the calls of beginPage(), head(), beginBody(), endBody() and endPage(). By doing so, the method is able to inject into the rendering result with JS/CSS scripts and files that are registered with the view. See also render(). public string renderAjax ( $view, $params = [], $context = null )$view string The view name. Please r

helpers\BaseFileHelper findFiles()

findFiles() public static method Returns the files found under the specified directory and subdirectories. public static array findFiles ( $dir, $options = [] )$dir string The directory under which the files will be looked for. $options array Options for file searching. Valid options are: filter: callback, a PHP callback that is called for each directory or file. The signature of the callback should be: function ($path), where $path refers the full path to be filtered. The callback ca

helpers\BaseStringHelper byteSubstr()

byteSubstr() public static method Returns the portion of string specified by the start and length parameters. This method ensures the string is treated as a byte array by using mb_substr(). See also http://www.php.net/manual/en/function.substr.php. public static string byteSubstr ( $string, $start, $length = null )$string string The input string. Must be one character or longer. $start integer The starting position $length integer The desired portion length. If not specified or null,

rbac\DbManager removeAllItems()

removeAllItems() protected method Removes all auth items of the specified type. protected void removeAllItems ( $type )$type integer The auth item type (either Item::TYPE_PERMISSION or Item::TYPE_ROLE)

console\Response

All Classes | Properties | Methods Inheritance yii\console\Response » yii\base\Response » yii\base\Component » yii\base\Object Implements yii\base\Configurable Available since version 2.0 Source Code https://github.com/yiisoft/yii2/blob/master/framework/console/Response.php The console Response represents the result of a console application. Public Properties Property Type Description Defined By $behaviors yii\base\Behavior[] List of behaviors attached to this component yii\base\Compon

db\Schema $queryBuilder

$queryBuilder public read-only property The query builder for this connection. public yii\db\QueryBuilder getQueryBuilder ( )

base\View $defaultExtension

$defaultExtension public property The default view file extension. This will be appended to view file names if they don't have file extensions. public string $defaultExtension = 'php'

web\Session close()

close() public method Ends the current session and store session data. public void close ( )

debug\Module $allowedHosts

$allowedHosts public property The list of hosts that are allowed to access this module. Each array element is a hostname that will be resolved to an IP address that is compared with the IP address of the user. A use case is to use a dynamic DNS (DDNS) to allow access. The default value is []. public array $allowedHosts = []

db\Schema isReadQuery()

isReadQuery() public method Returns a value indicating whether a SQL statement is for read purpose. public boolean isReadQuery ( $sql )$sql string The SQL statement return boolean Whether a SQL statement is for read purpose.