Function __global->mass_set_page_access
Definitions
sources/permissions2.php
- Define page permissions programmatically.Assumes Conversr.This function is intended for programmers, writing upgrade scripts for a custom site (dev>staging>live).
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$no_guest_permissions | array | required parameter | N/A | N/A | Simple list of pages that only logged in users can see |
$only_admin_permissions | array | required parameter | N/A | N/A | Simple list of pages that only administrators can see |
$zone | string | required parameter | N/A | N/A | The zone to do this in |
$overwrite_all | boolean | False | N/A | N/A | Whether to flush out all existing data |