mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-06 13:29:31 +00:00
Infocenter: Anzeige gesperrte Nationen als disabled im Dropdown ZGVNation
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user