Ansel_ImageGenerator::create PHP Méthode

create() public méthode

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