protected function _render()
{
if (!Horde_Util::getFormData('zip_attachment')) {
- $this->_callback = array(&$this, '_WhupsCallback');
+ $this->_callback = array($this, '_whupsCallback');
return parent::_render();
}
*
* @return array See Horde_Mime_Viewer_Driver::render().
*/
- protected function _renderInline()
+ protected function _renderInfo()
{
- $this->_callback = array(&$this, '_WhupsCallback');
- return parent::_renderInline();
+ $this->_callback = array($this, '_whupsCallback');
+ return parent::_renderInfo();
}
/**
*
* @return string The content-type of the output.
*/
- protected function _WhupsCallback($key, $val)
+ protected function _whupsCallback($key, $val)
{
$name = preg_replace('/( )+$/', '', $val['name']);