Guest

Untitled

By: a guest on Jan 28th, 2012  |  syntax: None  |  size: 0.39 KB  |  hits: 24  |  expires: Never
download  |  raw  |  embed  |  report abuse
Copied
  1. <?php
  2. class HivpnModule_RegisterValidator extends AgaviValidator
  3. {
  4.   /**
  5.    * Validates the input
  6.    *
  7.    * @return     bool The input is valid number according to given parameters.
  8.    */
  9.   protected function validate()
  10.   {
  11.     $parameterName = $this->getArgument();
  12.     $typeOfConnection = $this->getData($parameterName);
  13.     $this->export($typeOfConnection);
  14.         return true;
  15.   }
  16. }
  17.  
  18. ?>