diff -r 5b37998e522e -r 162c1de6545a web/lib/Zend/Http/UserAgent/Text.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/Zend/Http/UserAgent/Text.php Fri Mar 11 15:05:35 2011 +0100 @@ -0,0 +1,132 @@ +setFeature('images', false, 'product_capability'); + $this->setFeature('iframes', false, 'product_capability'); + $this->setFeature('frames', false, 'product_capability'); + $this->setFeature('javascript', false, 'product_capability'); + return parent::_defineFeatures(); + } + + /** + * Determine supported image formats + * + * @return null + */ + public function getImageFormatSupport() + { + return null; + } + + /** + * Get preferred markup format + * + * @return string + */ + public function getPreferredMarkup() + { + return 'xhtml'; + } + + /** + * Get supported X/HTML markup level + * + * @return int + */ + public function getXhtmlSupportLevel() + { + return 1; + } + + /** + * Does the device support Flash? + * + * @return bool + */ + public function hasFlashSupport() + { + + return false; + } + + /** + * Does the device support PDF? + * + * @return bool + */ + public function hasPdfSupport() + { + return false; + } +}