Property | Type | Description | |
---|---|---|---|
$allowOverwrite | indicate whether is root user initialization allowed more that one time. | ||
$db | the DB connection object or the application component ID of the DB connection. | ||
$defaultAction | the default command action. | ||
email of root user. | |||
$interactive | whether to execute the migration in an interactive mode. | ||
$password | password of root user. | ||
$username | username of root user. |
Method | Description | |
---|---|---|
actionInit ( ) | Init root user. | |
beforeAction ( |
This method is invoked right before an action is to be executed (after all possible filters.) | |
options ( $actionId ) |
Method | Description | |
---|---|---|
canUpdateRootUser ( ) | ||
createUser ( $username, $password, $email ) | ||
validateEmail ( $email ) | ||
validatePassword ( $password ) | ||
validateUsername ( $username ) |
public actionInit ( ) |
public beforeAction ( |
||
$action | the action to be executed. | |
return | boolean | whether the action should continue to be executed. |
public $allowOverwrite |
public $db |
public $interactive |