Exemplo n.º 1
0
 public static function select($name, $options = array(), $selected = null, $attributes = array())
 {
     $attributes = static::merge_rules($name, $attributes);
     return parent::select($name, $options, $selected, $attributes);
 }
Exemplo n.º 2
0
 /**
  * Dynamically handle calls to custom calls.
  *
  * @param  string  $method
  * @param  array   $parameters
  * @return mixed
  */
 public static function __callStatic($method, $parameters)
 {
     $in = static::magic_input($method, $parameters);
     if ($in !== null) {
         return $in;
     }
     return parent::__callStatic($method, $parameters);
 }