glFusion Wiki

Site Tools


glfusion:development:api:admin:functions

lib-admin.php

This is the ADMIN list library for glFusion.

WARNING: put any custom hacks in lib-custom.php and not in here. This file is modified frequently by the glFusion development team. If you put your hacks in lib-custom.php you will find upgrading much easier.

ADMIN_chkDefault

boolean ADMIN_chkDefault($A = array())

Stub function for generation of checkbox

ADMIN_sortArray

Sorts a multi-dimensional associative array $data by column $field

Description

void ADMIN_sortArray(&$data, $field, $dir=)''

Sorts a multi-dimensional associative array $data by column $field

Parameters

array &$data Data array to be sorted.
string $field Field to be used for sorting.
string $dir Sort direction - ASC or DESC.

Return Value

None

Example

Notes

See Also

COM_errorLog()

FIXME - Add remaining functions

glfusion/development/api/admin/functions.txt · Last modified: 2017/06/08 10:27 (external edit)