From: Raphaël Barrois Date: Mon, 22 Mar 2010 12:22:12 +0000 (+0100) Subject: Give access to Job::$address X-Git-Tag: xorg/1.0.0~332^2~18 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=f2f314c46399abffb21253a5396f29b8ac3df896;p=platal.git Give access to Job::$address Signed-off-by: Raphaël Barrois --- diff --git a/include/profilefields.inc.php b/include/profilefields.inc.php index dda573d..b67dfbe 100644 --- a/include/profilefields.inc.php +++ b/include/profilefields.inc.php @@ -213,6 +213,11 @@ class Job return $this->phones; } + public function address() + { + return $this->address; + } + public function addPhone(Phone &$phone) { if ($phone->link_type == Phone::LINK_JOB && $phone->link_id == $this->id && $phone->pid == $this->pid) {