From 3ad0a5d61837a17a8d6583674d4320213ec531a2 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Fri, 21 Aug 2015 12:08:46 +0000 Subject: [PATCH] dblayerauthzgroups : define the setters of properties to allow chained -> git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2270 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- dblayerauthzgroups.php | 48 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/dblayerauthzgroups.php b/dblayerauthzgroups.php index 4c3ab27..87bf3da 100644 --- a/dblayerauthzgroups.php +++ b/dblayerauthzgroups.php @@ -25,6 +25,9 @@ class dblayerauthzgroups extends dblayer /** Flag when primary key is added before search */ private $primaryKeyAdded = false; + //////////////////////// + /// MAIN METHODS /// + //////////////////////// /** Hook preread This hook is run before selecting the data in the database, after the verification @@ -228,4 +231,49 @@ class dblayerauthzgroups extends dblayer } return true; } + + /////////////////// + /// SETTERS /// + /////////////////// + /** Set the authzgroups property */ + public function authzgroupsSet ($authzgroups) + { + $this->authzgroups = $authzgroups; + return $this; + } + + /** Set the module property */ + public function moduleSet ($module) + { + $this->module = $module; + return $this; + } + + /** Set the user property */ + public function userSet ($user) + { + $this->user = $user; + return $this; + } + + /** Set the createGroup property */ + public function createGroupSet ($createGroup) + { + $this->createGroup = $createGroup; + return $this; + } + + /** Set the createRight property */ + public function createRightSet ($createRight) + { + $this->createRight = $createRight; + return $this; + } + + /** Set the path property */ + public function pathSet ($path) + { + $this->path = $path; + return $this; + } }