Source for file Result.php

Documentation is available at Result.php

  1. <?php
  2. /**
  3.  * Form for handling automated script inputs.
  4.  * 
  5.  * @author Margus Sellin <margus@bitweb.ee>
  6.  * @copyright Copyright (C) 2011. All rights reserved. Margus Sellin
  7.  * @project olymp
  8.  * 
  9.  */
  10. class Form_Result extends Zend_Form {
  11.     
  12.     /**
  13.      * Initialization method.
  14.      * 
  15.      * Initializes the form with essential elements.
  16.      */
  17.     public function init()
  18.     {
  19.         $url new Zend_Form_Element_Text('url');
  20.         $url->setRequired(false);
  21.         $this->addElement($url);
  22.     }
  23.     
  24. }
  25.  
  26. ?>

Documentation generated on Tue, 14 Jun 2011 16:13:51 +0300 by phpDocumentor 1.4.1