Ejemplo n.º 1
0
 /**
  * Creates an HTML form upload input tag.
  *
  * @param   string|array  input name or an array of HTML attributes
  * @param   string        input value, when using a name
  * @param   string        a string to be attached to the end of the attributes
  * @return  string
  */
 public static function upload($data, $value = NULL, $extra = '')
 {
     // Add the Bluebox defaults (such as css classes)
     list($data, $value, $extra) = self::_addDefaults(__FUNCTION__, $data, $value, $extra);
     // Call the parent
     $result = parent::upload($data, $value, $extra);
     return $result;
 }
 public static function upload($data, $value = '', $extra = '')
 {
     $value = self::get_value($data, $value);
     return parent::upload($data, $value, $extra);
 }