public function isUploadedFile($path)
    {
        if (!$path) {
            return false;
        }
        if (mb_orig_strpos($path, $this->getUploadTempDir() . '/') !== 0) {
            return false;
        }
        foreach ($this->attrs->files as $file) {
            if ($file['tmp_name'] === $path) {
                return true;
            }
        }
        return false;
    }
public function isUploadedFile($path)
    {
        if (!$path) {
            return false;
        }
        if (mb_orig_strpos($path, $this->getUploadTempDir() . '/') !== 0) {
            return false;
        }
        foreach ($this->attrs->files as $file) {
            if ($file['tmp_name'] === $path) {
                return true;
            }
        }
        return false;
    }
public function isUploadedFile ( $ path ) { if ( ! $ path ) { return false ; } if ( mb_orig_strpos ( $ path , $ this -> getUploadTempDir ( ) . '/' ) !== 0 ) { return false ; } foreach ( $ this -> attrs -> files as $ file ) { if ( $ file [ 'tmp_name' ] === $ path ) { return true ; } } return false ; }
Tells whether the file was uploaded via HTTP POST
@param  string $path The filename being checked
@return boolean       Whether if this is uploaded file
Tells whether the file was uploaded via HTTP POST