SproutCMS

This is the code documentation for the SproutCMS project

function checkPermissionsTree()

Checks whether the currently logged in operator can access the specified item.
This method should be used for tree-based tables, like the 'pages' table,
which may inherit their permissions from the parent record.

Usage

unknown AdminPerms::checkPermissionsTree ( string $table , int $id );

Arguments

  1. string $table
    The table name of the item to check
  2. int $id
    The id of the record to check