SproutCMS

This is the code documentation for the SproutCMS project

function fetchDetails()

Gets the permission details from the database

Usage

array PerRecordPerms::fetchDetails ( ManagedAdminController $ctlr , int $item_id );

Arguments

  1. ManagedAdminController $ctlr
    Admin controller for the record in question
  2. int $item_id
    ID of the record

Exceptions thrown

  • RowMissingException
    if a row containing the permission data wasn't found

Return value

  • array
    Contains the following elements:
            int id
            array[int]|string categories (ids as int, or the string '*' for all)