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.  * @package Form
  8.  * @project olymp
  9.  * 
  10.  */
  11. class Form_Result extends Zend_Form {
  12.     
  13.     /**
  14.      * Initialization method.
  15.      * 
  16.      * Initializes the form with essential elements.
  17.      */
  18.     public function init()
  19.     {
  20.         $url new Zend_Form_Element_Text('url');
  21.         $url->setRequired(false);
  22.         $this->addElement($url);
  23.     }
  24.     
  25. }
  26.  
  27. ?>

Documentation generated on Mon, 20 Jun 2011 05:43:07 +0300 by phpDocumentor 1.4.1