hook_restrict_by_ip_get_ip_alter |
./restrict_by_ip.api.php |
Alter the IP address of the user. |
|
|
restrict_by_ip_boot |
./restrict_by_ip.module |
Implementation of hook_boot(). |
|
|
restrict_by_ip_form_alter |
./restrict_by_ip.module |
Implmentation of hook_form_alter(). |
|
|
restrict_by_ip_general_settings |
./restrict_by_ip.module |
Menu callback for general module settings |
|
1 |
restrict_by_ip_help |
./restrict_by_ip.module |
Implementation of hook_help() |
|
|
restrict_by_ip_init |
./restrict_by_ip.module |
Implmentation of hook_init(). |
|
|
restrict_by_ip_login_add_edit_user |
./restrict_by_ip.module |
Form callback to add/edit user IP restriction. |
|
1 |
restrict_by_ip_login_add_edit_user_submit |
./restrict_by_ip.module |
Submit function for add/edit new login IP restriction form. |
|
|
restrict_by_ip_login_add_edit_user_validate |
./restrict_by_ip.module |
Validation function for add/edit login IP restriction form. |
|
|
restrict_by_ip_login_settings |
./restrict_by_ip.module |
Menu callback for restrict login settings |
|
1 |
restrict_by_ip_login_settings_validate |
./restrict_by_ip.module |
Validation function for global ip restriction settings |
|
|
restrict_by_ip_menu |
./restrict_by_ip.module |
Implementation of hook_menu(). |
|
|
restrict_by_ip_permission |
./restrict_by_ip.module |
Implementation of hook_permission(). |
|
|
restrict_by_ip_role_check |
./restrict_by_ip.module |
Perform an IP restriction check for all roles belonging to the given user. |
1 |
|
restrict_by_ip_role_settings |
./restrict_by_ip.module |
Menu callback for restrict role settings |
|
1 |
restrict_by_ip_role_settings_validate |
./restrict_by_ip.module |
Validation function for role ip restriction settings |
|
|
restrict_by_ip_schema |
./restrict_by_ip.install |
Implementation of hook_schema(). |
|
|
restrict_by_ip_theme |
./restrict_by_ip.module |
Implementation of hook_theme(). |
|
|
restrict_by_ip_uninstall |
./restrict_by_ip.install |
Implementation of hook_uninstall(). |
|
|
restrict_by_ip_update_7300 |
./restrict_by_ip.install |
Convert role restriction variables to use role names instead of role IDs. |
|
|
restrict_by_ip_update_7301 |
./restrict_by_ip.install |
Convert role restriction variables to use hashed role names. |
|
|
restrict_by_ip_user_delete |
./restrict_by_ip.module |
Implementation of hook_user_delete(). |
|
|
restrict_by_ip_user_insert |
./restrict_by_ip.module |
Implementation of hook_user_insert(). |
|
|
restrict_by_ip_user_login |
./restrict_by_ip.module |
Implementation of hook_user_login(). |
|
|
restrict_by_ip_user_profile_submit |
./restrict_by_ip.module |
Custom submit function for the user_profile_form page. |
|
1 |
restrict_by_ip_user_profile_validate |
./restrict_by_ip.module |
Custom validation function for the user_profile_form page. |
|
1 |
restrict_by_ip_user_role_delete |
./restrict_by_ip.module |
Delete role IP restirctions when a role is deleted.
Implements hook_user_role_delete(). |
|
|
restrict_by_ip_user_role_presave |
./restrict_by_ip.module |
Statically save role name before it's updated.
Implements hook_user_role_presave(). |
|
1 |
restrict_by_ip_user_role_update |
./restrict_by_ip.module |
Update role IP restrictions when a role name changes.
Implements hook_user_role_update(). |
|
|
theme_restrict_by_ip_login_list |
./restrict_by_ip.module |
Theme function to return a list of existing IP restrictions on user login. |
|
|
_restrict_by_ip_cidrcheck |
./restrict_by_ip.module |
Check ip address against a network in cidr notation. E.g:
_restrict_by_ip_cidrcheck('192.168.10.100','192.168.10.0/24'); returns 1
_restrict_by_ip_cidrcheck('192.168.10.100','192.168.12.0/24'); returns 0 |
3 |
|
_restrict_by_ip_get_ip |
./restrict_by_ip.module |
Returns the IP address of the user, taking into account header configuration. |
3 |
|
_restrict_by_ip_hash_role_name |
./restrict_by_ip.module |
Certain characters will be automatically converted to underscores by PHP when
included in a form name. Example <input name="a.b" /> becomes $_POST["a_b"]. |
10 |
|
_restrict_by_ip_login |
./restrict_by_ip.module |
Login function
Checks the user's ip address on login
If they are not restricted, or logging in from the appropriate address
allow logon to continue. If not redirect to a designated page |
2 |
|
_restrict_by_ip_validate_ip |
./restrict_by_ip.module |
This function just makes sure the user input for the ip address
section is valid. |
5 |
|