Вход Регистрация
Файл: admin/applications/forums/xml/hooks/tags.xml
Строк: 53
<?xml version="1.0" encoding="utf-8"?>
<hookexport>
  <hookdata>
    <config>
      <hook_name>Теги</hook_name>
      <hook_desc>Вывод списка популярных тегов в блоке справа на главной странице</hook_desc>
      <hook_author>Invision Power Services, Inc</hook_author>
      <hook_email/>
      <hook_website/>
      <hook_update_check/>
      <hook_requirements><![CDATA[a:3:{s:21:"required_applications";a:0:{}s:20:"hook_php_version_min";s:0:"";s:20:"hook_php_version_max";s:0:"";}]]></hook_requirements>
      <hook_version_human>1.0.0</hook_version_human>
      <hook_version_long>10000</hook_version_long>
      <hook_extra_data/>
      <hook_key>boardIndexTags</hook_key>
      <hook_global_caches/>
      <hook_application/>
    </config>
  </hookdata>
  <hookfiles>
    <file>
      <hook_file_real>boardIndexTags.php</hook_file_real>
      <hook_type>templateHooks</hook_type>
      <hook_classname>boardIndexTags</hook_classname>
      <hook_data><![CDATA[a:8:{s:12:"dataLocation";s:0:"";s:14:"libApplication";s:0:"";s:15:"classToOverload";s:0:"";s:9:"skinGroup";s:11:"skin_boards";s:12:"skinFunction";s:18:"boardIndexTemplate";s:4:"type";s:7:"foreach";s:2:"id";s:11:"side_blocks";s:8:"position";s:9:"outer.pre";}]]></hook_data>
      <hooks_source><![CDATA[<?php

class boardIndexTags
{
    public 
$registry;
    
    public function 
__construct()
    {
        
$this->registry ipsRegistry::instance();
    }
    
    public function 
getOutput()
    {
        
$classToLoad IPSLib::loadLibraryIPSLib::getAppDir('forums') . '/sources/classes/hooks/gateway.php''forums_hookGateway''forums' );
        
$hook = new $classToLoad$this->registry );
        
        return 
$hook->tags();
    }
}]]></
hooks_source>
    </
file>
  </
hookfiles>
  <
hookextras_settings/>
  <
hookextras_language/>
  <
hookextras_modules/>
  <
hookextras_help/>
  <
hookextras_templates/>
  <
hookextras_css/>
  <
hookextras_tasks/>
  <
hookextras_database_create/>
  <
hookextras_database_alter/>
  <
hookextras_database_update/>
  <
hookextras_database_insert/>
</
hookexport>
Онлайн: 0
Реклама