gyro/core/controller/base/routes/commandsroute.cls.php
Go to the documentation of this file.00001 <?php 00002 require_once dirname(__FILE__) . '/parameterizedroute.cls.php'; 00003 00004 /** 00005 * Handle Command invocation (Check tokens!) 00006 * 00007 * @author Gerd Riesselmann 00008 * @ingroup Controller 00009 */ 00010 class CommandsRoute extends ParameterizedRoute { 00011 /** 00012 * Contructor 00013 * 00014 * @param object The controller to invoke 00015 * @param string The function to invoke on controller 00016 * @param string The URL this Token is responsible for 00017 * @param mixed Array or single instance of IRouteDecorator 00018 */ 00019 public function __construct($path, $controller, $action, $decorators = null) { 00020 parent::__construct($path, $controller, $action, $decorators = null); 00021 $this->prepend_renderdecorator(new CommandsRouteRenderDecorator()); 00022 } 00023 }