db\ColumnSchemaBuilder defaultValue()

defaultValue() public method Specify the default value for the column. public $this defaultValue ( $default )$default mixed The default value.

data\SqlDataProvider init()

init() public method Initializes the DB connection component. This method will initialize the $db property to make sure it refers to a valid DB connection. public void init ( )throws yii\base\InvalidConfigException if $db is invalid.

base\View $renderers

$renderers public property A list of available renderers indexed by their corresponding supported file extensions. Each renderer may be a view renderer object or the configuration for creating the renderer object. For example, the following configuration enables both Smarty and Twig view renderers: [ 'tpl' => ['class' => 'yii\smarty\ViewRenderer'], 'twig' => ['class' => 'yii\twig\ViewRenderer'], ] If no renderer is available for the given view file, the view file will b

base\Application $cache

$cache public read-only property The cache application component. Null if the component is not enabled. public yii\caching\Cache getCache ( )

caching\MemCacheServer $host

$host public property Memcache server hostname or IP address public string $host = null

elasticsearch\Query populate()

populate() public method (available since version 2.0.4) Converts the raw query results into the format as specified by this query. This method is internally used to convert the data fetched from database into the format as required by this query. public array populate ( $rows )$rows array The raw query result from database return array The converted query result

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.

widgets\ActiveForm errorSummary()

errorSummary() public method Generates a summary of the validation errors. If there is no validation error, an empty error summary markup will still be generated, but it will be hidden. See also $errorSummaryCssClass. public string errorSummary ( $models, $options = [] )$models yii\base\Model|yii\base\Model[] The model(s) associated with this form. $options array The tag options in terms of name-value pairs. The following options are specially handled: header: string, the header HTML

db\BaseActiveRecord getDirtyAttributes()

getDirtyAttributes() public method Returns the attribute values that have been modified since they are loaded or saved most recently. The comparison of new and old values is made for identical values using ===. public array getDirtyAttributes ( $names = null )$names string[]|null The names of the attributes whose values may be returned if they are changed recently. If null, attributes() will be used. return array The changed attribute values (name-value pairs)

codeception\TestCase __get()

__get() public method Returns the value of an object property. Do not call this method directly as it is a PHP magic method that will be implicitly called when executing $value = $object->property;. public mixed __get ( $name )$name string The property name return mixed The property value throws yii\base\UnknownPropertyException if the property is not defined