當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。