TYPO3 CMS  TYPO3_6-2
Response.php
Go to the documentation of this file.
1 <?php
2 namespace TYPO3\CMS\Extbase\Mvc;
3 
22 
26  protected $content = NULL;
27 
35  public function setContent($content) {
36  $this->content = $content;
37  }
38 
46  public function appendContent($content) {
47  $this->content .= $content;
48  }
49 
56  public function getContent() {
57  return $this->content;
58  }
59 
66  public function shutdown() {
67  $content = $this->getContent();
68  $this->setContent('');
69  return $content;
70  }
71 
78  public function __toString() {
79  return $this->getContent();
80  }
81 }