PHP Class bubasuma\simplechat\console\DefaultController

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

Public Properties

Property 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

Public Methods

Method 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 )

Protected Methods

Method Description
generateFixtures ( )
loadFixtures ( )
unloadFixtures ( )

Method Details

actionClean() public method

Unload fixtures
Since: 2.0
public actionClean ( )

actionIndex() public method

Shows help
public actionIndex ( )

actionReset() public method

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

actionStart() public method

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

actionStop() public method

Unload fixtures and drop test tables
public actionStop ( )

beforeAction() public method

public beforeAction ( $action )

generateFixtures() protected method

Since: 2.0
protected generateFixtures ( )

getUniqueID() public method

public getUniqueID ( )

loadFixtures() protected method

Since: 2.0
protected loadFixtures ( )

options() public method

public options ( $actionID )

unloadFixtures() protected method

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
return bubasuma\simplechat\Module

$users public_oe property

the count of users to generate
public $users