Zmiany pomiędzy wersją 26 and wersją 27 dla DeployerGuide/Developer

Pokaż
Ignoruj:
Data i czas:
09/25/14 10:25:22 (10 years temu)
Autor:
WN (IP: 213.227.67.33)
Komentarz:

--

Legend:

Bez zmian
Dodane
Usunięte
Zmienione
  • DeployerGuide/Developer

    v26 v27  
    437437require_once(LIB_PATH.'forms/DBSelect.inc'); 
    438438 
    439 $db = PgManager::getInstance(); 
    440  
    441 $rows = $db->select('types_of_processes_states', 'tpstid, dscrpt', 'clsnam = \'FKDEMANDELEMENT\' ORDER BY dscrpt', false, PGSQL_NUM); 
    442  
    443439$tpstid = new DBSelect('yourTpstidSelectName'); 
    444440$tpstid->top = '10px'; 
    445441$tpstid->left = '70px'; 
    446442$tpstid->width = '200px'; 
    447  
    448 if (is_array($rows) && !empty($rows)) { 
    449     $tpstid->addAssocArray($rows, 0, 1); 
    450 } 
     443$this->tpstid->query = 'SELECT tpstid, dscrpt FROM types_of_processes_states WHERE clsnam = \'FKDEMANDELEMENT\' ORDER BY dscrpt'; 
     444$this->tpstid->update(); 
    451445}}} 
    452446