Lines Matching refs:orig_srcpath
153 …public function getImage(&$file, $firsttime = true, $allowvector = true, $orig_srcpath = false, $i… argument
189 if ($firsttime && $orig_srcpath) {
191 if (strpos($orig_srcpath, 'data:') !== 0) {
192 $orig_srcpath = str_replace(' ', '%20', $orig_srcpath);
194 if (!preg_match('/^(http|ftp)/', $orig_srcpath)) {
195 $orig_srcpath = $this->urldecodeParts($orig_srcpath);
200 if ($orig_srcpath && isset($this->mpdf->images[$orig_srcpath])) {
201 $file = $orig_srcpath;
202 return $this->mpdf->images[$orig_srcpath];
209 if ($orig_srcpath && isset($this->mpdf->formobjects[$orig_srcpath])) {
210 $file = $orig_srcpath;
226 if ($orig_srcpath && $this->mpdf->basepathIsLocal && $check = @fopen($orig_srcpath, 'rb')) {
228 $file = $orig_srcpath;