helpers\UnsetArrayValue

All Classes Inheritance yii\helpers\UnsetArrayValue Available since version 2.0.10 Source Code https://github.com/yiisoft/yii2/blob/master/framework/helpers/UnsetArrayValue.php Object that represents the removal of array value while performing yii\helpers\ArrayHelper::merge(). Usage example: $array1 = [ 'ids' => [ 1, ], 'validDomains' => [ 'example.com', 'www.example.com', ], ]; $array2 = [ 'ids' => [ 2, ], 'validDomains

db\sqlite\Schema setTransactionIsolationLevel()

setTransactionIsolationLevel() public method Sets the isolation level of the current transaction. See also http://www.sqlite.org/pragma.html#pragma_read_uncommitted. public void setTransactionIsolationLevel ( $level )$level string The transaction isolation level to use for this transaction. This can be either yii\db\Transaction::READ_UNCOMMITTED or yii\db\Transaction::SERIALIZABLE. throws yii\base\NotSupportedException when unsupported isolation levels are used. SQLite only supports SE

web\Request getUserAgent()

getUserAgent() public method Returns the user agent. public string|null getUserAgent ( )return string|null User agent, null if not available

db\oci\QueryBuilder dropIndex()

dropIndex() public method Builds a SQL statement for dropping an index. public string dropIndex ( $name, $table )$name string The name of the index to be dropped. The name will be properly quoted by the method. $table string The table whose index is to be dropped. The name will be properly quoted by the method. return string The SQL statement for dropping an index.

base\Module $controllerMap

$controllerMap public property Mapping from controller ID to controller configurations. Each name-value pair specifies the configuration of a single controller. A controller configuration can be either a string or an array. If the former, the string should be the fully qualified class name of the controller. If the latter, the array must contain a class element which specifies the controller's fully qualified class name, and the rest of the name-value pairs in the array are used to initiali

db\BaseActiveRecord setOldAttributes()

setOldAttributes() public method Sets the old attribute values. All existing old attribute values will be discarded. public void setOldAttributes ( $values )$values array|null Old attribute values to be set. If set to null this record is considered to be new.

widgets\DetailView $attributes

$attributes public property A list of attributes to be displayed in the detail view. Each array element represents the specification for displaying one particular attribute. An attribute can be specified as a string in the format of attribute, attribute:format or attribute:format:label, where attribute refers to the attribute name, and format represents the format of the attribute. The format is passed to the yii\i18n\Formatter::format() method to format an attribute value into a displayabl

db\BaseActiveRecord afterRefresh()

afterRefresh() public method (available since version 2.0.8) This method is called when the AR object is refreshed. The default implementation will trigger an EVENT_AFTER_REFRESH event. When overriding this method, make sure you call the parent implementation to ensure the event is triggered. public void afterRefresh ( )

BaseYii getLogger()

getLogger() public static method public static yii\log\Logger getLogger ( )return yii\log\Logger Message logger

web\AssetManager init()

init() public method Initializes the component. public void init ( )throws yii\base\InvalidConfigException if $basePath is invalid