* @var array
*/
protected $_capability = array(
- 'full' => true,
+ 'full' => false,
'info' => true,
'inline' => false,
'raw' => false
}
/**
- * Return the full rendered version of the Horde_Mime_Part object.
- *
- * @return array See parent::render().
- */
- protected function _render()
- {
- return $this->_renderFullReturn($this->_renderInfo());
- }
-
- /**
* Return the rendered information about the Horde_Mime_Part object.
*
* @return array See parent::render().
* @var array
*/
protected $_capability = array(
- 'full' => true,
+ 'full' => false,
'info' => true,
'inline' => false,
'raw' => false
}
/**
- * Return the full rendered version of the Horde_Mime_Part object.
- *
- * @return array See parent::render().
- */
- protected function _render()
- {
- return $this->_renderFullReturn($this->_renderInfo());
- }
-
- /**
* Return the rendered information about the Horde_Mime_Part object.
*
* @return array See parent::render().
* @var array
*/
protected $_capability = array(
- 'full' => true,
+ 'full' => false,
'info' => true,
'inline' => false,
'raw' => false
}
/**
- * Return the full rendered version of the Horde_Mime_Part object.
- *
- * @return array See parent::render().
- */
- protected function _render()
- {
- return $this->_renderFullReturn($this->_renderInfo());
- }
-
- /**
* Return the rendered information about the Horde_Mime_Part object.
*
* @return array See parent::render().
* @var array
*/
protected $_capability = array(
- 'full' => true,
+ 'full' => false,
'info' => true,
'inline' => false,
'raw' => false
}
/**
- * Return the full rendered version of the Horde_Mime_Part object.
- *
- * @return array See parent::render().
- * @throws Horde_Exception
- */
- protected function _render()
- {
- return $this->_renderFullReturn($this->_renderInfo());
- }
-
- /**
* Return the rendered information about the Horde_Mime_Part object.
*
* @return array See parent::render().
* @var array
*/
protected $_capability = array(
- 'full' => true,
+ 'full' => false,
'info' => true,
'inline' => false,
'raw' => false
}
/**
- * Return the full rendered version of the Horde_Mime_Part object.
- *
- * @return array See parent::render().
- * @throws Horde_Exception
- */
- protected function _render()
- {
- return $this->_renderFullReturn($this->_toHTML());
- }
-
- /**
* Return the rendered information about the Horde_Mime_Part object.
*
* @return array See parent::render().
*/
protected function _renderInfo()
{
- return $this->_toHTML();
- }
-
- /**
- * Converts the ZIP file to an HTML display.
- *
- * @return array See parent::render().
- * @throws Horde_Exception
- */
- protected function _toHTML()
- {
$charset = $this->getConfigParam('charset');
$contents = $this->_mimepart->getContents();
protected function _render()
{
if (!($zip_atc = Horde_Util::getFormData('zip_attachment'))) {
- $this->_callback = array($this, '_IMPcallback');
- return parent::_render();
+ return array();
}
/* Send the requested file. Its position in the zip archive is located
}
/**
- * The function to use as a callback to _toHTML().
+ * The function to use as a callback to _renderInfo().
*
* @param integer $key The position of the file in the zip archive.
* @param array $val The information array for the archived file.