Install_InitSchema_Model
in package
Table of Contents
- $migration_schema : mixed
- $sql_directory : mixed
- initialize() : mixed
- Function starts applying schema changes.
- initializeDatabase() : mixed
- setDefaultUsersAccess() : mixed
- Function creates default user's Role, Profiles.
- splitQueries() : mixed
- createConfigFiles() : mixed
- Create config files.
- setLanguage() : void
- Set default language.
Properties
$migration_schema
protected
mixed
$migration_schema
= 'install/migrate_schema/'
$sql_directory
protected
mixed
$sql_directory
= 'install/install_schema/'
Methods
initialize()
Function starts applying schema changes.
public
initialize() : mixed
Return values
mixed —initializeDatabase()
public
initializeDatabase(mixed $location[, mixed $filesName = [] ]) : mixed
Parameters
- $location : mixed
- $filesName : mixed = []
Return values
mixed —setDefaultUsersAccess()
Function creates default user's Role, Profiles.
public
setDefaultUsersAccess() : mixed
Return values
mixed —splitQueries()
public
splitQueries(mixed $query) : mixed
Parameters
- $query : mixed
Return values
mixed —createConfigFiles()
Create config files.
private
createConfigFiles() : mixed
Return values
mixed —setLanguage()
Set default language.
private
setLanguage() : void