private function _buildTemplateContent($content, $themeDir)
 {
     $controls = array('sheet', 'layoutcontainer', 'hookhome');
     foreach ($controls as $control) {
         $content = HookController::getHookFromControl($themeDir, $content, $control);
     }
     return $content;
 }
 public function hookReplace($matches)
 {
     $hook_name = $matches[2];
     $result = HookController::parseHookOutput($this->themeDir, $hook_name, $this->hookList);
     return $result;
 }