Change all the "new class" by "new Class"
This commit is contained in:
@@ -9,7 +9,7 @@ namespace Domframework;
|
||||
|
||||
/** All the needed functions to authorize or deny access to an authenticated
|
||||
* user by its groups membership
|
||||
* Based on dblayeroo
|
||||
* Based on Dblayeroo
|
||||
*/
|
||||
class Authzgroupsoo
|
||||
{
|
||||
@@ -288,7 +288,7 @@ class Authzgroupsoo
|
||||
public function connect ($dsn, $username=null, $password=null,
|
||||
$driver_options=null)
|
||||
{
|
||||
$this->dbObject = new dblayeroo ($dsn, $username, $password,
|
||||
$this->dbObject = new Dblayeroo ($dsn, $username, $password,
|
||||
$driver_options);
|
||||
$this->dbObject->debug ($this->debug);
|
||||
$this->dbObject->table ("authzobject");
|
||||
@@ -306,7 +306,7 @@ class Authzgroupsoo
|
||||
"object" => dgettext ("domframework", "Object"),
|
||||
"comment" => dgettext ("domframework", "Comment")));
|
||||
|
||||
$this->dbGroup = new dblayeroo ($dsn, $username, $password,
|
||||
$this->dbGroup = new Dblayeroo ($dsn, $username, $password,
|
||||
$driver_options);
|
||||
$this->dbGroup->debug ($this->debug);
|
||||
$this->dbGroup->table ("authzgroup");
|
||||
@@ -324,7 +324,7 @@ class Authzgroupsoo
|
||||
"group" => dgettext ("domframework", "Group"),
|
||||
"comment" => dgettext ("domframework", "Comment")));
|
||||
|
||||
$this->dbGroupMember = new dblayeroo ($dsn, $username, $password,
|
||||
$this->dbGroupMember = new Dblayeroo ($dsn, $username, $password,
|
||||
$driver_options);
|
||||
$this->dbGroupMember->debug ($this->debug);
|
||||
$this->dbGroupMember->table ("authzgroupmember");
|
||||
@@ -347,7 +347,7 @@ class Authzgroupsoo
|
||||
"idgroup" => dgettext ("domframework", "idgroup"),
|
||||
"comment" => dgettext ("domframework", "Comment")));
|
||||
|
||||
$this->dbRight = new dblayeroo ($dsn, $username, $password,
|
||||
$this->dbRight = new Dblayeroo ($dsn, $username, $password,
|
||||
$driver_options);
|
||||
$this->dbRight->debug ($this->debug);
|
||||
$this->dbRight->table ("authzright");
|
||||
|
||||
Reference in New Issue
Block a user