A simple class method based controller
This class acts a a controller for the application interface. It directly maps request paths to class methods, so it is the most simple variant available. Multi level paths are converted using underscores. Ex: "/testing/edit/title" maps to "Class::testing_edit_title".
To use this controller, use the following run-statement in your application.xml:
( Replace "someClass" by the class you want to access using this controllerd )
- <sat:run matchPath="/*" class="ControllerSimple" method="run">
- <cfg:config>
- <cfg:var name="class" value="someClass" />
- </cfg:config>
- </sat:run>
Located in /phpsatk-lib/global/org.eenterphace.sat.controller.simple/controller.simple.php (line 49)
Documentation generated on Mon, 21 May 2007 10:34:49 +0200 by phpDocumentor 1.3.0RC5