protected function _loadFile()
 {
     parent::_loadFile();
     if (is_array($this->_data)) {
         $addonId = substr(dirname($this->_data['filePath']), strrpos(dirname($this->_data['filePath']), '/') + 1);
         if ($addonId == 'phrases') {
             $addonId = '';
         }
         $this->_data += array('addon_id' => $addonId, 'global_cache' => strpos($this->_data['filePath'], 'global.txt') == strlen($this->_data['filePath']) - 10);
     }
 }
 protected function _loadFile()
 {
     parent::_loadFile();
     if (is_array($this->_data)) {
         $addonId = substr(dirname($this->_data['filePath']), strrpos(dirname($this->_data['filePath']), '/') + 1);
         if ($addonId == $this->getTemplateType()) {
             $addonId = '';
         }
         $this->_data += array('addon_id' => $addonId);
     }
 }