Skip to content
This repository was archived by the owner on May 19, 2022. It is now read-only.

Commit a335272

Browse files
author
sbuckpesch
committed
Update comments and explanations for home page
1 parent 5de7340 commit a335272

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

index.php

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,18 @@
66

77
/*
88
* Integrate a Content from App-Arena App-Manager
9-
* Three-Arrays of Content-Elements are available
10-
* 1. $global->app['content'] --> All content elements
11-
* 2. $global->app['config'] --> All configuration values
12-
* 3. $global->app['content'] --> All Design elements
13-
* The name in the second bracket is the "identifier" which has been setup in App-Manager.
9+
* Four Arrays of Content-Elements are available
10+
* 1. $global->app['instance'] --> All Instance Base Data
11+
* 2. $global->app['content'] --> All content elements
12+
* 3. $global->app['config'] --> All configuration values
13+
* 4. $global->app['design'] --> All Design elements
14+
* The name in the second bracket is the "identifier" which has been setup in App-Manager.
15+
* E.g. echo $global->app['content']['home']; --> shows the App-Manager content-element with the identifier "home"
16+
* To show all available data just uncomment the following line
1417
*/
15-
$global->app['content']['content_test'];
18+
//echo '<h1>All available App-Arena data</h1><pre>', print_r($global->app), '</pre>';
1619

17-
// To show all available data just uncomment the following line
18-
echo '<pre>', print_r($global->app), '</pre>';
20+
echo $global->app['content']['home'];
1921

2022
// Include Footer Part
2123
include 'footer.php';

0 commit comments

Comments
 (0)