Page MenuHomeIn-Portal Phabricator

brackets_config.php
No OneTemporary

File Metadata

Created
Sat, Sep 20, 5:23 PM

brackets_config.php

<?php
/**
* @version $Id: brackets_config.php 16385 2016-08-11 08:15:43Z alex $
* @package In-Commerce
* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
* @license Commercial License
* This software is protected by copyright law and international treaties.
* Unauthorized reproduction or unlicensed usage of the code of this program,
* or any portion of it may result in severe civil and criminal penalties,
* and will be prosecuted to the maximum extent possible under the law
* See http://www.in-portal.org/commercial-license for copyright notices and details.
*/
defined('FULL_PATH') or die('restricted access!');
$config = Array (
'Prefix' => 'br',
'ItemClass' => Array ('class' => 'kDBItem', 'file' => '', 'build_event' => 'OnItemBuild'),
'ListClass' => Array ('class' => 'kDBList', 'file' => '', 'build_event' => 'OnListBuild'),
'EventHandlerClass' => Array ('class' => 'BracketsEventHandler', 'file' => 'brackets_event_handler.php', 'build_event' => 'OnBuild'),
'TagProcessorClass' => Array ('class' => 'BracketsTagProcessor', 'file' => 'brackets_tag_processor.php', 'build_event' => 'OnBuild'),
'AutoLoad' => true,
'Hooks' => Array (
Array (
'Mode' => hBEFORE,
'Conditional' => true,
'HookToPrefix' => '#PARENT#',
'HookToSpecial' => '',
'HookToEvent' => Array ('OnPreSave'),
'DoPrefix' => '',
'DoSpecial' => '',
'DoEvent' => 'OnArrange',
),
),
'QueryString' => Array (
1 => 'id',
2 => 'Page',
3 => 'PerPage',
4 => 'event',
),
'IDField' => 'BracketId',
'TableName' => TABLE_PREFIX.'ShippingBrackets',
'ForeignKey' => 'ShippingTypeID',
'ParentTableKey' => 'ShippingID',
'ParentPrefix' => 's',
'AutoDelete' => true,
'AutoClone' => true,
'SubItems' => Array ('sc'),
'ListSQLs' => Array (
'' => ' SELECT *
FROM %s'
),
'Fields' => Array (
'BracketId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0,),
'ShippingTypeID' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0,),
'Start' => Array ('type' => 'double', 'formatter' => 'kFormatter', 'not_null' => true, 'default' => 0),
'End' => Array ('type' => 'double', 'formatter' => 'kFormatter', 'not_null' => true, 'default' => 0),
),
);

Event Timeline