PHP Class bubasuma\simplechat\console\DefaultController

Class DefaultController
Since: 1.0
Author: Buba Suma ([email protected])
Inheritance: extends yii\console\Controller
Afficher le fichier Open project: bubasuma/yii2-simplechat

Méthodes publiques

Свойство Type Description
$defaultAction the default command action.
$interactive
$language Language to use when generating fixtures data.
$messages the count of messages to generate
$module bubasuma\simplechat\Module
$users the count of users to generate

Méthodes publiques

Méthode Description
actionClean ( ) Unload fixtures
actionIndex ( ) Shows help
actionReset ( ) Unload fixtures and load them again
actionStart ( ) Create test tables, generates and load fixtures
actionStop ( ) Unload fixtures and drop test tables
beforeAction ( $action )
getUniqueID ( )
options ( $actionID )

Méthodes protégées

Méthode Description
generateFixtures ( )
loadFixtures ( )
unloadFixtures ( )

Method Details

actionClean() public méthode

Unload fixtures
Since: 2.0
public actionClean ( )

actionIndex() public méthode

Shows help
public actionIndex ( )

actionReset() public méthode

Unload fixtures and load them again
Since: 2.0
public actionReset ( )

actionStart() public méthode

Create test tables, generates and load fixtures
public actionStart ( )

actionStop() public méthode

Unload fixtures and drop test tables
public actionStop ( )

beforeAction() public méthode

public beforeAction ( $action )

generateFixtures() protected méthode

Since: 2.0
protected generateFixtures ( )

getUniqueID() public méthode

public getUniqueID ( )

loadFixtures() protected méthode

Since: 2.0
protected loadFixtures ( )

options() public méthode

public options ( $actionID )

unloadFixtures() protected méthode

Since: 2.0
protected unloadFixtures ( )

Property Details

$defaultAction public_oe property

the default command action.
public $defaultAction

$interactive public_oe property

public $interactive

$language public_oe property

Language to use when generating fixtures data.
public $language

$messages public_oe property

the count of messages to generate
public $messages

$module public_oe property

public Module,bubasuma\simplechat $module
Résultat bubasuma\simplechat\Module

$users public_oe property

the count of users to generate
public $users