コード例 #1
0
 public function windFetch($template = '')
 {
     $template || ($template = $this->windView->templateName);
     if (!$template) {
         return '';
     }
     list($template) = $this->windView->getViewTemplate($template);
     WindRender::render($template, $this->vars, $this);
 }
コード例 #2
0
 public function windFetch($template = '')
 {
     $template || ($template = $this->windView->templateName);
     if (!$template) {
         return '';
     }
     ob_start();
     $template = $this->windView->getViewTemplate($template);
     WindRender::render($template, $this->vars, $this);
     return ob_get_clean();
 }