private static function getFiles($name, $type, $tmp_name, $error, $size) { if ($error) { self::error($error); return FALSE; } self::$name = $name; self::$type = $type; self::$tmp_name = $tmp_name; self::$size = $size; $tmp = explode('.', $name); self::$suffix = strtolower(array_pop($tmp)); return TRUE; }