当前位置: 首页>>代码示例>>PHP>>正文


PHP TemplateLoader::addFiles方法代码示例

本文整理汇总了PHP中TemplateLoader::addFiles方法的典型用法代码示例。如果您正苦于以下问题:PHP TemplateLoader::addFiles方法的具体用法?PHP TemplateLoader::addFiles怎么用?PHP TemplateLoader::addFiles使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在TemplateLoader的用法示例。


在下文中一共展示了TemplateLoader::addFiles方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

<?php

/**
 * Contao Open Source CMS
 *
 * Copyright (c) 2005-2015 Leo Feyer
 *
 * @license LGPL-3.0+
 */
/**
 * Register the namespaces
 */
ClassLoader::addNamespaces(array('HeimrichHannot'));
/**
 * Register the classes
 */
ClassLoader::addClasses(array('HeimrichHannot\\Banner\\ModuleBannerTag' => 'system/modules/banner_plus/classes/ModuleBannerTag.php'));
/**
 * Register the templates
 */
TemplateLoader::addFiles(array('mod_banner_list_fireplace_ad' => 'system/modules/banner_plus/templates/banner'));
开发者ID:heimrichhannot,项目名称:contao-banner_plus,代码行数:21,代码来源:autoload.php

示例2:

<?php

/**
 * Contao Open Source CMS
 *
 * Copyright (c) 2005-2015 Leo Feyer
 *
 * @license LGPL-3.0+
 */
/**
 * Register the classes
 */
ClassLoader::addClasses(array('Contao\\FaqCategoryModel' => 'system/modules/faq/models/FaqCategoryModel.php', 'Contao\\FaqModel' => 'system/modules/faq/models/FaqModel.php', 'Contao\\ModuleFaq' => 'system/modules/faq/modules/ModuleFaq.php', 'Contao\\ModuleFaqList' => 'system/modules/faq/modules/ModuleFaqList.php', 'Contao\\ModuleFaqPage' => 'system/modules/faq/modules/ModuleFaqPage.php', 'Contao\\ModuleFaqReader' => 'system/modules/faq/modules/ModuleFaqReader.php'));
/**
 * Register the templates
 */
TemplateLoader::addFiles(array('mod_faqlist' => 'system/modules/faq/templates/modules', 'mod_faqpage' => 'system/modules/faq/templates/modules', 'mod_faqreader' => 'system/modules/faq/templates/modules'));
开发者ID:StephenGWills,项目名称:sample-contao-app,代码行数:17,代码来源:autoload.php

示例3:

<?php

/**
 * Contao Open Source CMS
 *
 * Copyright (c) 2005-2014 Leo Feyer
 *
 * @package Inserttag_download
 * @link    https://contao.org
 * @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL
 */
/**
 * Register the namespaces
 */
ClassLoader::addNamespaces(array('HeimrichHannot'));
/**
 * Register the classes
 */
ClassLoader::addClasses(array('HeimrichHannot\\InserttagDownload' => 'system/modules/inserttag_download/classes/InserttagDownload.php', 'ContentDownloadInserttag' => 'system/modules/inserttag_download/classes/ContentDownloadInserttag.php'));
/**
 * Register the templates
 */
TemplateLoader::addFiles(array('ce_download_inserttag' => 'system/modules/inserttag_download/templates/elements', 'block_searchable_inline' => 'system/modules/inserttag_download/templates/blocks'));
开发者ID:heimrichhannot,项目名称:contao-inserttag_download,代码行数:23,代码来源:autoload.php

示例4:

<?php

/**
 * Responsive Navigation Extension for Contao
 *
 * Copyright (c) 2016 Falko Schumann
 *
 * @package  ResponsiveNavigation
 * @link     https://github.com/falkoschumann/contao-responsive-navigation
 * @license  http://opensource.org/licenses/MIT MIT
 */
/**
 * Register the templates.
 */
TemplateLoader::addFiles(array('j_responsive_navigation' => 'system/modules/responsive-navigation/templates/jquery'));
开发者ID:falkoschumann,项目名称:contao-responsive-navigation,代码行数:15,代码来源:autoload.php

示例5:

<?php

/**
 * ajaxform extension for Contao Open Source CMS
 *
 * @copyright  Copyright (c) 2009-2014, terminal42 gmbh
 * @author     terminal42 gmbh <info@terminal42.ch>
 * @license    http://opensource.org/licenses/lgpl-3.0.html LGPL
 * @link       http://github.com/aschempp/contao-ajaxform
 */
