public function __construct(Horde_Share_Object $share) { $this->_share = $share; $this->_setModeHelper($share->get('view_mode') ? $share->get('view_mode') : 'Normal'); }