Copyright 2002-2016 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.horde.org/licenses/lgpl21.
/** */ public function canRender($mode) { global $browser; switch ($mode) { case 'full': case 'raw': /* Only display raw images we know the browser supports, and we * know can't cause any sort of security issue. */ if ($browser->isViewable($this->_getType())) { return true; } break; } return parent::canRender($mode); }
/** * Return the full rendered version of the Horde_Mime_Part object. * * @return array See parent::render(). */ protected function _renderRaw() { return parent::_render(); }