👁 查看:Hdinstaller_ActionForm.php
路径:/virtual/bigbrother/public_html/edream-c.com/extras/installer-ftp/app/Hdinstaller_ActionForm.php
大小:1.72 KB · 修改:2013-09-07 07:17:45 · 权限:0644 · 可写
<?php
// vim: foldmethod=marker
/**
* Hdinstaller_ActionForm.php
*
* @author {$author}
* @package Hdinstaller
* @version $Id: app.actionform.php 568 2008-06-07 22:55:10Z mumumu-org $
*/
// {{{ Hdinstaller_ActionForm
/**
* ActionForm class.
*
* @author {$author}
* @package Hdinstaller
* @access public
*/
class Hdinstaller_ActionForm extends Ethna_ActionForm
{
/**#@+
* @access private
*/
/** @var array form definition (default) */
var $form_template = array();
/**#@-*/
/**
* Error handling of form input validation.
*
* @access public
* @param string $name form item name.
* @param int $code error code.
*/
function handleError($name, $code)
{
return parent::handleError($name, $code);
}
/**
* setter method for form template.
*
* @access protected
* @param array $form_template form template
* @return array form template after setting.
*/
function _setFormTemplate($form_template)
{
return parent::_setFormTemplate($form_template);
}
/**
* setter method for form definition.
*
* @access protected
*/
function _setFormDef()
{
return parent::_setFormDef();
}
/**
* �t�H�[���l��`��ݒ肷��
*
* @access public
* @param string $name �ݒ肷��t�H�[����(null�Ȃ�S�Ă̒�`��ݒ�)
* @param array $value �ݒ肷��t�H�[���l��`
* @return array �t�H�[���l��`
*/
function setDef($name, $value)
{
if (is_null($name)) {
$this->form = $value;
return ;
}
$this->form[$name] = $value;
}
}
// }}}
?>