Exemplo n.º 1
0
 public function getTemplateVarPage()
 {
     $page = parent::getTemplateVarPage();
     $page['body_classes']['category-id-' . $this->category->id] = true;
     $page['body_classes']['category-' . $this->category->name] = true;
     $page['body_classes']['category-id-parent-' . $this->category->id_parent] = true;
     $page['body_classes']['category-depth-level-' . $this->category->level_depth] = true;
     return $page;
 }