/**
 * Register the classes
 */
ClassLoader::addClasses(array('AjaxForm' => 'system/modules/ajaxform/AjaxForm.php'));
/**
 * Register the templates
 */
TemplateLoader::addFiles(array('ajaxform_confirm' => 'system/modules/ajaxform/templates', 'ajaxform_inline' => 'system/modules/ajaxform/templates', 'ajaxform' => 'system/modules/ajaxform/templates'));
开发者ID:terminal42,项目名称:contao-ajaxform,代码行数:18,代码来源:autoload.php

示例6:

<?php

/**
 * The MetaModels extension allows the creation of multiple collections of custom items,
 * each with its own unique set of selectable attributes, with attribute extendability.
 * The Front-End modules allow you to build powerful listing and filtering of the
 * data in each collection.
 *
 * PHP version 5
 * @package    MetaModels
 * @subpackage AttributeNumeric
 * @author     Christian Schiffler <c.schiffler@cyberspectrum.de>
 * @author     Stefan Heimes <stefan_heimes@hotmail.com>
 * @author     Andreas Isaak <info@andreas-isaak.de>
 * @author     David Greminger <david.greminger@1up.io>
 * @copyright  The MetaModels team.
 * @license    LGPL.
 * @filesource
 */
/**
 * Register the templates
 */
TemplateLoader::addFiles(array('mm_attr_numeric' => 'system/modules/metamodelsattribute_numeric/templates'));
开发者ID:zonky2,项目名称:attribute_numeric,代码行数:23,代码来源:autoload.php

示例7:

<?php

/**
 * Contao Open Source CMS
 *
 * Copyright (c) 2005-2016 Leo Feyer
 *
 * @license LGPL-3.0+
 */
/**
 * Register the classes
 */
ClassLoader::addClasses(array('Contao\\Comments' => 'system/modules/comments/classes/Comments.php', 'Contao\\ContentComments' => 'system/modules/comments/elements/ContentComments.php', 'Contao\\CommentsModel' => 'system/modules/comments/models/CommentsModel.php', 'Contao\\CommentsNotifyModel' => 'system/modules/comments/models/CommentsNotifyModel.php', 'Contao\\ModuleComments' => 'system/modules/comments/modules/ModuleComments.php'));
/**
 * Register the templates
 */
TemplateLoader::addFiles(array('com_default' => 'system/modules/comments/templates/comments', 'ce_comments' => 'system/modules/comments/templates/elements', 'mod_comment_form' => 'system/modules/comments/templates/modules'));
开发者ID:bytehead,项目名称:contao-core,代码行数:17,代码来源:autoload.php

示例8:

<?php

/**
 * pageimage Extension for Contao Open Source CMS
 *
 * @copyright  Copyright (c) 2009-2014, terminal42 gmbh
 * @author     terminal42 gmbh <info@terminal42.ch>
 * @license    http://opensource.org/licenses/lgpl-3.0.html LGPL
 * @link       http://github.com/terminal42/contao-pageimage
 */
/**
 * Register the classes
 */
ClassLoader::addClasses(array('ModulePageImage' => 'system/modules/pageimage/ModulePageImage.php', 'ModuleBackgroundImage' => 'system/modules/pageimage/ModuleBackgroundImage.php', 'PageImage' => 'system/modules/pageimage/PageImage.php'));
/**
 * Register the templates
 */
TemplateLoader::addFiles(array('mod_pageimage' => 'system/modules/pageimage/templates', 'mod_background_image' => 'system/modules/pageimage/templates'));
开发者ID:delirius,项目名称:contao-pageimage,代码行数:18,代码来源:autoload.php

示例9:

<?php

/**
 * rte_table extension for Contao Open Source CMS
 *
 * @copyright Copyright (c) 2008-2016, terminal42 gmbh
 * @author    terminal42 gmbh <info@terminal42.ch>
 * @license   http://opensource.org/licenses/lgpl-3.0.html LGPL
 * @link      http://github.com/terminal42/rte_table
 */
/**
 * Register the templates
 */
TemplateLoader::addFiles(['be_rte_table_editor' => 'system/modules/rte_table/templates/backend']);
开发者ID:terminal42,项目名称:contao-rte_table,代码行数:14,代码来源:autoload.php

示例10:

<?php

/**
 * @package   contao-bootstrap
 * @author    David Molineus <david.molineus@netzmacht.de>
 * @license   LGPL 3+
 * @copyright 2013-2015 netzmacht creative David Molineus
 */
