Gets permissions for a certain table.
Syntax
Security::getPermissions($table)
Arguments
$table
the name of the table.
Return value
Returns an array with the table permissions.
Example
This example shows how to output the current user data:
$table = "table1";
print_r (Security::getPermissions($table));
Sample output
Array
(
[A] => 1
[E] => 1
[D] => 1
[S] => 1
[P] => 1
[I] => 1
)
See also: