XG Proyect

Repair extends Model
in package

Repair Class

Table of Contents

$db  : Database
Contains the Database instance
__construct()  : mixed
Constructor
__destruct()  : mixed
Destructor
checkTable()  : void
Check a table
getAllTables()  : array<string|int, mixed>
Get all server users
optimizeTable()  : void
Optimize a table
repairTable()  : void
Repair a table
setNewDb()  : void
Creates a new Database object

Properties

Methods

__construct()

Constructor

public __construct() : mixed
Return values
mixed

__destruct()

Destructor

public __destruct() : mixed
Return values
mixed

checkTable()

Check a table

public checkTable(string $table) : void
Parameters
$table : string
Return values
void

getAllTables()

Get all server users

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

optimizeTable()

Optimize a table

public optimizeTable(string $table) : void
Parameters
$table : string
Return values
void

repairTable()

Repair a table

public repairTable(string $table) : void
Parameters
$table : string
Return values
void

setNewDb()

Creates a new Database object

private setNewDb() : void
Return values
void

Search results