-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBootstrap.php
More file actions
29 lines (29 loc) · 1.14 KB
/
Copy pathBootstrap.php
File metadata and controls
29 lines (29 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2026 WebTigers. Tiger™ and WebTigers™ are trademarks of WebTigers.
/**
* TigerRoundtable module bootstrap. The resource autoloader (from Zend_Application_Module_Bootstrap)
* loads Roundtable_Service_* / Roundtable_Model_* by convention; the controller loads via the
* registered module dir; configs/acl.ini + languages/ are picked up by the core globs.
*
* Reuses the platform's Tiger_Agent_Provider_* LLM client — it's a first-party module built ON Tiger,
* not a fork of the agent's UX.
*/
class Roundtable_Bootstrap extends Zend_Application_Module_Bootstrap
{
/** A sidebar entry (manager+, ACL-filtered) so the full-screen app is discoverable. */
protected function _initRoundtableNav()
{
if (!class_exists('Tiger_Admin_Nav')) {
return;
}
Tiger_Admin_Nav::register([
'key' => 'roundtable',
'label' => 'Roundtable',
'icon' => 'fa-comments',
'href' => '/roundtable',
'resource' => 'Roundtable_IndexController',
'order' => 15,
]);
}
}