3 require_once 'Pman.php';
4 class Pman_Builder_Palette extends Pman
6 // generic list we do not care who looks at it..
15 return $this->roousage();
17 // list of properties or events.
18 // gets xns+xtype+list
23 function roousage() // list of what elements, can have what as children..
27 // get this directly from roo?
29 echo '<PRE>';print_R(HMTL_FlexyFramework::get());exit;
30 $lines = file(dirname(__FILE__).'/RooUsage.txt');
34 foreach($lines as $l) {
36 $l = preg_replace('#//.*#', '', $l);
38 if (!strlen(trim($l))){
41 if (preg_match('/left:$/', $l)) {
46 if (preg_match('/right:$/', $l)) {
56 if (!isset($res[$l])) {
59 foreach($left as $ll) {
71 foreach($res as $k=>$v) {
74 'parents' => array_keys($v)
78 //echo '<PRE>';print_R($ret);exit;