Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. <?php
  2.  
  3. /**
  4. * formular na editaci accounts
  5. *
  6. * @author tatarp
  7. */
  8. class Athena_Accounts_Form extends Zend_Form{
  9.  
  10. public function init() {
  11. parent::init();
  12.  
  13.  
  14. /**
  15. * edit form
  16. */
  17. $this->setMethod("POST");
  18.  
  19.  
  20. $this->adddSubform(new Athena_Form_SubForm_TableAccount(), 'account')
  21.  
  22. $co= new Zend_Form_Element_Hidden('co');
  23. $co->setValue('a');
  24.  
  25. /**
  26. * odesilaci tlacitko
  27. */
  28. $submit= new Zend_Form_Element_Submit('send');
  29. $submit->setLabel('Uložit');
  30.  
  31.  
  32. $this->addElement($co)
  33. ->addElement($submit);
  34. }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement