$request
$request : \CodeIgniter\HTTP\RequestInterface
Request instance. So we can get access to the files.
File validation rules
$request : \CodeIgniter\HTTP\RequestInterface
Request instance. So we can get access to the files.
__construct(\CodeIgniter\HTTP\RequestInterface $request = null)
Constructor.
\CodeIgniter\HTTP\RequestInterface | $request |
is_image(string|null $blank = null, string $params, array $data) : boolean
Uses the mime config file to determine if a file is considered an "image", which for our purposes basically means that it's a raster image or svg.
string|null | $blank | |
string | $params | |
array | $data |
Loading…