db\Migration up()

up() public method This method contains the logic to be executed when applying this migration. Child classes may override this method to provide actual migration logic. public boolean up ( )return boolean Return a false value to indicate the migration fails and should not proceed further. All other return values mean the migration succeeds.

web\IdentityInterface getId()

getId() public abstract method Returns an ID that can uniquely identify a user identity. public abstract string|integer getId ( )return string|integer An ID that uniquely identifies a user identity.

test\BaseActiveFixture getData()

getData() protected method Returns the fixture data. The default implementation will try to return the fixture data by including the external file specified by $dataFile. The file should return the data array that will be stored in $data after inserting into the database. protected array getData ( )return array The data to be put into the database throws yii\base\InvalidConfigException if the specified data file does not exist.

db\Query all()

all() public method Executes the query and returns all results as an array. public array all ( $db = null )$db yii\db\Connection The database connection used to generate the SQL statement. If this parameter is not given, the db application component will be used. return array The query results. If the query results in nothing, an empty array will be returned.

widgets\FragmentCache $variations

$variations public property List of factors that would cause the variation of the content being cached. Each factor is a string representing a variation (e.g. the language, a GET parameter). The following variation setting will cause the content to be cached in different versions according to the current application language: [ Yii::$app->language, ] public array $variations = null

mongodb\Migration beginProfile()

beginProfile() protected method (available since version 2.1.1) Marks the beginning of a code block for profiling. protected void beginProfile ( $token )$token string Token for the code block.

db\BaseActiveRecord EVENT_BEFORE_DELETE

EVENT_BEFORE_DELETE event of type yii\base\ModelEvent An event that is triggered before deleting a record. You may set yii\base\ModelEvent::$isValid to be false to stop the deletion.

base\Object init()

init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )

sphinx\gii\model\Generator generateLabels()

generateLabels() public method Generates the attribute labels for the specified table. public array generateLabels ( $table )$table yii\db\TableSchema The table schema return array The generated attribute labels (name => label)

debug\models\search\Db search()

search() public method Returns data provider with filled models. Filter applied if needed. public yii\data\ArrayDataProvider search ( $params, $models )$params array An array of parameter values indexed by parameter names $models array Data to return provider for