Ansel_ImageGenerator::create PHP 메소드

create() 공개 메소드

Create and cache the view.
public create ( ) : mixed
리턴 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();
    }