From f2f314c46399abffb21253a5396f29b8ac3df896 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Mon, 22 Mar 2010 13:22:12 +0100 Subject: [PATCH] Give access to Job::$address MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- include/profilefields.inc.php | 5 +++++ 1 file changed, 5 insertions(+) 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) { -- 2.1.4