Lines Matching refs:this
14 $this->thumbnail = $thumbnail;
18 return $this->thumbnail->getSourceFilepath();
22 return $this->thumbnail->getFilepath();
26 return $this->thumbnail->getMaxDimension();
30 if ($this->act_internal()) {
32 if (filemtime($this->getSourceFilepath()) !== filemtime($this->getTargetFilepath())) {
33 touch($this->getTargetFilepath(), filemtime($this->getSourceFilepath()));
42 …return !file_exists($this->getTargetFilepath()) || filemtime($this->getTargetFilepath()) !== filem…
57 if ($this->thumb_needs_update()) {
58 $im = new imagick($this->getSourceFilepath()."[0]");
65 $im->writeImage($this->getTargetFilepath());
70 $im = new imagick($this->getTargetFilepath());
71 $im->thumbnailImage($this->getTargetMaxDimension(),$this->getTargetMaxDimension(),true,false);
72 $im->writeImage($this->getTargetFilepath());
86 return getFileSuffix($this->getSourceFilepath());
90 if ($this->thumb_needs_update()) {
91 $im = new imagick( $this->getSourceFilepath() );
92 $im->thumbnailImage($this->getTargetMaxDimension(),$this->getTargetMaxDimension(),true,false);
93 $im->writeImage($this->getTargetFilepath());
111 $this->thumb_paths = $thumb_paths;
115 return $this->file_suffix;
121 if ($zip->open($this->getSourceFilepath()) !== true) {
129 foreach($this->thumb_paths as $thumbnail_path) {
130 $this->file_suffix = substr(strrchr($thumbnail_path,'.'),1);
134 if (!$this->thumb_needs_update()) {
152 file_put_contents($this->getTargetFilepath(), $thumbnaildata);