Xinc-Gui
[ class tree: Xinc-Gui ] [ index: Xinc-Gui ] [ all elements ]

Class: Xinc_Api_Module_Repository

Source Location: /Xinc/Api/Module/Repository.php

Class Overview


The Widget-Repository allows the Web-Frontend of Xinc to choose the right plugin for execution based on the Http-Request


Author(s):

  • Arno Schneider

Methods



Class Details

[line 40]
The Widget-Repository allows the Web-Frontend of Xinc to choose the right plugin for execution based on the Http-Request



Tags:

author:  Arno Schneider
license:  GNU/LGPL, see license.php


[ Top ]


Class Methods


static method getInstance [line 64]

static Xinc_Api_Module_Repository getInstance( )

Return an instance of the Widget Repository



Tags:

access:  public


[ Top ]

method getModuleByName [line 105]

Xinc_Api_Module_Interface &getModuleByName( String $moduleName)

Determines the Api Module that should be used for the specified Name that is called



Tags:

access:  public


Parameters:

String   $moduleName   Name of the module

[ Top ]

method getModuleByNameAndMethod [line 125]

Xinc_Api_Module_Interface &getModuleByNameAndMethod( String $moduleName, String $methodName)

Determines the Api Module that should be used for the specified Name that is called



Tags:

access:  public


Parameters:

String   $moduleName   Name of the module
String   $methodName   Name of the method

[ Top ]

method getModules [line 145]

Xinc_Api_Module_Interface[] getModules( )

Returns all the registered Widgets



Tags:

access:  public


[ Top ]

method registerModule [line 77]

void registerModule( Xinc_Api_Module_Interface $module)

Register a module with the Repository



Tags:

access:  public


Parameters:

Xinc_Api_Module_Repository   $module  

[ Top ]


Documentation generated on Sun, 09 Dec 2012 21:49:32 +0100 by phpDocumentor 1.4.4