modules/ACL/ACLController.php
\ACLController
Package:
Methods

addJavascript(
$category, $form_name
=
'', $is_owner
=
false
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $category | ||
| $form_name | ||
| $is_owner |

checkAccess(
$category, $action, $is_owner
=
false, $type
=
'module'
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $category | ||
| $action | ||
| $is_owner | ||
| $type |

checkModuleAllowed(
String $module_name, $actions
)
:
trueCheck to see if the module is available for this user.
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $module_name | String | |
| $actions |
| Type | Description |
|---|---|
| true | if they are allowed. false otherwise. |

disabledModuleList(
$moduleList, $by_value
=
true, $view
=
'list'
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $moduleList | ||
| $by_value | ||
| $view |

filterModuleList(
$moduleList, $by_value
=
true
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $moduleList | ||
| $by_value |