- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmmobjbrowser.php
More file actions
Latest commit
41 lines (29 loc) · 819 Bytes
/
Copy pathmmobjbrowser.php
File metadata and controls
41 lines (29 loc) · 819 Bytes
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
30
31
32
33
34
35
36
37
38
39
40
41
<?php// mmobjbrowser.php
usemondrakeNG\mm\classes\MMClass;
require_once'mmheader.php';
$obj = newMMClass;
$colDets = $obj->getColumnProperties();
$objs = $obj->listAll(NULL, NULL, NULL);
echo<<<_END
<!-- The HTML section -->
<style>.signup { border: 1px solid #999999;
font: normal 10px verdana; color:#444444; }</style>
</head><body>
<table class="signup" border="1" cellpadding="2"
cellspacing="0" bgcolor="#eeeeee">
_END;
echo"<tr><td />";
echo"<td>Class</td>";
echo"<td>Description</td>";
echo"<td>DB Table</td>";
echo"</tr>";
$j = 1;
foreach ($objsas$a => $b) {
echo"<tr><td>$j</td>";
echo"<td><b><a href='mmobjlist.php?obj=$b->mm_class_name'>$b->mm_class_name</a></b></td>";
echo"<td>$b->mm_class_desc_plural</td>";
echo"<td>$b->db_table_name</td>";
echo"</tr>";
$j++;
}
?>