Beispiel #1
0
 function __construct($DbTable, $options = null)
 {
     if (!is_array($DbTable)) {
         $this->_DbTable = array($DbTable);
     } else {
         $this->_DbTable = $DbTable;
     }
     parent::__construct($options);
 }
Beispiel #2
0
 function __construct(Twm_Form_Abstract $form)
 {
     parent::__construct("Form validation failed");
     $this->errors = $form->getErrors();
     $this->messages = $form->getMessages();
 }