Rename all the datas to data
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2512 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -314,7 +314,7 @@ class authzgroups
|
||||
$this->dbObject->disconnect ();
|
||||
}
|
||||
|
||||
/** Create the tables in the database to store the datas */
|
||||
/** Create the tables in the database to store the data */
|
||||
public function createTables ()
|
||||
{
|
||||
if ($this->dbObject == null)
|
||||
@@ -457,11 +457,11 @@ class authzgroups
|
||||
return $this->dbObject->titles;
|
||||
}
|
||||
|
||||
/** Check if the provided datas are compilant with the object specification
|
||||
@return array The errors found in the datas */
|
||||
public function objectVerify ($datas, $idobject=false)
|
||||
/** Check if the provided data are compilant with the object specification
|
||||
@return array The errors found in the data */
|
||||
public function objectVerify ($data, $idobject=false)
|
||||
{
|
||||
return $this->dbObject->verify ($datas, $idobject);
|
||||
return $this->dbObject->verify ($data, $idobject);
|
||||
}
|
||||
|
||||
////////////////
|
||||
@@ -564,11 +564,11 @@ class authzgroups
|
||||
return $this->dbGroup->titles;
|
||||
}
|
||||
|
||||
/** Check if the provided datas are compilant with the group specification
|
||||
@return array The errors found in the datas */
|
||||
public function groupVerify ($datas, $idgroup=false)
|
||||
/** Check if the provided data are compilant with the group specification
|
||||
@return array The errors found in the data */
|
||||
public function groupVerify ($data, $idgroup=false)
|
||||
{
|
||||
return $this->dbGroup->verify ($datas, $idgroup);
|
||||
return $this->dbGroup->verify ($data, $idgroup);
|
||||
}
|
||||
|
||||
//////////////////////
|
||||
@@ -646,8 +646,8 @@ class authzgroups
|
||||
public function groupmemberUpdateByID ($module, $idgroup, $iduser, $user,
|
||||
$comment="")
|
||||
{
|
||||
$datas = $this->groupmemberReadUserDataByID ($module, $idgroup, $iduser);
|
||||
if (count ($datas) === 0)
|
||||
$data = $this->groupmemberReadUserDataByID ($module, $idgroup, $iduser);
|
||||
if (count ($data) === 0)
|
||||
throw new Exception (dgettext ("domframework",
|
||||
"IDUser in IDGroup not found"), 404);
|
||||
$this->rightCache = null;
|
||||
@@ -737,11 +737,11 @@ class authzgroups
|
||||
return $this->dbGroupMember->titles;
|
||||
}
|
||||
|
||||
/** Check if the provided datas are compilant with the group specification
|
||||
@return array The errors found in the datas */
|
||||
public function groupmembersVerify ($datas, $idgroupmember=false)
|
||||
/** Check if the provided data are compilant with the group specification
|
||||
@return array The errors found in the data */
|
||||
public function groupmembersVerify ($data, $idgroupmember=false)
|
||||
{
|
||||
return $this->dbGroupMember->verify ($datas, $idgroupmember);
|
||||
return $this->dbGroupMember->verify ($data, $idgroupmember);
|
||||
}
|
||||
|
||||
////////////////
|
||||
@@ -986,10 +986,10 @@ class authzgroups
|
||||
return array ("1"=>"RO", "2"=>"RW");
|
||||
}
|
||||
|
||||
/** Check if the provided datas are compilant with the group specification
|
||||
@return array The errors found in the datas */
|
||||
public function rightVerify ($datas, $idright=false)
|
||||
/** Check if the provided data are compilant with the group specification
|
||||
@return array The errors found in the data */
|
||||
public function rightVerify ($data, $idright=false)
|
||||
{
|
||||
return $this->dbRight->verify ($datas, $idright);
|
||||
return $this->dbRight->verify ($data, $idright);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user