Files
FHC-Core/application/models/person/Benutzer_model.php
T
Paolo 4379121637 - Added hasSequence in models to avoid sequenceerrors
- Added getByDate, generateMatrikelnummer methods
2019-02-05 10:40:39 +01:00

23 lines
389 B
PHP

<?php
class Benutzer_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'public.tbl_benutzer';
$this->pk = array('uid');
$this->hasSequence = false;
}
public function getFromPersonId($person_id)
{
/*$this->addSelect('uid, aktiv, alias');*/
$this->loadWhere(array('person_id' => $person_id));
}
}