params = $params; } // ################################################################### /** * Does nothing if the request was sent via POST, and triggers an * error if it was not */ protected function _verifyPostRequest() { if ($this->params->getHttpMethod() != 'post') { trigger_error('Action is intended to be executed from a POST request'); } } /** * The default action (index) */ public abstract function Index(); } /*=====================================================================* || ################################################################### || # $HeadURL$ || # $Id$ || ################################################################### \*=====================================================================*/ ?>