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


PHP ExtensionManagementUtility::addService方法代码示例

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


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

示例1: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$TYPO3_CONF_VARS['FE']['eID_include']['cicregister-getUsername'] = 'EXT:cicregister/Scripts/GetUsername.php';
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('CIC.Cicregister', 'Create', array('FrontendUser' => 'new,create,edit,update,createConfirmation,createConfirmationMustValidate,validateUser', 'FrontendUserJSON' => 'create,edit,update,createConfirmation,createConfirmationMustValidate,validateUser'), array('FrontendUser' => 'new,create,edit,update,createConfirmation,createConfirmationMustValidate,validateUser', 'FrontendUserJSON' => 'create,edit,update,createConfirmation,createConfirmationMustValidate,validateUser'));
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('CIC.Cicregister', 'Login', array('Login' => 'dispatch, login, forgotPassword, handleForgotPassword, resetPassword, handleResetPassword'), array('Login' => 'dispatch, login, logout, forgotPassword, handleForgotPassword, resetPassword, handleResetPassword'));
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('CIC.Cicregister', 'Enroll', array('FrontendUser' => 'enroll,saveEnrollment'), array('FrontendUser' => 'enroll,saveEnrollment'));
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('CIC.Cicregister', 'Button', array('FrontendUser' => 'button,create'), array('FrontendUser' => ''));
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('CIC.Cicregister', 'ValidateEmail', array('FrontendUser' => 'sendValidationEmail,validateUser'), array('FrontendUser' => 'sendValidationEmail,validateUser'));
require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Service/Authentication.php';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'CIC\\Cicregister\\Service\\Authentication', array('title' => 'Cicregister Authentication', 'description' => 'Frontend authentication service', 'subtype' => 'getUserFE,authUserFE,getGroupsFE', 'available' => TRUE, 'priority' => 100, 'quality' => 100, 'os' => '', 'exec' => '', 'classFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Service/Authentication.php', 'className' => 'CIC\\Cicregister\\Service\\Authentication'));
开发者ID:busynoggin,项目名称:cicregister,代码行数:13,代码来源:ext_localconf.php

示例2: die

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['TYPO3\\CMS\\Reports\\Task\\SystemStatusUpdateTask'] = array('extension' => $_EXTKEY, 'title' => 'LLL:EXT:' . $_EXTKEY . '/reports/locallang.xlf:status_updateTaskTitle', 'description' => 'LLL:EXT:' . $_EXTKEY . '/reports/locallang.xlf:status_updateTaskDescription', 'additionalFields' => 'TYPO3\\CMS\\Reports\\Task\\SystemStatusUpdateTaskNotificationEmailField');
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['displayWarningMessages']['tx_reports_WarningMessagePostProcessor'] = 'TYPO3\\CMS\\Reports\\Report\\Status\\WarningMessagePostProcessor';
/**
 * Extension: rsaauth
 * File: C:/xampp/htdocs/typo3_6.2.14/typo3/sysext/rsaauth/ext_localconf.php
 */
