Class SGL_Task_ResolveManager

Description

Resolves request params into Manager model object.

The module is resolved from Request parameter, if resolution fails, default module is loaded.

Located in /SGL/Task/Process.php (line 637)

SGL_ProcessRequest
   |
   --SGL_DecorateProcess
      |
      --SGL_Task_ResolveManager
Method Summary
 boolean getConfiguredDefaultManager ( &$input, SGL_Registry $input)
 void getDefaultManager ( &$input)
 mixed getManagerName (string $managerName, string $path, array $conf)
 void process ( &$input,  &$output)
Variables

Inherited Variables

Inherited from SGL_DecorateProcess

SGL_DecorateProcess::$processRequest
Methods
getConfiguredDefaultManager (line 716)

Loads the default manager per config settings or returns false on failure.

boolean getConfiguredDefaultManager ( &$input, SGL_Registry $input)
getDefaultManager (line 761)
void getDefaultManager ( &$input)
  • &$input
getManagerName (line 788)

Returns classname suggested by URL param.

  • return: either found class name or PEAR error
  • access: private
mixed getManagerName (string $managerName, string $path, array $conf)
  • string $managerName: name of manager class
  • string $path: path to manager class
  • array $conf: array of config values
process (line 639)
void process ( &$input,  &$output)
  • &$input
  • &$output

Redefinition of:
SGL_ProcessRequest::process()

Inherited Methods

Inherited From SGL_DecorateProcess

 SGL_DecorateProcess::SGL_DecorateProcess()

Inherited From SGL_ProcessRequest

 SGL_ProcessRequest::process()

Documentation generated on Tue, 23 Feb 2010 18:14:32 +0000 by phpDocumentor 1.4.3