SproutCMS

This is the code documentation for the SproutCMS project

function controllerAccess()

Returns true or false depending on if an access flag is available for this user or not

Usage

unknown AdminPerms::controllerAccess ( string $controller , string $access_flag );

Arguments

  1. string $controller
    The name of the controller to check an access flag for
  2. string $access_flag
    The flag to check (e.g. 'main', 'add', 'edit', etc)