Infocenter: Anzeige gesperrte Nationen als disabled im Dropdown ZGVNation

This commit is contained in:
ma0068
2022-08-30 09:41:45 +02:00
parent 54a1c486c5
commit 8fd69ccd26
4 changed files with 41 additions and 36 deletions
+12 -2
View File
@@ -3,7 +3,7 @@
class Nation_model extends DB_Model
{
/**
*
*
*/
public function __construct()
{
@@ -11,4 +11,14 @@ class Nation_model extends DB_Model
$this->dbTable = 'bis.tbl_nation';
$this->pk = 'nation_code';
}
}
/**
* getAllForStyled Dropdown
*/
public function getAll()
{
$allNations = 'SELECT * FROM bis.tbl_nation ORDER BY bis.tbl_nation.langtext ASC;';
return $this->execQuery($allNations);
}
}