System Maintenance
Methods | ||||
---|---|---|---|---|
public
|
__construct()
Constructor
Constructor |
# | ||
public
|
CleanSession(): bool
Clear sessions
Clear sessions |
# | ||
public
|
CleanAvatar(): boolean
CleanAvatar
CleanAvatar Clean up orphaned custom avatars left when a user is deleted. |
# | ||
protected
|
clearDirectory(string $dir): void
Delete all files in a directory
Delete all files in a directory Parameters
|
# | ||
public
|
CleanCache(array $cacheList): bool
Clean cache 'xoops_data/caches/smarty_cache'
Clean cache 'xoops_data/caches/smarty_cache' Parameters
|
# | ||
public
|
CheckRepairAnalyzeOptimizeQueries($tables, $maintenance): array
Maintenance database
Maintenance database |
# | ||
public
|
dump_tables($tables, $drop): array
Dump by tables
Dump by tables Returns'ret[0] = dump, ret[1] = display result |
# | ||
public
|
dump_modules($modules, $drop): array
Dump by modules
Dump by modules Returns'ret[0] = dump, ret[1] = display result |
# | ||
public
|
dump_table_structure($ret, $table, $drop, $class): array
Dump table structure
Dump table structure Returns'ret[0] = dump, ret[1] = display result |
# | ||
public
|
dump_table_datas($ret, $table): array
Dump table data
Dump table data Returns'ret[0] = dump, ret[1] = display result |
# | ||
public
|
dump_write($ret): array
Dump Write
Dump Write Returns'ret[0] = dump, ret[1] = display result |
# |
Properties | |||
---|---|---|---|
public
|
|
$db
|
# |
public
|
|
$prefix
|
# |