- <?
- /**
- * @package form
- * @filesource
- * @see HTML_FORM_COMPONENT_PATH.'/Tabindex.php'
- * @copyright (c) http://Finn-Rasmussen.com
- * @license http://Finn-Rasmussen.com/license/ myPHP License conditions
- * @author http://Finn-Rasmussen.com
- * @version 1.9
- * @since 21-oct-2005
- */
-
- /**
- * The required files
- */
-
- /**
- * Generates the Tabindex for the label/input elements
- * <code>
- * Usage:
- * $tabindex = Tabindex::next();
- * IMPORTANT NOTICE : NEVER TESTED
- * </code>
- * @package form
- */
-
- class Tabindex {
- static $tabindex = 0; // The current tabindex
-
-
-
- /**
- * Constructor
- */
- function Tabindex() {
- }
-
- /**
- * Display html
- * <code>
- * Usage:
- * $tabindex = Tabindex::next();
- * </code>
- * @static
- * @return int The next tabindex
- */
- function next() {
- return Tabindex::tabindex++;
- }
- }
- ?>