4 * list all the readers so they can be loaded..
5 * -- called from where?
9 require_once 'Pman.php';
11 class Pman_Builder_Readers extends Pman
15 parent::getAuth(); // load company!
16 $au = $this->getAuthUser();
18 $this->jerr("Not authenticated", array('authFailure' => true));
20 $this->authUser = $au;
24 function get($base, $opt = array())
26 $ff = HTML_FlexyFramework::get();
27 $top = $ff->rootDir.'/Pman/';
33 foreach(scandir($top) as $m) {
34 if ($m == 'Builder') {
37 $vf = "{$top}{$m}/$m.readers.js";
39 if (!strlen($m) || $m[0] == '.' || !file_exists($vf) ) {
43 $ret[] = "Pman/$m/$m.readers.js";