public function outputAutoHeaderItems() { $b = Block::getByID($this->bOriginalID); $b = $this->getBlockObject(); $bvt = new BlockViewTemplate($b); $bvt->registerTemplateAssets(); }
public function outputAutoHeaderItems() { $b = $this->getBlockObject(); if (is_object($b)) { $bvt = new BlockViewTemplate($b); $bvt->registerTemplateAssets(); } }