<?php
/**
 * @package user
 * @version $Id: LostPassEditForm.class.php,v 1.1.2.4.2.3 2006/10/07 06:30:10 ryuji_amano Exp $
 */

if (!defined('XOOPS_ROOT_PATH')) exit();

require_once XOOPS_ROOT_PATH . "/core/XCube_ActionForm.class.php";

/**
 * This class is generated by makeActionForm tool.
 */
class User_LostPassEditForm extends XCube_ActionForm
{
	function getTokenName()
	{
		return "module.user.LostPassEditForm.TOKEN";
	}

	function prepare()
	{
		//
		// Set form properties
		//
		$this->mFormProperties['email'] =& new XCube_StringProperty('email');
		$this->mFormProperties['code'] =& new XCube_StringProperty('code');

		//
		// Set field properties
		//
		$this->mFieldProperties['email'] =& new XCube_FieldProperty($this);
		$this->mFieldProperties['email']->setDependsByArray(array('required', 'email'));
		$this->mFieldProperties['email']->addMessage('required', _MD_USER_ERROR_REQUIRED, _MD_USER_LANG_EMAIL);
		$this->mFieldProperties['email']->addMessage('email', _MD_USER_ERROR_EMAIL, _MD_USER_LANG_EMAIL);
	}
}

?>
