Add user CSV import

This commit is contained in:
Frederic Guillot
2015-10-12 14:44:28 -04:00
parent e57386a183
commit e515f37435
20 changed files with 514 additions and 35 deletions

View File

@@ -102,6 +102,18 @@ class Request
return '';
}
/**
* Get the path of an uploaded file
*
* @access public
* @param string $name Form file name
* @return string
*/
public function getFilePath($name)
{
return isset($_FILES[$name]['tmp_name']) ? $_FILES[$name]['tmp_name'] : '';
}
/**
* Return true if the HTTP request is sent with the POST method
*