Свойство | Тип | Описание | |
---|---|---|---|
$gitowners |
Свойство | Тип | Описание | |
---|---|---|---|
$config_path | this should be changed once we've worked out where we want to store the configs for different clients | ||
$mode | |||
$mysqlp | |||
$password | |||
$username |
Метод | Описание | |
---|---|---|
actionIndex ( string $label = 'sample', string $mode = 'http', null $username = null, string $branch = 'master', array $gitowner = [], boolean $reset = false, $resetfile = null, null $mysqlp = null ) | Default Action. | |
getHelp ( ) | ||
getName ( ) |
Метод | Описание | |
---|---|---|
cloneModule ( $module ) | Clone the module from the appropriate repository. | |
copyConfig ( $config_file ) | Backup and replace the current local common config file. | |
getConfigPath ( ) | ||
getGitAddress ( $module ) : mixed | Iterate through configured git users to find the module repository. | |
getModulePath ( $module ) : string | ||
resetDatabase ( $dumpfile ) | Drop the current database and re-create. | |
runMigrations ( ) | Run the core and module migrations. | |
setupModules ( array $modules, string $branch = 'master' ) | Clone missing modules from the given list, and switch to specified branch. |
public actionIndex ( string $label = 'sample', string $mode = 'http', null $username = null, string $branch = 'master', array $gitowner = [], boolean $reset = false, $resetfile = null, null $mysqlp = null ) | ||
$label | string | |
$mode | string | |
$username | null | |
$branch | string | |
$gitowner | array | |
$reset | boolean | |
$mysqlp | null |
protected cloneModule ( $module ) | ||
$module |
protected copyConfig ( $config_file ) | ||
$config_file |
protected getGitAddress ( $module ) : mixed | ||
$module | ||
Результат | mixed |
protected getModulePath ( $module ) : string | ||
$module | ||
Результат | string |
protected resetDatabase ( $dumpfile ) |
protected setupModules ( array $modules, string $branch = 'master' ) | ||
$modules | array | |
$branch | string |
protected $config_path |