Skip to content

Latest commit

 

History

History
512 lines (148 loc) · 3.16 KB

File metadata and controls

512 lines (148 loc) · 3.16 KB
title footer
\leantime\domain\repositories\install
false

install

  • Full name: \leantime\domain\repositories\install

Methods

__construct

__construct - get database connection

public install::__construct(): mixed

Return Value:


checkIfInstalled

checkIfInstalled checks if zp user table exists (and assumes that leantime is installed)

public install::checkIfInstalled(): bool

Return Value:


setupDB

setupDB installs database

public install::setupDB(array $values): bool

Parameters:

Parameter Type Description
values array Form values for admin user and company information

Return Value:

| string


updateDB

updateDB main entry point to update the db based on version number. Executes all missing db update scripts

public install::updateDB(): bool|array

Return Value:


sqlPrep

sqlPrep - returns all the create table statements

private install::sqlPrep(): string

Return Value:


update_sql_20004

update_sql_20004 - database update sql for V2.0.4

  • Updates all tables and db to utf8mb4
  • converts 255 index to be smaller
private install::update_sql_20004(): bool|array

Return Value:


update_sql_20100

private install::update_sql_20100(): mixed

Return Value:


update_sql_20101

private install::update_sql_20101(): mixed

Return Value:


update_sql_20102

private install::update_sql_20102(): mixed

Return Value:


update_sql_20103

private install::update_sql_20103(): mixed

Return Value:


update_sql_20104

private install::update_sql_20104(): mixed

Return Value:


update_sql_20105

private install::update_sql_20105(): mixed

Return Value:


update_sql_20106

private install::update_sql_20106(): mixed

Return Value:


update_sql_20107

private install::update_sql_20107(): mixed

Return Value:


update_sql_20108

private install::update_sql_20108(): mixed

Return Value:


update_sql_20109

private install::update_sql_20109(): mixed

Return Value:


update_sql_20110

private install::update_sql_20110(): mixed

Return Value:


update_sql_20111

private install::update_sql_20111(): bool|array

Return Value:


update_sql_20112

private install::update_sql_20112(): bool|array

Return Value:


update_sql_20113

private install::update_sql_20113(): bool|array

Return Value:


update_sql_20114

public install::update_sql_20114(): bool|array

Return Value:



Automatically generated from source code comments on 2023-02-28 using phpDocumentor