debug\controllers\DefaultController beforeAction()

beforeAction() public method public void beforeAction ( $action )$action

db\BaseActiveRecord EVENT_AFTER_FIND

EVENT_AFTER_FIND event of type yii\base\Event An event that is triggered after the record is created and populated with query result.

debug\controllers\DefaultController actionToolbar()

actionToolbar() public method public void actionToolbar ( $tag )$tag

gii\generators\model\Generator $name

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

db\Command cache()

cache() public method Enables query cache for this command. public $this cache ( $duration = null, $dependency = null )$duration integer The number of seconds that query result of this command can remain valid in the cache. If this is not set, the value of yii\db\Connection::$queryCacheDuration will be used instead. Use 0 to indicate that the cached data will never expire. $dependency yii\caching\Dependency The cache dependency associated with the cached query result. return $this Th

gii\generators\module\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

bootstrap\Carousel renderItem()

renderItem() public method Renders a single carousel item public string renderItem ( $item, $index )$item string|array A single item from $items $index integer The item index as the first item should be set to active return string The rendering result throws yii\base\InvalidConfigException if the item is invalid

caching\ApcCache init()

init() public method Initializes this application component. It checks if extension required is loaded. public void init ( )

web\Response getIsOk()

getIsOk() public method public boolean getIsOk ( )return boolean Whether this response is OK

mongodb\Command insert()

insert() public method Inserts new document into collection. public \MongoDB\BSON\ObjectID|boolean insert ( $collectionName, $document, $options = [] )$collectionName string Collection name $document array Document content $options array List of options in format: optionName => optionValue. return \MongoDB\BSON\ObjectID|boolean Inserted record ID, false - on failure.