PHP Class Components, horde

Inheritance: extends MX_Controller
ファイルを表示 Open project: horde/horde Class Usage Examples

Public Methods

Method Description
main ( array $parameters = [] ) The main entry point for the application.

Private Methods

Method Description
_getActionArguments ( Horde_Cli_Modular $modular ) : null Provide a list of available action arguments.
_identifyComponent ( Components_Config $config, array $actions, Components_Dependencies $dependencies ) : null Identify the selected component based on the command arguments.
_prepareConfig ( Horde_Argv_Parser $parser )
_prepareDependencies ( array $parameters ) : Components_Dependencies The main entry point for the application.
_prepareModular ( Components_Dependencies $dependencies, array $parameters = [] )

Method Details

main() public static method

The main entry point for the application.
public static main ( array $parameters = [] )
$parameters array A list of named configuration parameters.
'cli'        - (array)  CLI configuration parameters.
  'parser'   - (array)  Parser configuration parameters.
    'class'  - (string) The class name of the parser to use.