Exemple #1
0
 /**
  * Loads form values from an object
  *
  * @param string $key The name of a form component that will be loaded
  * @return mixed The stored value returned
  */
 function field_load($key)
 {
     if (is_callable($this->loader)) {
         return Method::dispatch($this->loader, $key);
     }
     return $this->loader;
 }