/**
* Main nodes in the XML tree ('image' is ignored)
*/
- private $mainNodes = array("base", "type", "resolution", "background-color", "foreground-color", "image-string");
+ private $mainNodes = array(
+ 'base',
+ 'type',
+ 'resolution',
+ 'background-color',
+ 'foreground-color',
+ 'image-string'
+ );
/**
* Sub nodes in the XML tree
*/
- private $subNodes = array("name", "string-name", "x", "y", "font-size", "width", "height", "red", "green", "blue", "text");
+ private $subNodes = array(
+ 'name',
+ 'string-name',
+ 'x',
+ 'y',
+ 'font-size',
+ 'width',
+ 'height',
+ 'red',
+ 'green',
+ 'blue',
+ 'text'
+ );
/**
* Image instance
*/
public function getImageCacheFqfn () {
// Get the FQFN ready
- $fqfn = $this->getBasePath().'_cache/' . md5($this->imageInstance->getImageName().":".$this->__toString().":".$this->imageInstance->__toString()) . "." . $this->imageInstance->getImageType();
+ $fqfn = $this->getBasePath().'_cache/' . md5($this->imageInstance->getImageName().':'.$this->__toString().':'.$this->imageInstance->__toString()) . '.' . $this->imageInstance->getImageType();
// Return it
return $fqfn;