getImagePageCount() публичный Метод

Returns the number of image pages available in the image object.
public getImagePageCount ( ) : integer
Результат integer The number of images.
Пример #1
0
 /**
  * Get the number of pages that a multipage image contains.
  *
  * @return integer  The number of pages.
  * @throws Ansel_Exception
  */
 public function getImagePageCount()
 {
     if (empty($this->_loaded['full'])) {
         $this->load();
     }
     try {
         return $this->_image->getImagePageCount();
     } catch (Horde_Image_Exception $e) {
         throw new Ansel_Exception($e);
     }
 }