Пример #1
0
 function begin()
 {
     $result = false;
     if ($this->cacheon) {
         ob_start();
     }
     if (!($this->content = WRA::readCache($this->name, WRA_CONF::$cachetime)) || !$this->cacheon) {
         $result = true;
     }
     if ($result && $this->cacheon) {
         $this->writethis = true;
     }
     return $result;
 }