Ejemplo n.º 1
0
 public function resize()
 {
     $sizes = $this->transform_args(func_get_args(), 'resize');
     $this->parms = array_merge($this->parms, $sizes);
     $parm = reset(func_get_args());
     return parent::resize($parm);
 }
Ejemplo n.º 2
0
 public function mods_reset()
 {
     parent::mods_reset();
     $this->remake_cache = array();
     return $this;
 }
Ejemplo n.º 3
0
 public function remove()
 {
     $path = $this->path();
     $default_image_path = $this->default_image_path();
     if (IO_FS::exists($path) && (!$default_image_path || $path != $default_image_path)) {
         IO_FS::rm($path);
         parent::set('');
         return true;
     }
     return false;
 }