Closed pnikolov closed 9 years ago
Current Core\Modules\Router\Request object does not expose $_FILES values. A possible implementation, compatible with the other similar methods:
Core\Modules\Router\Request
$_FILES
/** * Retrieves the FILES request params - $context[_FILES] contents. * * @param string $key Name of the parameter(optional). * * @access public * * @return mixed $_FILES array contents. */ public function files($key = null) { if ($key) { return isset($this->context['_FILES'][$key]) ? $this->context['_FILES'][$key] : null; } return $this->context['_FILES']; }
Current
Core\Modules\Router\Request
object does not expose$_FILES
values. A possible implementation, compatible with the other similar methods: