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.

caching\MemCacheServer $retryInterval

$retryInterval public property How often a failed server will be retried (in seconds). This is used by memcache only. public integer $retryInterval = 15

db\cubrid\Schema setTransactionIsolationLevel()

setTransactionIsolationLevel() public method Sets the isolation level of the current transaction. See also http://www.cubrid.org/manual/91/en/sql/transaction.html#database-concurrency. public void setTransactionIsolationLevel ( $level )$level string The transaction isolation level to use for this transaction. This can be one of yii\db\Transaction::READ_UNCOMMITTED, yii\db\Transaction::READ_COMMITTED, yii\db\Transaction::REPEATABLE_READ and yii\db\Transaction::SERIALIZABLE but also a stri

web\CacheSession readSession()

readSession() public method Session read handler. Do not call this method directly. public string readSession ( $id )$id string Session ID return string The session data

validators\IpValidator validateAttribute()

validateAttribute() public method Validates a single attribute. Child classes must implement this method to provide the actual validation logic. public void validateAttribute ( $model, $attribute )$model yii\base\Model The data model to be validated $attribute string The name of the attribute to be validated.

web\ErrorHandler createHttpStatusLink()

createHttpStatusLink() public method Creates HTML containing link to the page with the information on given HTTP status code. public string createHttpStatusLink ( $statusCode, $statusDescription )$statusCode integer To be used to generate information link. $statusDescription string Description to display after the the status code. return string Generated HTML with HTTP status code information.

gii\generators\form\Generator 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

widgets\InputWidget hasModel()

hasModel() protected method protected boolean hasModel ( )return boolean Whether this widget is associated with a data model.

widgets\ActiveForm validate()

validate() public static method Validates one or several models and returns an error message array indexed by the attribute IDs. This is a helper method that simplifies the way of writing AJAX validation code. For example, you may use the following code in a controller action to respond to an AJAX validation request: $model = new Post; $model->load(Yii::$app->request->post()); if (Yii::$app->request->isAjax) { Yii::$app->response->format = Response::FORMAT_JSON;

elasticsearch\DebugAction run()

run() public method public void run ( $logId, $tag )$logId $tag