This repository has been archived on 2026-11-05. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
thetool/application/ADBStrasse/ADBStrasse.php
T

16 lines
345 B
PHP

<?php
class ADBStrasse extends mfBaseModel {
public $gemeinde = [];
protected function init() {
$this->db = FronkDB::singleton(ADDRESSDB_DBHOST, ADDRESSDB_DBUSER, ADDRESSDB_DBPASS, ADDRESSDB_DBNAME);
$this->table = "Strasse";
}
public function afterLoad() {
$this->gemeinde = new ADBGemeinde($this->gemeinde_id);
}
}