HTML_QuickForm_Controller
[ class tree: HTML_QuickForm_Controller ] [ index: HTML_QuickForm_Controller ] [ all elements ]

Source for file Action.php

Documentation is available at Action.php

  1. <?php
  2. /* vim: set expandtab tabstop=4 shiftwidth=4: */
  3. // +----------------------------------------------------------------------+
  4. // | PHP version 4.0                                                      |
  5. // +----------------------------------------------------------------------+
  6. // | Copyright (c) 1997-2003 The PHP Group                                |
  7. // +----------------------------------------------------------------------+
  8. // | This source file is subject to version 2.0 of the PHP license,       |
  9. // | that is bundled with this package in the file LICENSE, and is        |
  10. // | available at through the world-wide-web at                           |
  11. // | http://www.php.net/license/2_02.txt.                                 |
  12. // | If you did not receive a copy of the PHP license and are unable to   |
  13. // | obtain it through the world-wide-web, please send a note to          |
  14. // | license@php.net so we can mail you a copy immediately.               |
  15. // +----------------------------------------------------------------------+
  16. // | Authors: Alexey Borzov <avb@php.net>                                 |
  17. // |          Bertrand Mansion <bmansion@mamasam.com>                     |
  18. // +----------------------------------------------------------------------+
  19. //
  20. // $Id: Action.php 6184 2005-09-07 10:08:17Z bmol $
  21.  
  22. /**
  23.  * Class representing an action to perform on HTTP request. The Controller
  24.  * will select the appropriate Action to call on the request and call its
  25.  * perform() method. The subclasses of this class should implement all the
  26.  * necessary business logic.
  27.  * 
  28.  * @author  Alexey Borzov <avb@php.net>
  29.  * @package HTML_QuickForm_Controller
  30.  * @version $Revision: 6184 $
  31.  */
  32. {
  33.    /**
  34.     * Processes the request. This method should be overriden by child classes to
  35.     * provide the necessary logic.
  36.     * 
  37.     * @access public
  38.     * @param  object HTML_QuickForm_Page    the current form-page
  39.     * @param  string    Current action name, as one Action object can serve multiple actions
  40.     */
  41.     function perform(&$page$actionName)
  42.     {
  43.     }
  44. }
  45.  
  46. ?>

Documentation generated on Thu, 12 Jun 2008 12:53:20 -0500 by phpDocumentor 1.4.1