TemplateLoader::addFiles(array('be_subcolumns_bootstrap' => 'system/modules/bootstrap-grid/templates', 'ce_colsetPart' => 'system/modules/bootstrap-grid/templates', 'form_colset' => 'system/modules/bootstrap-grid/templates', 'mod_subcolumns' => 'system/modules/bootstrap-grid/templates'));
开发者ID:contao-bootstrap,项目名称:grid-editor,代码行数:9,代码来源:autoload.php

示例11:

<?php

/**
 * Isotope eCommerce for Contao Open Source CMS
 *
 * Copyright (C) 2009-2014 terminal42 gmbh & Isotope eCommerce Workgroup
 *
 * @package    Isotope
 * @link       http://isotopeecommerce.org
 * @license    http://opensource.org/licenses/lgpl-3.0.html
 */
/**
 * Register PSR-0 namespace
 */
NamespaceClassLoader::add('Isotope', 'system/modules/isotope_reports/library');
/**
 * Register the templates
 */
TemplateLoader::addFiles(array('be_iso_reports' => 'system/modules/isotope_reports/templates', 'iso_report_default' => 'system/modules/isotope_reports/templates', 'iso_report_sales_total' => 'system/modules/isotope_reports/templates', 'iso_report_members_guests' => 'system/modules/isotope_reports/templates'));
开发者ID:error08,项目名称:core,代码行数:19,代码来源:autoload.php

示例12:

<?php

/**
 * Contao Open Source CMS
 *
 * Copyright (c) 2005-2014 Leo Feyer
 *
 * @package SyncCto
 * @link    https://contao.org
 * @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL
 */
/**
 * Register the classes
 */
ClassLoader::addClasses(array('SyncCtoTableBackupFile' => 'system/modules/syncCto/SyncCtoTableBackupFile.php', 'GeneralDataSyncCto' => 'system/modules/syncCto/GeneralDataSyncCto.php', 'SyncCtoFilterIteratorFolder' => 'system/modules/syncCto/SyncCtoFilterIteratorFolder.php', 'SyncCtoUpdater' => 'system/modules/syncCto/SyncCtoUpdater.php', 'SyncCtoRunOnceEr' => 'system/modules/syncCto/SyncCtoRunOnceEr.php', 'SyncCtoSubscriber' => 'system/modules/syncCto/SyncCtoSubscriber.php', 'InterfaceSyncCtoStep' => 'system/modules/syncCto/InterfaceSyncCtoStep.php', 'SyncCtoTableSettings' => 'system/modules/syncCto/SyncCtoTableSettings.php', 'SyncCtoPopupFiles' => 'system/modules/syncCto/SyncCtoPopupFiles.php', 'SyncCtoModuleCheck' => 'system/modules/syncCto/SyncCtoModuleCheck.php', 'SyncCtoEnum' => 'system/modules/syncCto/SyncCtoEnum.php', 'SyncCtoCommunicationClient' => 'system/modules/syncCto/SyncCtoCommunicationClient.php', 'SyncCtoFilterIteratorBase' => 'system/modules/syncCto/SyncCtoFilterIteratorBase.php', 'StepPool' => 'system/modules/syncCto/StepPool.php', 'SyncCtoHelper' => 'system/modules/syncCto/SyncCtoHelper.php', 'SyncCtoModuleClient' => 'system/modules/syncCto/SyncCtoModuleClient.php', 'SyncCtoStats' => 'system/modules/syncCto/SyncCtoStats.php', 'SyncCtoDatabase' => 'system/modules/syncCto/SyncCtoDatabase.php', 'SyncCtoTableSyncFrom' => 'system/modules/syncCto/SyncCtoTableSyncFrom.php', 'SyncCtoTableBackupDatabase' => 'system/modules/syncCto/SyncCtoTableBackupDatabase.php', 'SyncCtoFilterIteratorFiles' => 'system/modules/syncCto/SyncCtoFilterIteratorFiles.php', 'SyncCtoModuleBackup' => 'system/modules/syncCto/SyncCtoModuleBackup.php', 'SyncCtoAjax' => 'system/modules/syncCto/SyncCtoAjax.php', 'SyncCtoTableBase' => 'system/modules/syncCto/SyncCtoTableBase.php', 'SyncCtoFiles' => 'system/modules/syncCto/SyncCtoFiles.php', 'SyncCtoRPCFunctions' => 'system/modules/syncCto/SyncCtoRPCFunctions.php', 'SyncCtoPopupDB' => 'system/modules/syncCto/SyncCtoPopupDB.php', 'SyncCtoDatabaseUpdater' => 'system/modules/syncCto/SyncCtoDatabaseUpdater.php', 'SyncCtoTableSyncTo' => 'system/modules/syncCto/SyncCtoTableSyncTo.php', 'ContentData' => 'system/modules/syncCto/ContentData.php', 'SyncCtoContaoAutomator' => 'system/modules/syncCto/SyncCtoContaoAutomator.php', 'SyncCto\\Sync\\FileList\\Base' => 'system/modules/syncCto/src/SyncCto/FileList/Base.php', 'SyncCto\\Sync\\FileList\\FilterIterator\\Base' => 'system/modules/syncCto/src/SyncCto/FileList/FilterIterator/Base.php'));
/**
 * Register the templates
 */
