SproutCMS

This is the code documentation for the SproutCMS project

function call()

Directly calls a method provided by an admin controller
Suports varargs - additional args are passed to the underlying function

Usage

void $AdminController->call ( string $class , string $method );

Arguments

  1. string $class
    The shorthand class name, e.g. 'page'
  2. string $method
    The method name, e.g. 'reorder_top'

Return value

  • void
    Does whatever the called function does, e.g. echo or redirect