mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 16:02:15 +00:00
- Added new permission to access to tbl_studiengang table using basis/studiengang
- Added method getStudiengang to class Studiengang2 to get a studiengang from pk - Added method addDistinct to class DB_Model to add the distinct clause to a query
This commit is contained in:
@@ -224,6 +224,16 @@ class DB_Model extends FHC_Model
|
||||
return $this->_success(TRUE);
|
||||
}
|
||||
|
||||
/** ---------------------------------------------------------------
|
||||
* Add distinct clause
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function addDistinct()
|
||||
{
|
||||
$this->db->distinct();
|
||||
}
|
||||
|
||||
/** ---------------------------------------------------------------
|
||||
* Add limit clause
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user