示例#1
0
 /**
  * Load page data to the template.
  *
  * @param PageInterface $page
  */
 public function load(PageInterface $page)
 {
     $this->template->set('title', $page->getTitle());
     $this->template->set('meta_title', $page->getMetaTitle());
     $this->template->set('meta_keywords', $page->getMetaKeywords());
     $this->template->set('meta_description', $page->getMetaDescription());
 }