Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

email-field.inc.php

Go to the documentation of this file.
00001 <?
00007 class EmailField extends TextField
00008 {
00009     public function __construct($name, Form &$parentForm, array $attribs = array())
00010     {
00011         if (!$attribs['size'])
00012             $attribs['size'] = 50;
00013 
00014         $attribs['regExp'] = 'email';
00015 
00016         parent::__construct($name, $parentForm, $attribs);
00017     }
00018 }
00019 ?>

Generated on Fri Oct 27 12:26:39 2006 for BaseJumper by doxygen 1.3.9.1