$_EXTKEY = 'rsaauth';
$_EXTCONF = $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$_EXTKEY];
if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
// Add the service
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'TYPO3\\CMS\\Rsaauth\\RsaAuthService', array('title' => 'RSA authentication', 'description' => 'Authenticates users by using encrypted passwords', 'subtype' => 'processLoginDataBE,processLoginDataFE', 'available' => TRUE, 'priority' => 60, 'quality' => 60, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Rsaauth\\RsaAuthService'));
// Add a hook to the BE login form
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginFormHook'][$_EXTKEY] = 'TYPO3\\CMS\\Rsaauth\\Hook\\LoginFormHook->getLoginFormTag';
// Add hook for user setup module
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/setup/mod/index.php']['setupScriptHook'][$_EXTKEY] = 'TYPO3\\CMS\\Rsaauth\\Hook\\UserSetupHook->getLoginScripts';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/setup/mod/index.php']['modifyUserDataBeforeSave'][$_EXTKEY] = 'TYPO3\\CMS\\Rsaauth\\Hook\\UserSetupHook->decryptPassword';
// Add a hook to the FE login form (felogin system extension)
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['loginFormOnSubmitFuncs'][$_EXTKEY] = 'TYPO3\\CMS\\Rsaauth\\Hook\\FrontendLoginHook->loginFormHook';
// Add a hook to show Backend warnings
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['displayWarningMessages'][$_EXTKEY] = 'TYPO3\\CMS\\Rsaauth\\BackendWarnings';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler('BackendLogin::getRsaPublicKey', 'TYPO3\\CMS\\Rsaauth\\Backend\\AjaxLoginHandler->getRsaPublicKey', FALSE);
// eID for FrontendLoginRsaPublicKey
$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['FrontendLoginRsaPublicKey'] = 'EXT:rsaauth/resources/Private/Php/FrontendLoginRsaPublicKey.php';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/backend.php']['constructPostProcess'][] = 'TYPO3\\CMS\\Rsaauth\\Hook\\BackendHookForAjaxLogin->addRsaJsLibraries';
/**
 * Extension: rtehtmlarea
开发者ID:KarlDennisMatthaei1923,项目名称:PierraaDesign,代码行数:31,代码来源:ext_localconf_c3d3388883e931b9576f8361e4bd7a021fa86def.php

示例3: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'Snowflake\\Sfpipauth\\Service\\IpAuthenticationService', array('title' => 'IP-Auth FE-User', 'description' => 'Authenticates FE-Users/groups via IP', 'subtype' => 'authUserFE,getUserFE', 'available' => TRUE, 'priority' => 75, 'quality' => 75, 'os' => '', 'exec' => '', 'className' => 'Snowflake\\Sfpipauth\\Service\\IpAuthenticationService'));
// Extension Configuration
$extensionConfiguration = unserialize($_EXTCONF);
$GLOBALS['TYPO3_CONF_VARS']['SVCONF']['auth']['setup']['FE_fetchUserIfNoSession'] = isset($extensionConfiguration['fetchUserIfNoSession']) ? $extensionConfiguration['fetchUserIfNoSession'] : 1;
// User TS Config
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig('options.saveDocNew.tx_sfpipauth_ipconfiguration=1');
开发者ID:senders,项目名称:sfpipauth,代码行数:11,代码来源:ext_localconf.php

示例4: defined

<?php

defined('TYPO3_MODE') or die;
// Register base authentication service
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService('sv', 'auth', \TYPO3\CMS\Sv\AuthenticationService::class, array('title' => 'User authentication', 'description' => 'Authentication with username/password.', 'subtype' => 'getUserBE,authUserBE,getUserFE,authUserFE,getGroupsFE,processLoginDataBE,processLoginDataFE', 'available' => true, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => \TYPO3\CMS\Sv\AuthenticationService::class));
开发者ID:rickymathew,项目名称:TYPO3.CMS,代码行数:5,代码来源:ext_localconf.php

示例5: array

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'cal_view', 'tx_default_searchlocation', array('title' => 'Default Search View', 'description' => '', 'subtype' => 'search', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Cal\\View\\SearchViews'));
/* Default search service */
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'cal_view', 'tx_default_searchorganizer', array('title' => 'Default Search View', 'description' => '', 'subtype' => 'search', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Cal\\View\\SearchViews'));
/* Default notification service */
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'cal_view', 'tx_default_notification', array('title' => 'Default notification service', 'description' => '', 'subtype' => 'notify', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Cal\\View\\NotificationView'));
/* Default reminder service */
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'cal_view', 'tx_default_reminder', array('title' => 'Default reminder service', 'description' => '', 'subtype' => 'remind', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Cal\\View\\ReminderView'));
/* Default rights service */
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'cal_rights_model', 'tx_cal_rights', array('title' => 'Default rights service', 'description' => '', 'subtype' => 'rights', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Cal\\Service\\RightsService'));
// Example for a module
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'TEST', 'tx_cal_module', array('title' => 'Test module', 'description' => '', 'subtype' => 'module', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Cal\\View\\Module\\Example'));
// Example for a module
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'LOCATIONLOADER', 'tx_cal_module', array('title' => 'Location loader module', 'description' => '', 'subtype' => 'module', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Cal\\View\\Module\\LocationLoader'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'ORGANIZERLOADER', 'tx_cal_module', array('title' => 'Organizer loader module', 'description' => '', 'subtype' => 'module', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Cal\\View\\Module\\OrganizerLoader'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'cal_view', 'tx_cal_subscription', array('title' => 'Subscription Manager', 'description' => '', 'subtype' => 'subscription', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Cal\\View\\SubscriptionManagerView'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'cal_view', 'tx_cal_meeting', array('title' => 'Meeting Manager', 'description' => '', 'subtype' => 'meeting', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Cal\\View\\MeetingManagerView'));
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['tx_cal'] = 'TYPO3\\CMS\\Cal\\Hooks\\TceMainProcessdatamap';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass']['tx_cal'] = 'TYPO3\\CMS\\Cal\\Hooks\\TceMainProcesscmdmap';
if (\TYPO3\CMS\Core\Utility\VersionNumberUtility::convertVersionNumberToInteger(TYPO3_version) >= 7005000) {
    \TYPO3\CMS\Cal\Backend\Form\FormDateDataProvider::register();
} else {
    if (\TYPO3\CMS\Core\Utility\VersionNumberUtility::convertVersionNumberToInteger(TYPO3_version) >= 7001000) {
        \TYPO3\CMS\Cal\Slot\FormDataPreprocessorSlot::register();
    } else {
        $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tceforms.php']['getMainFieldsClass']['tx_cal'] = 'TYPO3\\CMS\\Cal\\Hooks\\TceFormsGetmainfields';
    }
}
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['typolinkLinkHandler']['calendar'] = 'TYPO3\\CMS\\Cal\\Hooks\\EventLinkHandler';
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['tx_wecmap_pi3']['markerHook']['cal'] = 'TYPO3\\CMS\\Cal\\Hooks\\WecMap:&WecMap->getMarkerContent';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tce']['formevals']['tx_cal_dateeval'] = 'TYPO3\\CMS\\Cal\\Hooks\\DateEval';
// $GLOBALS ['TYPO3_CONF_VARS'] ['EXTCONF'] ['felogin'] ['loginFormOnSubmitFuncs'] [] = 'TYPO3\\CMS\\Cal\\Hooks\\LogoffPostProcessing:LogoffPostProcessing->clearSessionApiAfterLogoff';
开发者ID:ulrikkold,项目名称:cal,代码行数:31,代码来源:ext_localconf.php

示例6: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', '\\Portrino\\PxIpauth\\Service\\IpAuthenticationService', array('title' => 'Automatic BE login by IP', 'description' => 'Login a backend user automatically if one is found with the right IP configured.', 'subtype' => 'getUserBE, authUserBE', 'available' => TRUE, 'priority' => 60, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => '\\Portrino\\PxIpauth\\Service\\IpAuthenticationService'));
开发者ID:portrino,项目名称:px_ipauth,代码行数:6,代码来源:ext_localconf.php

示例7: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    if (isset($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers']) == false) {
        $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'] = array();
    }
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] = 'Aoe\\FeloginBruteforceProtection\\Command\\CleanUpCommandController';
}
if (TYPO3_MODE == 'FE') {
    // postUserLookUp hookC
    $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['postUserLookUp'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/Classes/Hooks/UserAuth/PostUserLookUp.php:' . '\\Aoe\\FeloginBruteforceProtection\\Hooks\\UserAuth\\PostUserLookUp->handlePostUserLookUp';
    // postProcContent hook for fe_login
    #$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['postProcContent'][] =
    #    'EXT:' . $_EXTKEY .
    # '/Classes/Hooks/FeLogin/PostProcContent.php:Aoe\\FeloginBruteforceProtection\\Hook\\FeLogin\\PostProcContent->handlePostProcContent';
    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', '\\Aoe\\FeloginBruteforceProtection\\Service\\AuthUser', array('title' => 'brute force protection', 'description' => 'brute force protection for system extension felogin', 'subtype' => 'authUserFE,getUserFE', 'available' => true, 'priority' => 100, 'quality' => 100, 'os' => '', 'exec' => '', 'className' => '\\Aoe\\FeloginBruteforceProtection\\Service\\AuthUser'));
}
开发者ID:portrino,项目名称:felogin_bruteforce_protection,代码行数:20,代码来源:ext_localconf.php

示例8: registerNotificationExitPoint

 /**
  * @param string $extKey
  * @param string $path
  * @param string $key
  * @param string $title
  * @param string $description
  */
 public static function registerNotificationExitPoint($extKey, $path, $key, $title, $description = '')
 {
     if (!$GLOBALS['T3_SERVICES']['caretaker_exitpoint'][$key]) {
         // Register test service
         \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService('caretaker', 'caretaker_exitpoint', $key, array('title' => $title, 'description' => $description, 'subtype' => $key, 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'classFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($extKey) . $path . '/class.' . $key . 'ExitPoint.php', 'className' => $key . 'ExitPoint'));
         self::$tcaExitPointServiceItems[] = array($title, $key);
         self::$tcaExitPointConfigDs[$key] = 'FILE:EXT:' . $extKey . '/' . $path . '/' . 'ds.' . $key . 'ExitPoint.xml';
     }
 }
开发者ID:sfsmfc,项目名称:caretaker,代码行数:16,代码来源:class.tx_caretaker_ServiceHelper.php

示例9: array

<?php

$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['cliKeys']['crawler'] = array('EXT:crawler/cli/crawler_cli.php', '_CLI_crawler');
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['cliKeys']['crawler_im'] = array('EXT:crawler/cli/crawler_im.php', '_CLI_crawler');
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['cliKeys']['crawler_flush'] = array('EXT:crawler/cli/crawler_flush.php', '_CLI_crawler');
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['cliKeys']['crawler_multiprocess'] = array('EXT:crawler/cli/crawler_multiprocess.php', '_CLI_crawler');
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['connectToDB']['tx_crawler'] = 'EXT:crawler/hooks/class.tx_crawler_hooks_tsfe.php:&tx_crawler_hooks_tsfe->fe_init';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['initFEuser']['tx_crawler'] = 'EXT:crawler/hooks/class.tx_crawler_hooks_tsfe.php:&tx_crawler_hooks_tsfe->fe_feuserInit';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['isOutputting']['tx_crawler'] = 'EXT:crawler/hooks/class.tx_crawler_hooks_tsfe.php:&tx_crawler_hooks_tsfe->fe_isOutputting';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['hook_eofe']['tx_crawler'] = 'EXT:crawler/hooks/class.tx_crawler_hooks_tsfe.php:&tx_crawler_hooks_tsfe->fe_eofe';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['nc_staticfilecache/class.tx_ncstaticfilecache.php']['createFile_initializeVariables']['tx_crawler'] = 'EXT:' . $_EXTKEY . '/hooks/class.tx_crawler_hooks_staticFileCacheCreateUri.php:tx_crawler_hooks_staticFileCacheCreateUri->initialize';
$GLOBALS['TYPO3_CONF_VARS']['SVCONF']['auth']['setup']['BE_alwaysFetchUser'] = true;
// Activating cli_hooks
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['crawler']['cli_hooks'][] = 'tx_crawler_hooks_processCleanUp';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'tx_crawler_auth', array('title' => 'Login for wsPreview', 'description' => '', 'subtype' => 'getUserBE,authUserBE', 'available' => TRUE, 'priority' => 80, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'tx_crawler_auth'));
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['tx_crawler_scheduler_im'] = array('extension' => $_EXTKEY, 'title' => 'LLL:EXT:' . $_EXTKEY . '/locallang_db.xml:crawler_im.name', 'description' => 'LLL:EXT:' . $_EXTKEY . '/locallang_db.xml:crawler_im.description', 'additionalFields' => 'tx_crawler_scheduler_imAdditionalFieldProvider');
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['tx_crawler_scheduler_crawl'] = array('extension' => $_EXTKEY, 'title' => 'LLL:EXT:' . $_EXTKEY . '/locallang_db.xml:crawler_crawl.name', 'description' => 'LLL:EXT:' . $_EXTKEY . '/locallang_db.xml:crawler_crawl.description', 'additionalFields' => 'tx_crawler_scheduler_crawlAdditionalFieldProvider');
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['tx_crawler_scheduler_crawlMultiProcess'] = array('extension' => $_EXTKEY, 'title' => 'LLL:EXT:' . $_EXTKEY . '/locallang_db.xml:crawler_crawlMultiProcess.name', 'description' => 'LLL:EXT:' . $_EXTKEY . '/locallang_db.xml:crawler_crawl.description', 'additionalFields' => 'tx_crawler_scheduler_crawlMultiProcessAdditionalFieldProvider');
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['tx_crawler_scheduler_flush'] = array('extension' => $_EXTKEY, 'title' => 'LLL:EXT:' . $_EXTKEY . '/locallang_db.xml:crawler_flush.name', 'description' => 'LLL:EXT:' . $_EXTKEY . '/locallang_db.xml:crawler_flush.description', 'additionalFields' => 'tx_crawler_scheduler_flushAdditionalFieldProvider');
开发者ID:christianfutterlieb,项目名称:crawler,代码行数:19,代码来源:ext_localconf.php

示例10: die

 *  The GNU General Public License can be found at
 *  http://www.gnu.org/copyleft/gpl.html.
 *
 *  This script is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  This copyright notice MUST APPEAR in all copies of the script!
 ***************************************************************/
if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$GLOBALS['TYPO3_CONF_VARS']['EXT']['extParams'][$_EXTKEY] = unserialize($_EXTCONF);
// Service registration
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'index', 'tx_twlucenesearch_sv', array('title' => 'Lucene indexer manager', 'description' => 'Service for building and querying a lucene search index', 'subtype' => 'lucene', 'available' => true, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'classFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Service/Lucene.php', 'className' => 'Tollwerk\\TwLucenesearch\\Service\\Lucene'));
// Search plugin configuration
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('Tollwerk.' . $_EXTKEY, 'Lucene', array('Lucene' => 'search,results,notfound'), array('Lucene' => 'results,notfound'));
// Autocomplete plugin configuration
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('Tollwerk.' . $_EXTKEY, 'LuceneAutocomplete', array('Lucene' => 'autocomplete'), array('Lucene' => 'autocomplete'));
// Adding the "Classes" directory to the include path
set_include_path(implode(PATH_SEPARATOR, array_unique(array_merge(array(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY, 'Classes')), explode(PATH_SEPARATOR, get_include_path())))));
// Indexing hook registration
$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['contentPostProc-output'][] = 'EXT:tw_lucenesearch/Classes/Utility/Indexer.php:&Tollwerk\\TwLucenesearch\\Utility\\Indexer->intPages';
$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['contentPostProc-all'][] = 'EXT:tw_lucenesearch/Classes/Utility/Indexer.php:&Tollwerk\\TwLucenesearch\\Utility\\Indexer->noIntPages';
// Rewriting hook provision
if (!array_key_exists('tw_lucenesearch', $GLOBALS['TYPO3_CONF_VARS']['EXTCONF'])) {
    $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['tw_lucenesearch'] = array('search-rewrite-hooks' => array(), 'term-rewrite-hooks' => array());
}
if (!array_key_exists('search-rewrite-hooks', $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['tw_lucenesearch']) || !is_array($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['tw_lucenesearch']['search-rewrite-hooks'])) {
    $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['tw_lucenesearch']['search-rewrite-hooks'] = array();
开发者ID:GerDner,项目名称:TYPO3-ext-tw_lucenesearch,代码行数:31,代码来源:ext_localconf.php

示例11: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (!is_array($TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['openweathermap_php_api_service'])) {
    $TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['openweathermap_php_api_service'] = array();
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'openweathermap_php_api', 'tx_openweathermap_php_api_service', array('title' => 'OpenWeatherMap PHP Api for TYPO3', 'description' => '', 'subtype' => '', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'classFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Service/OpenweathermapPhpApiService.php', 'className' => 'RauchF\\OpenweathermapPhpApiService\\Service\\OpenweathermapPhpApiService'));
$composerAutoloadFile = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Resources/Private/Vendor/autoload.php';
require_once $composerAutoloadFile;
开发者ID:RauchF,项目名称:OpenWeatherMap-PHP-Api-Service,代码行数:11,代码来源:ext_localconf.php

示例12: array

    $GLOBALS['TYPO3_CONF_VARS']['SVCONF']['auth']['setup']['FE_fetchUserIfNoSession'] = 1;
}
// Visually change the record icon for FE/BE users and groups
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_iconworks.php']['overrideIconOverlay'][] = 'EXT:' . $_EXTKEY . '/Classes/Hooks/DatabaseRecordListIconUtility.php:Causal\\IgLdapSsoAuth\\Hooks\\DatabaseRecordListIconUtility';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/class.db_list_extra.inc']['getTable'][] = 'EXT:' . $_EXTKEY . '/Classes/Hooks/DatabaseRecordListIconUtility.php:Causal\\IgLdapSsoAuth\\Hooks\\DatabaseRecordListIconUtility';
// Service configuration
$subTypesArr = array();
$subTypes = '';
if ($EXT_CONFIG['enableFELDAPAuthentication']) {
    $subTypesArr[] = 'getUserFE';
    $subTypesArr[] = 'authUserFE';
    $subTypesArr[] = 'getGroupsFE';
}
if ($EXT_CONFIG['enableBELDAPAuthentication']) {
    $subTypesArr[] = 'getUserBE';
    $subTypesArr[] = 'authUserBE';
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/setup/mod/index.php']['modifyUserDataBeforeSave'][] = 'EXT:' . $_EXTKEY . '/Classes/Hooks/SetupModuleController.php:Causal\\IgLdapSsoAuth\\Hooks\\SetupModuleController->preprocessData';
}
if (is_array($subTypesArr)) {
    $subTypesArr = array_unique($subTypesArr);
    $subTypes = implode(',', $subTypesArr);
}
// Register hook for \TYPO3\CMS\Core\DataHandling\DataHandler
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:' . $_EXTKEY . '/Classes/Hooks/DataHandler.php:Causal\\IgLdapSsoAuth\\Hooks\\DataHandler';
// Register the import users Scheduler task
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['Causal\\IgLdapSsoAuth\\Task\\ImportUsers'] = array('extension' => $_EXTKEY, 'title' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang.xlf:task.import_users.title', 'description' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang.xlf:task.import_users.description', 'additionalFields' => 'Causal\\IgLdapSsoAuth\\Task\\ImportUsersAdditionalFields');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'Causal\\IgLdapSsoAuth\\Service\\AuthenticationService', array('title' => 'Authentication service', 'description' => 'Authentication service for LDAP and SSO environment.', 'subtype' => $subTypes, 'available' => TRUE, 'priority' => 80, 'quality' => 80, 'os' => '', 'exec' => '', 'className' => 'Causal\\IgLdapSsoAuth\\Service\\AuthenticationService'));
// Register type converters
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerTypeConverter('Causal\\IgLdapSsoAuth\\Property\\TypeConverter\\ConfigurationConverter');
// User have save doc new button
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig('options.saveDocNew.tx_igldapssoauth_config=1');
开发者ID:woehrlag,项目名称:Intranet,代码行数:31,代码来源:ext_localconf.php

示例13: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'pdfgenerator', 'tx_pdf_generator', array('title' => 'PdfGenerator for TYPO3', 'description' => '', 'subtype' => '', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'classFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Service/PdfGenerator.php', 'className' => '\\Arrabiata\\PdfGenerator\\Service\\PdfGenerator'));
开发者ID:khanhdeux,项目名称:typo3test,代码行数:6,代码来源:ext_localconf.php

示例14: die

<?php

/***************************************************************
 *  Copyright notice
 *
 *  (c) 2013 Julian Kleinhans <julian.kleinhans@aijko.de>, aijko GmbH
 *
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
 *  free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  The GNU General Public License can be found at
 *  http://www.gnu.org/copyleft/gpl.html.
 *
 *  This script is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  This copyright notice MUST APPEAR in all copies of the script!
 ***************************************************************/
if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'Aijko\\SharepointAuth\\Service\\AuthenticationService', array('title' => 'Sharepoint authentication service', 'description' => 'Authenticates users from sharepoint', 'subtype' => 'authUserFE,getUserFE', 'available' => TRUE, 'priority' => 100, 'quality' => 100, 'os' => '', 'exec' => '', 'classFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Service/AuthenticationService.php', 'className' => 'Aijko\\SharepointAuth\\Service\\AuthenticationService'));
开发者ID:kj187,项目名称:sharepoint_auth,代码行数:29,代码来源:ext_localconf.php

示例15: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
// Register base authentication service
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'TYPO3\\CMS\\Sv\\AuthenticationService', array('title' => 'User authentication', 'description' => 'Authentication with username/password.', 'subtype' => 'getUserBE,authUserBE,getUserFE,authUserFE,getGroupsFE,processLoginDataBE,processLoginDataFE', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'classFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'class.tx_sv_auth.php', 'className' => 'TYPO3\\CMS\\Sv\\AuthenticationService'));
// Add hooks to the backend login form
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginFormHook'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/class.tx_sv_loginformhook.php:TYPO3\\CMS\\Sv\\LoginFormHook->getLoginFormTag';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginScriptHook'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/class.tx_sv_loginformhook.php:TYPO3\\CMS\\Sv\\LoginFormHook->getLoginScripts';
开发者ID:nicksergio,项目名称:TYPO3v4-Core,代码行数:10,代码来源:ext_localconf.php


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