TemplateLoader::addFiles(array('be_syncCto_steps' => 'system/modules/syncCto/templates', 'be_syncCto_check' => 'system/modules/syncCto/templates', 'be_syncCto_attention' => 'system/modules/syncCto/templates', 'be_syncCto_error' => 'system/modules/syncCto/templates', 'be_syncCto_smallCheck' => 'system/modules/syncCto/templates', 'be_syncCto_popup' => 'system/modules/syncCto/templates', 'be_syncCto_backup' => 'system/modules/syncCto/templates', 'be_syncCto_form' => 'system/modules/syncCto/templates', 'be_syncCto_database' => 'system/modules/syncCto/templates', 'be_syncCto_files' => 'system/modules/syncCto/templates', 'be_syncCto_legend' => 'system/modules/syncCto/templates'));
开发者ID:baumannsven,项目名称:syncCto,代码行数:19,代码来源:autoload.php

示例13:

<?php

/**
 * Contao Open Source CMS
 *
 * @copyright  inspiredminds.at 2014
 * @author     Fritz Michael Gschwantner <fmg@inspiredminds.at>
 * @package    magnific_popup
 * @license    GNU GPL v2.0
 */
/**
 * Register the templates
 */
TemplateLoader::addFiles(array('j_magnific_popup' => 'system/modules/magnific_popup/templates'));
开发者ID:fritzmg,项目名称:contao-magnific-popup,代码行数:14,代码来源:autoload.php

示例14:

<?php

/**
 * Contao Open Source CMS
 *
 * Copyright (c) 2005-2014 Leo Feyer
 *
 * @package PHPInfo
 * @link    https://contao.org
 * @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL
 */
/**
 * Register the namespaces
 */
ClassLoader::addNamespaces(array('PHPInfo'));
/**
 * Register the classes
 */
ClassLoader::addClasses(array('PHPInfo\\PHPInfo' => 'system/modules/PHPInfo/classes/PHPInfo.php'));
/**
 * Register the templates
 */
TemplateLoader::addFiles(array('be_PHPInfo' => 'system/modules/PHPInfo/templates'));
开发者ID:friends-of-contao,项目名称:contao-php-info,代码行数:23,代码来源:autoload.php

示例15:

<?php

/**
 * Contao Open Source CMS
 * 
 * Copyright (C) 2005-2015 Leo Feyer
 * 
 * @package   mmenu
 * @author    Dirk Klemmt
 * @license   MIT/GPL
 * @copyright Dirk Klemmt 2013-2015
 */
/**
 * Register the namespaces
 */
ClassLoader::addNamespaces(array('Dirch'));
/**
 * Register the classes
 */
ClassLoader::addClasses(array('Dirch\\mmenu\\Mmenu' => 'system/modules/dk_mmenu/classes/Mmenu.php', 'Dirch\\mmenu\\ModuleMmenu' => 'system/modules/dk_mmenu/modules/ModuleMmenu.php', 'Dirch\\mmenu\\ModuleCustomMmenu' => 'system/modules/dk_mmenu/modules/ModuleCustomMmenu.php', 'Dirch\\mmenu\\ModuleMmenuArticle' => 'system/modules/dk_mmenu/modules/ModuleMmenuArticle.php'));
/**
 * Register the templates
 */
TemplateLoader::addFiles(array('mod_mmenu' => 'system/modules/dk_mmenu/templates/modules', 'js_mmenu' => 'system/modules/dk_mmenu/templates/jquery'));
开发者ID:dklemmt,项目名称:contao_dk_mmenu,代码行数:24,代码来源:autoload.php


注:本文中的TemplateLoader::addFiles方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。