...
ID | Define | Note |
---|---|---|
1 | $this->id = "your_app_id" | This is your app ID, it must be the same folder name stored your app. Space is not allowed. This ID can't change. |
2 | $this->alias = "your_app_alias" | This value is used for: admincp url, block name, component name, ajax name,... This value must be lower case and no space. If your app is simple, this value can be empty. |
3 | $this->name = "your app name" | The name of your app, it will display in manage app in admincp |
4 | $this->version = "your.app.version" | Version of your app. It has to follow version naming convention. |
5 | $this->icon = "your_app_icon" | Define Icon of your app. We support 3 ways to define your app icon:
|
6 | $this->admincp_route = "default admincp route" | Default page of your app in admincp |
7 | $this->admincp_menu = [] | Your app menu in admincp |
8 | $this->admincp_help | |
9 | $this->admincp_action_menu | |
10 | $this->map | |
11 | $this=>map_search | |
12 | $this->menu | |
13 | $this->settings | Your app's settings |
14 | $this->user_group_settings | Your app's user groups settings |
15 | $this->notification | |
16 | $this->database | database table for your app |
17 | $this->component | |
18 | $this->component_block | |
19 | $this->routes | |
20 | $this->start_support_version | Older phpFox version your app can support |
21 | $this->end_support_version | Latest phpFox version your app can support |
22 | $this->phrase | advanced phrases |
23 | $this->_publisher | Your company name |
24 | $this->_publisher_url | Your company home page |
Define in bold is required