Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1351175
shipping_costs_config.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Jan 21, 9:31 AM
Size
2 KB
Mime Type
text/x-php
Expires
Fri, Jan 23, 9:31 AM (7 m, 47 s)
Engine
blob
Format
Raw Data
Handle
872485
Attached To
rMINC Modules.In-Commerce
shipping_costs_config.php
View Options
<?php
$config
=
Array
(
'Prefix'
=>
'sc'
,
'ItemClass'
=>
Array
(
'class'
=>
'kDBItem'
,
'file'
=>
''
,
'build_event'
=>
'OnItemBuild'
),
'ListClass'
=>
Array
(
'class'
=>
'kDBList'
,
'file'
=>
''
,
'build_event'
=>
'OnListBuild'
),
'EventHandlerClass'
=>
Array
(
'class'
=>
'ShippingCostsEventHandler'
,
'file'
=>
'shipping_costs_event_handler.php'
,
'build_event'
=>
'OnBuild'
),
'TagProcessorClass'
=>
Array
(
'class'
=>
'kDBTagProcessor'
,
'file'
=>
''
,
'build_event'
=>
'OnBuild'
),
'AutoLoad'
=>
true
,
'Hooks'
=>
Array
(
Array
(
'Mode'
=>
hAFTER
,
'Conditional'
=>
true
,
'HookToPrefix'
=>
's'
,
'HookToSpecial'
=>
''
,
'HookToEvent'
=>
Array
(
'OnPreSaveAndGoToTab'
,
'OnPreSaveAndGo'
,
'OnPreSave'
,
'OnFlip'
,
'OnApplyModifier'
),
'DoPrefix'
=>
''
,
'DoSpecial'
=>
''
,
'DoEvent'
=>
'OnCreate'
,
),
),
'QueryString'
=>
Array
(
1
=>
'id'
,
2
=>
'page'
,
3
=>
'event'
,
),
'IDField'
=>
'ShippingCostId'
,
'TableName'
=>
TABLE_PREFIX
.
'ShippingCosts'
,
'ForeignKey'
=>
Array
(
'z'
=>
'ZoneID'
,
'br'
=>
'BracketId'
),
'ParentTableKey'
=>
Array
(
'z'
=>
'ZoneID'
,
'br'
=>
'BracketId'
),
'ParentPrefix'
=>
'z'
,
'AutoDelete'
=>
true
,
'AutoClone'
=>
true
,
'ListSQLs'
=>
Array
(
''
=>
'SELECT * FROM %s'
),
// key - special, value - list select sql
'ItemSQLs'
=>
Array
(
''
=>
'SELECT * FROM %s'
),
'Fields'
=>
Array
(
'ShippingCostId'
=>
Array
(
'type'
=>
'int'
,
'not_null'
=>
1
,
'default'
=>
0
),
'ZoneID'
=>
Array
(
'type'
=>
'int'
,
'not_null'
=>
true
,
'default'
=>
0
),
'BracketId'
=>
Array
(
'type'
=>
'int'
,
'not_null'
=>
true
,
'default'
=>
0
),
'Flat'
=>
Array
(
'type'
=>
'double'
,
'formatter'
=>
'kFormatter'
,
'default'
=>
0
),
'PerUnit'
=>
Array
(
'type'
=>
'double'
,
'formatter'
=>
'kFormatter'
,
'default'
=>
0
),
),
/*'Grids' => Array(
'Default' => Array(
'Icons' => Array('default'=>'icon16_custom.gif'),
'Fields' => Array(
'Name' => Array( 'width'=>150, 'title'=>'la_col_Title', 'data_block'=>'grid_checkbox_td' ),
'CODallowed' => Array( 'width'=>100, 'title'=>'la_col_CODallowed' )
),
),
),*/
);
?>
Event Timeline
Log In to Comment