Example #1
0
 final function getFile($key)
 {
     $args = func_get_args();
     return NArrayTools::get($this->files, $args);
 }
Example #2
0
File: loader.php Project: GE3/GE3
 final function getFile($key)
 {
     if ($this->files === NULL) {
         $this->initialize();
     }
     $args = func_get_args();
     return NArrayTools::get($this->files, $args);
 }
 public function loadHttpData()
 {
     $this->hash = NArrayTools::get($this->getForm()->getHttpData(), $this->getExtension()->captcha_hash);
     $this->responce = NArrayTools::get($this->getForm()->getHttpData(), $this->getExtension()->captcha_responce);
     $this->setValue($this->responce);
 }
Example #4
0
 public function getDefault($vars)
 {
     if ($vars == NULL) {
         return ";";
     } else {
         if (!is_array($vars)) {
             return " = " . $this->parseValue($vars) . ";";
         } else {
             if (($default = NArrayTools::get($vars, 'default', NULL)) != NULL) {
                 return " = " . $this->parseValue($default) . ";";
             } else {
                 return ";";
             }
         }
     }
 }