elasticsearch\ActiveRecord index()

index() public static method public static string index ( )return string The name of the index this record is stored in.

Models

Attributes Scenarios Validation Rules Massive Assignment Data Exporting Best Practices Models are part of the MVC architecture. They are objects representing business data, rules and logic. You can create model classes by extending yii\base\Model or its child classes. The base class yii\base\Model supports many useful features: Attributes: represent the business data and can be accessed like normal object properties or array elements; Attribute labels: specify the display labels for attribut

db\ActiveRecord isTransactional()

isTransactional() public method Returns a value indicating whether the specified operation is transactional in the current $scenario. public boolean isTransactional ( $operation )$operation integer The operation to check. Possible values are OP_INSERT, OP_UPDATE and OP_DELETE. return boolean Whether the specified operation is transactional in the current $scenario.

console\Markdown renderParagraph()

renderParagraph() protected method protected void renderParagraph ( $block )$block

base\Model $firstErrors

$firstErrors public read-only property The first errors. The array keys are the attribute names, and the array values are the corresponding error messages. An empty array will be returned if there is no error. public array getFirstErrors ( )

web\UploadedFile $hasError

$hasError public read-only property Whether there is an error with the uploaded file. Check $error for detailed error code information. public boolean getHasError ( )

mongodb\gii\model\Generator $name

$name public read-only property Name of the code generator public string getName ( )

elasticsearch\DebugPanel $name

$name public read-only property Name of the panel public string getName ( )

widgets\LinkPager $firstPageCssClass

$firstPageCssClass public property The CSS class for the "first" page button. public string $firstPageCssClass = 'first'

captcha\CaptchaAction $testLimit

$testLimit public property How many times should the same CAPTCHA be displayed. Defaults to 3. A value less than or equal to 0 means the test is unlimited (available since version 1.1.2). public integer $testLimit = 3