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

Source for file PageSwitch.php

Documentation is available at PageSwitch.php

  1. <?php
  2. /**
  3.  * Formagic
  4.  *
  5.  * LICENCE
  6.  *
  7.  * This source file is subject to the new BSD license that is bundled
  8.  * with this package in the file LICENSE.txt.
  9.  * It is also available through the world-wide-web at
  10.  * http://formagic.weasle.de/licence.txt
  11.  * If you did not receive a copy of the license and are unable to
  12.  * obtain it through the world-wide-web, please send an email
  13.  * to licence@weasle.de so we can send you a copy immediately.
  14.  *
  15.  * @category    Formagic
  16.  * @package     Item
  17.  * @author      Florian Sonnenburg
  18.  * @copyright   Copyright (c) 2007 Florian Sonnenburg
  19.  * @license     http://formagic.weasle.de/licence.txt     New BSD License
  20.  * @revision    $Revision: 11 $
  21.  */
  22.  
  23. require_once('Submit.php');
  24.  
  25. /**
  26.  * Formagic page switch button class
  27.  *
  28.  * @category    Formagic
  29.  * @package     Item
  30.  * @author      Florian Sonnenburg
  31.  * @copyright   Copyright (c) 2007 Florian Sonnenburg
  32.  * @version     $Id: PageSwitch.php 11 2007-08-12 20:02:57Z meweasle $
  33.  */
  34.  
  35.     /**
  36.      * Formagic_Item_PageSwitch::__construct()
  37.      *
  38.      * @param string $type 
  39.      * @param string $name 
  40.      * @param array $args 
  41.      * @param object $caller 
  42.      */
  43.     public function __construct($type$name&$args=null&$caller=null)
  44.     {
  45.         $this->isPostItem = false;
  46.         $key Formagic::PAGE_REQUEST_KEY;
  47.         $name $key '[' $name ']';
  48.         parent::__construct($type$name$args$caller);
  49.     }
  50.  
  51.     /**
  52.      * Always return no value
  53.      *
  54.      * @return string 
  55.      */
  56.     public function &getValue()
  57.     {
  58.         $res '';
  59.         return $res;
  60.     }
  61.  
  62. }

Documentation generated on Thu, 23 Aug 2007 00:29:45 +0200 by phpDocumentor 1.4.0