PHP-Fusion Development

groupaccess()

Getting the access levels used when asking the database for data.

Versions: 9

groupaccess( string $field ) : string

Parameters

$field (string) (Required) MySQL field from which you want to check access.

Return Values

(string) The part of WHERE clause, always returns a condition.

Examples

$result = dbquery("SELECT item, access
FROM ".DB_TABLE."
WHERE ".groupaccess('access')."
ORDER BY item DESC
");