mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-02 20:59:28 +00:00
6a26609aef
- Added new Page to Manage missing bPK - Improved Error Handling on DVB Class
26 lines
420 B
PHP
26 lines
420 B
PHP
<?php
|
|
class Adresse_model extends DB_Model
|
|
{
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
$this->dbTable = 'public.tbl_adresse';
|
|
$this->pk = 'adresse_id';
|
|
}
|
|
|
|
|
|
/**
|
|
* gets person data from uid
|
|
* @param $uid
|
|
* @return array
|
|
*/
|
|
public function getZustellAdresse($person_id)
|
|
{
|
|
return $this->loadWhere(array('person_id' => $person_id, 'zustelladresse'=> true));
|
|
}
|
|
}
|