Пример #1
0
 public function content()
 {
     if (isset($this->buffer)) {
         echo $this->buffer;
     }
     if ($this->view instanceof Staple_View) {
         $this->view->build();
     }
 }
Пример #2
0
 /**
  * @see Staple_View::escape()
  * @param string $estring
  * @param boolean $strip
  */
 public static function _escape($estring, $strip = false)
 {
     return Staple_View::escape($estring, $strip);
 }