Ejemplo n.º 1
0
 /**
  * dbFormHandler::dbFormHandler()
  *
  * Constructor: initialize some needed vars
  *
  * @param string $name: the name for the form (used in the <form> tag
  * @param string $action: the action for the form (used in <form action="xxx">)
  * @param string $extra: extra css or js which is included in the <form> tag
  * @author Teye Heimans
  * @return dbFormHandler
  */
 function dbFormHandler($name = null, $action = null, $extra = null)
 {
     $this->_sql = array();
     $this->_dbData = array();
     $this->_dontSave = array();
     $this->_id = array();
     $this->dieOnQuery = false;
     parent::FormHandler($name, $action, $extra);
     $this->setEditName(FH_EDIT_NAME);
     $this->initFHEditName();
 }