mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 16:48:42 +02:00
PHPDoc
This commit is contained in:
@@ -5,20 +5,31 @@
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Class DownloadPage
|
||||
*
|
||||
* Use it to download a file raw content (no extra / meta data from iTop)
|
||||
*
|
||||
* @api
|
||||
* @author Eric Espie <eric.espie@combodo.com>
|
||||
* @since 3.0.0
|
||||
*/
|
||||
class DownloadPage extends AjaxPage
|
||||
{
|
||||
/**@var string */
|
||||
/** @var string */
|
||||
protected $sContent;
|
||||
|
||||
/**
|
||||
* @param string $sContent
|
||||
*
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function add($sContent)
|
||||
{
|
||||
$this->sContent = $sContent;
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function output()
|
||||
{
|
||||
if (!empty($this->sContentType)) {
|
||||
|
||||
Reference in New Issue
Block a user