Source for file function.pnformemailinput.php
Documentation is available at function.pnformemailinput.php
* @copyright (c) 2006, Zikula Development Team
* @link http://www.zikula.org
* @version $Id: function.pnformdateinput.php 22632 2007-08-25 17:23:12Z rgasch $
* @license GNU/GPL - http://www.gnu.org/copyleft/gpl.html
* @package Zikula_Template_Plugins
/** Make sure to use require_once() instead of Loader::requireOnce() since "function.pnformtextinput.php"
is loaded by Smarty (the base render class) with the use of require_once(). We do not want to
get in conflict with that.*/
require_once('system/pnForm/plugins/function.pnformtextinput.php');
* E-mail input for pnForms
* The e-mail input plugin is a text input plugin that only allows e-mails to be posted.
* You can also use all of the features from the pnFormTextInput plugin since the e-mail input
return __FILE__ ; // FIXME: may be found in smarty's data???
function create(&$render, &$params)
parent::create($render, $params);
$this->cssClass .= ' email';
parent::validate($render);
return $render->pnFormRegisterPlugin('pnFormEMailInput', $params);
|