Exemplo n.º 1
0
 function __construct($ti, $dbName)
 {
     $this->lookUpTabl = $ti->getOpts('l_tabl');
     $this->lookUpIndx = $ti->getOpts('l_indx');
     $this->lookUpTitl = $ti->getOpts('l_titl');
     $this->lookUpWiki = $ti->getOpts('l_wiki');
     $this->dat = $ti->getOpts('g_data');
     Pages6::__construct($ti->getOpts('g_tabl'), $ti->getOpts('g_indx'), $ti->getOpts('g_wiki'), $dbName);
 }
Exemplo n.º 2
0
 function updateObs($pid, $vars)
 {
     $qVars = array_intersect_key($vars, jt_fill_new($this->colNames, $i));
     if ($this->indx) {
         $pid = Pages6::updateObs($pid, $qVars);
         if ($incList = $this->getIncludedList()) {
             $this->updateIncluded($incList, $pid);
         }
         return $pid;
     } else {
         return 0;
     }
 }