return true;
}
- function get($tbl, $opts=array())
+ function get($step, $opts=array())
{
PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, array($this, 'onPearError'));
$this->opts = $opts;
- $this->updateData();
+
+ switch($step) {
+ case 'scanProjectBJS':
+ case 'scanPmanBJS':
+ case 'scanPmanTemplates':
+ case 'scanTables':
+ case 'syncLanguage':
+ $this->{$step}();
+ $this->jok("DONE - " . $step);
+ default:
+ $this->jerr("invalid step");
+ }
+
+
}
function updateData()
$tp = DB_DAtaObject::Factory('core_template');
foreach ($this->modules() as $m){
-
+ //var_dump($m);
// templates...
$ar = $this->scanDir(array(
'tdir' => "Pman/$m/templates",
'skipdir' => array('images','css','js'),
));
-
+ //print_r($ar);
foreach($ar as $pg) {