base\Request setScriptFile()

setScriptFile() public method Sets the entry script file path. The entry script file path can normally be determined based on the SCRIPT_FILENAME SERVER variable. However, for some server configurations, this may not be correct or feasible. This setter is provided so that the entry script file path can be manually specified. public void setScriptFile ( $value )$value string The entry script file path. This can be either a file path or a path alias. throws yii\base\InvalidConfigException

db\BaseActiveRecord EVENT_AFTER_UPDATE

EVENT_AFTER_UPDATE event of type yii\db\AfterSaveEvent An event that is triggered after a record is updated.

sphinx\ActiveQuery fetchSnippetSourceFromModels()

fetchSnippetSourceFromModels() protected method Fetches the source for the snippets using yii\sphinx\ActiveRecord::getSnippetSource() method. protected array fetchSnippetSourceFromModels ( $models )$models yii\sphinx\ActiveRecord[] Raw query result rows. return array Snippet source strings throws yii\base\InvalidCallException if asArray() enabled.

web\Session $savePath

$savePath public property The current session save path, defaults to '/tmp'. public string getSavePath ( )public void setSavePath ( $value )

gii\generators\module\Generator $controllerNamespace

$controllerNamespace public read-only property The controller namespace of the module. public string getControllerNamespace ( )

sphinx\Schema $indexTypes

$indexTypes public read-only property All index types in the Sphinx in format: index name => index type. public array getIndexTypes ( $refresh = false )

debug\DebugAsset $sourcePath

$sourcePath public property public $sourcePath = '@yii/debug/assets'

grid\GridViewAsset $js

$js public property public $js = ['yii.gridView.js']

base\Model rules()

rules() public method Returns the validation rules for attributes. Validation rules are used by validate() to check if attribute values are valid. Child classes may override this method to declare different validation rules. Each rule is an array with the following structure: [ ['attribute1', 'attribute2'], 'validator type', 'on' => ['scenario1', 'scenario2'], //...other parameters... ] where attribute list: required, specifies the attributes array to be validated, for s

db\ActiveQueryTrait $modelClass

$modelClass public property The name of the ActiveRecord class. public string $modelClass = null