=0) { $this->_maxWidth = $_maxWidth; } } if(isset($imagesNode['maxHeight'])) { $_maxHeight = intval($imagesNode['maxHeight']); if($_maxHeight>=0) { $this->_maxHeight = $_maxHeight; } } if(isset($imagesNode['quality'])) { $_quality = intval($imagesNode['quality']); if($_quality>0 && $_quality<=100) { $this->_quality = $_quality; } } } /** * Get maximum width of a thumbnail * * @access public * @return int */ public function getMaxWidth() { return $this->_maxWidth; } /** * Get maximum height of a thumbnail * * @access public * @return int */ public function getMaxHeight() { return $this->_maxHeight; } /** * Get quality of a thumbnail (1-100) * * @access public * @return int */ public function getQuality() { return $this->_quality; } }