46 trace(
"Scanning Modules", 3);
51 $options = array(
"" => array(
"" =>
""));
58 trace(
"Scanning $name", 3);
75 if(count($folders) > 0)
79 trace(
"calling getFilesInPath for folder $folder", 3);
91 trace(
"Reading $path", 3);
93 if (!file_exists(
$path))
98 $handle = opendir(
$path);
101 while(
false !== (
$file = readdir($handle)))
112 trace(
"f is $f and l is $l", 3);
114 if (is_dir(
$f) AND
$file !=
"include")
116 array_push($folders, $l);
118 else if (preg_match(
'/.inc$/i',
$file))
CodeFileSelectFieldRenderer(&$form, $field, $label, $directory, $onChange="")
readFiles($home, $dir, $prefix=null)
getFilesInPath(&$options, $home, $dir, $prefix)
static usingFeature()
Uses the specified framework feature(s).
static getComponents()
Retrieve an array of all the currently enabled components, indexed by component name.
static using()
Import the datamodels, views and manifest for the specified component(s).
if(php_sapi_name() !="cli") $home