Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

IDDefineNote
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:

  • Image link: Put image link of your icon here.
  • Font awesome class: Put font awesome class here: it will display icon from font awsome.
  • Icon image: Don't set or set empty this value, we will get file "icon.png"
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->settingsYour app's settings
14$this->user_group_settingsYour app's user groups settings
15$this->notification 
16$this->databasedatabase table for your app
17$this->component 
18$this->component_block 
19$this->routes 
20$this->start_support_versionOlder phpFox version your app can support
21$this->end_support_versionLatest phpFox version your app can support
22$this->phraseadvanced phrases
23$this->_publisherYour company name
24$this->_publisher_urlYour company home page

Define in bold is required