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
This commit is contained in:
2015-08-21 12:08:46 +00:00
parent e6fca943f6
commit 3ad0a5d618

View File

@@ -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;
}
}