Subversion Repositories SmartDukaan

Rev

Rev 14509 | Rev 14584 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14509 Rev 14561
Line 453... Line 453...
453
        $result = $this->cropImage($url, $height, $width, $x1, $x2, $y1, $y2);
453
        $result = $this->cropImage($url, $height, $width, $x1, $x2, $y1, $y2);
454
 
454
 
455
        $this->set('result', $result);
455
        $this->set('result', $result);
456
        $this->set('_serialize', array('result'));
456
        $this->set('_serialize', array('result'));
457
    }
457
    }
-
 
458
 
-
 
459
    public function generateMultiUrl($url,&$data){
-
 
460
    	if(!empty($data['multi']) && $data['multi']==1){
-
 
461
    		$url .= '/?multi=1';    		
-
 
462
    	}
-
 
463
    	unset($data['multi']);
-
 
464
    	return $url;
-
 
465
    }
458
}
466
}