From 24ede2d2f802a3f1d3b64e9832dcb9d7109e5d71 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Mon, 20 Dec 2010 20:39:39 +0100 Subject: [PATCH] Adds possibility to add a flag to an address. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- classes/address.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/classes/address.php b/classes/address.php index a17c370..70e7354 100644 --- a/classes/address.php +++ b/classes/address.php @@ -373,6 +373,11 @@ class Address return ($this->flags != null && $this->flags->hasFlag($flag)); } + public function addFlag($flag) + { + $this->flags->addFlag($flag); + } + /** Auxilary function for formatting postal addresses. * If the needle is found in the haystack, it notifies the substitution's * success, modifies the length accordingly and returns either the matching -- 2.1.4