getHordeImage() 공개 메소드

Obtain a reference to the underlying Horde_Image
public getHordeImage ( ) : Horde_Image_Base
리턴 Horde_Image_Base
예제 #1
0
 /**
  * Create and cache the view.
  *
  * @return mixed  Views used as gallery key images return Horde_Image,
  *                other views return boolean
  */
 public function create()
 {
     if (!empty($this->_image)) {
         // Use Horde_Image since we don't know at this point which
         // view we have loaded.
         $img = $this->_image->getHordeImage();
         $this->_dimensions = $img->getDimensions();
     }
     return $this->_create();
 }
예제 #2
0
 /**
  * Create and cache the view.
  *
  * @return mixed  Views used as gallery key images return Horde_Image,
  *                other views return boolean
  */
 public function create()
 {
     if (!empty($this->_image)) {
         // Make sure to load the image.
         $this->_image->load('full');
         $img = $this->_image->getHordeImage();
         $this->_dimensions = $img->getDimensions();
     }
     return $this->_create();
 }