Exemplo n.º 1
0
 /**
  * Deterimines if the current iterator item is valid.
  *
  * @return boolean
  * @throws Ansel_Exception
  */
 public function valid()
 {
     if (empty($this->_loaded['full'])) {
         $this->load();
     }
     try {
         return $this->_image->valid();
     } catch (Horde_Image_Exception $e) {
         throw new Ansel_Exception($e);
     }
 }