Page MenuHomeIn-Portal Phabricator

translator_config.php
No OneTemporary

File Metadata

Created
Fri, Oct 10, 12:25 AM

translator_config.php

<?php
/**
* @version $Id: translator_config.php 16388 2016-08-11 08:16:43Z alex $
* @package In-Portal
* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
* @license GNU/GPL
* In-Portal is Open Source software.
* This means that this software may have been modified pursuant
* the GNU General Public License, and as distributed it includes
* or is derivative of works licensed under the GNU General Public License
* or other free or open source software licenses.
* See http://www.in-portal.org/license for copyright notices and details.
*/
defined('FULL_PATH') or die('restricted access!');
$config = Array (
'Prefix' => 'trans',
'ItemClass' => Array ('class' => 'kDBItem', 'file' => '', 'build_event' => 'OnItemBuild'),
'ListClass' => Array ('class' => 'kDBList', 'file' => '', 'build_event' => 'OnListBuild'),
'EventHandlerClass' => Array ('class' => 'TranslatorEventHandler', 'file' => 'translator_event_handler.php', 'build_event' => 'OnBuild'),
'TagProcessorClass' => Array ('class' => 'TranslatorTagProcessor', 'file' => 'translator_tp.php', 'build_event' => 'OnBuild'),
'AutoLoad' => false,
'QueryString' => Array (
1 => 'prefix',
2 => 'field',
3 => 'multi_line',
4 => 'event',
),
'IDField' => 'N/A',
'TitlePresets' => Array (
'trans_edit' => Array (
'prefixes' => Array ('trans'), 'format' => '!la_title_EditingTranslation!',
'toolbar_buttons' => Array ('select', 'cancel'),
),
),
'ItemSQLs' => Array ('' => ''),
'Fields' => Array (),
'VirtualFields' => Array (
'Original' => Array (),
'Language' => Array (),
'SwitchLanguage' => Array ('formatter' => 'kOptionsFormatter', 'options_sql' => 'SELECT %s FROM '.TABLE_PREFIX.'Languages', 'option_key_field' => 'LanguageId', 'option_title_field' => 'PackName'),
'Translation' => Array ('type' => 'string', 'formatter' => 'kFormatter', 'using_fck' => 1, 'default' => ''),
),
);

Event Timeline