filters\AccessControl $ruleConfig

$ruleConfig public property The default configuration of access rules. Individual rule configurations specified via $rules will take precedence when the same property of the rule is configured. public array $ruleConfig = ['class' => 'yii\filters\AccessRule']

filters\AccessControl $denyCallback

$denyCallback public property A callback that will be called if the access should be denied to the current user. If not set, denyAccess() will be called. The signature of the callback should be as follows: function ($rule, $action) where $rule is the rule that denies the user, and $action is the current action object. $rule can be null if access is denied because none of the rules matched. public callable $denyCallback = null

Filters

Using Filters Creating Filters Core Filters Filters are objects that run before and/or after controller actions. For example, an access control filter may run before actions to ensure that they are allowed to be accessed by particular end users; a content compression filter may run after actions to compress the response content before sending them out to end users. A filter may consist of a pre-filter (filtering logic applied before actions) and/or a post-filter (logic applied after actions).

faker\FixtureController options()

options() public method Returns the names of valid options for the action (id) An option requires the existence of a public member variable whose name is the option name. Child classes may override this method to specify possible options. Note that the values setting via options are not available until beforeAction() is being called. public array options ( $actionID )$actionID string The action id of the current request return array The names of the options valid for the action

faker\FixtureController getGenerator()

getGenerator() public method Returns Faker generator instance. Getter for private property. public \Faker\Generator getGenerator ( )

faker\FixtureController generateFixtureFile()

generateFixtureFile() public method Generates fixture file by the given fixture template file. public void generateFixtureFile ( $templateName, $templatePath, $fixtureDataPath )$templateName string Template file name $templatePath string Path where templates are stored $fixtureDataPath string Fixture data path where generated file should be written

faker\FixtureController generateFixture()

generateFixture() public method Generates fixture from given template public array generateFixture ( $_template_, $index )$_template_ string The fixture template file $index integer The current fixture index return array Fixture

faker\FixtureController exportFixtures()

exportFixtures() public method Returns exported to the string representation of given fixtures array. public string exportFixtures ( $fixtures )$fixtures array return string Exported fixtures format

faker\FixtureController confirmGeneration()

confirmGeneration() public method Prompts user with message if he confirm generation with given fixture templates files. public boolean confirmGeneration ( $files )$files array

faker\FixtureController checkPaths()

checkPaths() public method Check if the template path and migrations path exists and writable. public void checkPaths ( )