3 require_once 'Pman.php';
5 class Pman_Builder_App extends Pman
7 var $template = "frame.html";
8 // getAuth - everyone allowed in...
15 die("Invalid Application");
17 $p = DB_DataObject::factory('builder_app');
20 $p->selectAdd('module');
22 die("Invalid Application (2)");
24 $this->builderJs = array();
26 $ff = HTML_FlexyFramework::get();
29 // file exists in file system - dont add it twice!
30 // this is a bit questionable.. - we may need to check if the
31 // db version is more recent.
32 $fl = $ff->rootDir.'/Pman/'. $app .'/'.$p->module.'.js';
33 //if (file_exists($fl) && filesize($fl)) {
36 $this->builderJs[] = $p->module;
38 $o = HTML_FlexyFramework::get();
39 //echo '<PRE>';print_r($o);exit;
41 $o->enableArray = array('Core');
42 //$o->options = 'Core,'.$o->options;
44 return parent::get('');