projects
/
core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rewritten:
[core.git]
/
framework
/
main
/
classes
/
template
/
image
/
class_ImageTemplateEngine.php
diff --git
a/framework/main/classes/template/image/class_ImageTemplateEngine.php
b/framework/main/classes/template/image/class_ImageTemplateEngine.php
index 19fc4848546bb3c2ac7476c9edbc84b3e20e4e55..e04fd74749b73b9ad39c35dcfc072a3bfd07d09b 100644
(file)
--- a/
framework/main/classes/template/image/class_ImageTemplateEngine.php
+++ b/
framework/main/classes/template/image/class_ImageTemplateEngine.php
@@
-12,6
+12,7
@@
use CoreFramework\Template\CompileableTemplate;
use CoreFramework\Template\Engine\BaseTemplateEngine;
// Import SPL stuff
use CoreFramework\Template\Engine\BaseTemplateEngine;
// Import SPL stuff
+use \SplFileInfo;
use \UnexpectedValueException;
/**
use \UnexpectedValueException;
/**
@@
-471,13
+472,13
@@
class ImageTemplateEngine extends BaseTemplateEngine implements CompileableTempl
}
/**
}
/**
- * Getter for image cache file
(FQFN)
+ * Getter for image cache file
instance
*
*
- * @return $f
qfn Full-qualified file name of the image cache
+ * @return $f
ileInstance An instance of a SplFileInfo class
*/
*/
- public function getImageCacheF
qfn
() {
- // Get the
FQFN
ready
- $f
qfn =
sprintf('%s%s%s/%s.%s',
+ public function getImageCacheF
ile
() {
+ // Get the
instance
ready
+ $f
ileInstance = new SplFileInfo(
sprintf('%s%s%s/%s.%s',
$this->getConfigInstance()->getConfigEntry('framework_base_path'),
$this->getGenericBasePath(),
'images/_cache',
$this->getConfigInstance()->getConfigEntry('framework_base_path'),
$this->getGenericBasePath(),
'images/_cache',
@@
-485,10
+486,10
@@
class ImageTemplateEngine extends BaseTemplateEngine implements CompileableTempl
$this->getImageInstance()->getImageName() . ':' . $this->__toString() . ':' . $this->getImageInstance()->__toString()
),
$this->getImageInstance()->getImageType()
$this->getImageInstance()->getImageName() . ':' . $this->__toString() . ':' . $this->getImageInstance()->__toString()
),
$this->getImageInstance()->getImageType()
- );
+ )
)
;
// Return it
// Return it
- return $f
qfn
;
+ return $f
ileInstance
;
}
/**
}
/**