nyroFwk  0.2
response/abstract.class.php
Go to the documentation of this file.
1 <?php
10 abstract class response_abstract extends object {
11 
17  protected $content;
18 
24  protected $proxy = null;
25 
31  public function getProxy() {
32  return factory::get('response_proxy');
33  }
34 
40  public function getContent() {
41  return $this->content;
42  }
43 
49  public function setContent($content) {
50  $this->content = $content;
51  }
52 
59  public function comment($comment) {
60  return '';
61  }
62 
68  public function canGlobalCache() {
69  return true;
70  }
71 
77  public function getVarsForGlobalCache() {
78  return null;
79  }
80 
87  public function setVarsFromGlobalCache($vars) {}
88 
92  abstract public function send();
93 
99  abstract public function sendText($text);
100 
104  public function __call($func, $prm) {}
105 
106  public function __toString() {
107  return '';
108  }
109 
110 }
static get($className, array $cfg=array())
Generated on Sun Oct 15 2017 22:25:20 for nyroFwk by doxygen 1.8.13