Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F2114141
sections_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, Nov 18, 3:51 PM
Size
1 KB
Mime Type
text/x-php
Expires
Fri, Nov 20, 3:51 PM (1 h, 30 m)
Engine
blob
Format
Raw Data
Handle
994302
Attached To
rMCUS Modules.Custom
sections_config.php
View Options
<?php
// INSERT INTO `inp_Modules` VALUES ('Custom', 'custom/', 'custom-sections', '4.0.1', 1, 3, 'custom/', 0, 0);
$config
=
Array
(
'Prefix'
=>
'custom-sections'
,
'ConfigPriority'
=>
2
,
'EventHandlerClass'
=>
Array
(
'class'
=>
'CustomEventHandler'
,
'file'
=>
'custom_eh.php'
,
'build_event'
=>
'OnBuild'
),
// for OnAfterConfigRead event
'TagProcessorClass'
=>
Array
(
'class'
=>
'kDBTagProcessor'
,
'file'
=>
''
,
'build_event'
=>
'OnBuild'
),
// for tree drawing
'RegisterClasses'
=>
Array
(
// Array ('pseudo' => 'c_TagProcessor', 'class' => 'ECategoriesTagProcessor', 'file' => 'categories_tp.php'),
// Array ('pseudo' => 'u_EventHandler', 'class' => 'EUsersEventHandler', 'file' => 'users_event_handler.php'),
),
// 'ReplacementTemplates' => Array (
// 'incs/image_blocks' => 'in-custom/incs/image_blocks',
// 'in-news/articles/articles_edit' => 'in-custom/articles/articles_edit',
// 'in-portal/categories/categories_edit' => 'custom/categories/categories_edit',
// ),
'Hooks'
=>
Array
(
/*Array (
'Mode' => hAFTER,
'Conditional' => false,
'HookToPrefix' => 'c',
'HookToSpecial' => '*',
'HookToEvent' => Array('OnAfterConfigRead'),
'DoPrefix' => '',
'DoSpecial' => '*',
'DoEvent' => 'OnModifyCategoriesConfig',
),*/
),
'PermSection'
=>
Array
(
'main'
=>
'custom:items_list'
,),
'Sections'
=>
Array
(
'custom'
=>
Array
(
'parent'
=>
'in-portal:root'
,
'icon'
=>
'custom'
,
'label'
=>
'la_title_In-Custom'
,
'url'
=>
Array
(
't'
=>
'sections_list'
,
'pass_section'
=>
true
,
'pass'
=>
'm'
),
'permissions'
=>
Array
(
'view'
),
'priority'
=>
3.9
,
'type'
=>
stTREE
,
),
),
);
?>
Event Timeline
Log In to Comment