Zmiany pomiędzy wersją 26 and wersją 27 dla DeployerGuide/Developer
- Data i czas:
- 09/25/14 10:25:22 (10 years temu)
Legend:
- Bez zmian
- Dodane
- Usunięte
- Zmienione
-
DeployerGuide/Developer
v26 v27 437 437 require_once(LIB_PATH.'forms/DBSelect.inc'); 438 438 439 $db = PgManager::getInstance();440 441 $rows = $db->select('types_of_processes_states', 'tpstid, dscrpt', 'clsnam = \'FKDEMANDELEMENT\' ORDER BY dscrpt', false, PGSQL_NUM);442 443 439 $tpstid = new DBSelect('yourTpstidSelectName'); 444 440 $tpstid->top = '10px'; 445 441 $tpstid->left = '70px'; 446 442 $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(); 451 445 }}} 452 446