public static function getInstance() { if (!isset(self::$instance)) { self::$instance = new self(); } return self::$instance; }
/** * * Return value from $_FILES[$key] * @param string/int $key * @return array */ public static function getFilesKey($key) { $files = knl_lib_Files::getInstance(); return $files->getFilesKey($key); }
public static function getFiles() { $files = knl_lib_Files::getInstance(); return $files; }