Arikaim CMS

Install
in package

Arikaim install

Table of Contents

Methods

changeStorageFolderOwner()  : void
Chown command for storage fodler (recursive)
checkSystemRequirements()  : array<string|int, mixed>
Verify system requirements status 1 - ok, 2 - warning, 0 - error
createDb()  : bool
Create db if not exist
createDbTables()  : bool
Create core db tables
initStorage()  : bool
Create storage folders
install()  : bool
Install Arikaim
installDrivers()  : bool
Install drivers
installExtensions()  : bool
Install all extensions packages
installModules()  : bool
Install all modules
isInstalled()  : bool
Check if system is installed.
prepare()  : bool
Prepare install
setConfigFilesWritable()  : bool
Set config files writable
systemTablesRowFormat()  : bool
Set system tables rows format to dynamic
callback()  : void
Call closure
createDefaultAdminUser()  : bool
Create default control panel user
getSystemDbTableNames()  : array<string|int, mixed>
Get core db table names
getSystemSchemaClasses()  : array<string|int, mixed>
Return core migration classes
initDefaultOptions()  : void
Set default options
registerCoreEvents()  : void
Register code events

Methods

changeStorageFolderOwner()

Chown command for storage fodler (recursive)

public changeStorageFolderOwner() : void

checkSystemRequirements()

Verify system requirements status 1 - ok, 2 - warning, 0 - error

public static checkSystemRequirements() : array<string|int, mixed>
Return values
array<string|int, mixed>

createDb()

Create db if not exist

public createDb(string $databaseName) : bool
Parameters
$databaseName : string
Return values
bool

createDbTables()

Create core db tables

public createDbTables([Closure|null $onProgress = null ][, Closure|null $onError = null ][, bool $stopOnError = true ]) : bool
Parameters
$onProgress : Closure|null = null
$onError : Closure|null = null
$stopOnError : bool = true
Return values
bool

initStorage()

Create storage folders

public initStorage() : bool
Return values
bool

install()

Install Arikaim

public install([Closure|null $onProgress = null ][, Closure|null $onProgressError = null ][, array<string|int, mixed>|null $config = null ]) : bool
Parameters
$onProgress : Closure|null = null
$onProgressError : Closure|null = null
$config : array<string|int, mixed>|null = null
Return values
bool

installDrivers()

Install drivers

public installDrivers() : bool
Return values
bool

installExtensions()

Install all extensions packages

public installExtensions([Closure|null $onProgress = null ][, Closure|null $onProgressError = null ]) : bool
Parameters
$onProgress : Closure|null = null
$onProgressError : Closure|null = null
Return values
bool

installModules()

Install all modules

public installModules([Closure|null $onProgress = null ][, Closure|null $onProgressError = null ]) : bool
Parameters
$onProgress : Closure|null = null
$onProgressError : Closure|null = null
Return values
bool

isInstalled()

Check if system is installed.

public static isInstalled() : bool
Return values
bool

prepare()

Prepare install

public prepare([Closure|null $onProgress = null ][, Closure|null $onError = null ][, array<string|int, mixed>|null $requirements = null ]) : bool
Parameters
$onProgress : Closure|null = null
$onError : Closure|null = null
$requirements : array<string|int, mixed>|null = null
Return values
bool

setConfigFilesWritable()

Set config files writable

public static setConfigFilesWritable() : bool
Return values
bool

systemTablesRowFormat()

Set system tables rows format to dynamic

public systemTablesRowFormat() : bool
Return values
bool

callback()

Call closure

protected callback(Closure|null $closure, string $message) : void
Parameters
$closure : Closure|null
$message : string

createDefaultAdminUser()

Create default control panel user

private createDefaultAdminUser() : bool
Return values
bool

getSystemDbTableNames()

Get core db table names

private static getSystemDbTableNames() : array<string|int, mixed>
Return values
array<string|int, mixed>

getSystemSchemaClasses()

Return core migration classes

private getSystemSchemaClasses() : array<string|int, mixed>
Return values
array<string|int, mixed>

initDefaultOptions()

Set default options

private initDefaultOptions() : void

registerCoreEvents()

Register code events

private registerCoreEvents() : void

        
On this page

Search results