Give access to Job::$address
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Mon, 22 Mar 2010 12:22:12 +0000 (13:22 +0100)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Mon, 22 Mar 2010 13:08:01 +0000 (14:08 +0100)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
include/profilefields.inc.php

index dda573d..b67dfbe 100644 (file)
@@ -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) {