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:
2016-02-21 19:21:29 +00:00
parent 82f6f96c2e
commit c283362d05
15 changed files with 92 additions and 85 deletions

View File

@@ -10,7 +10,7 @@ require_once ("domframework/renderer.php");
error_reporting (E_ALL);
/** Automatic Routing for SQL database
Allow to do CRUD on datas with only one line in index.php */
Allow to do CRUD on data with only one line in index.php */
class routeSQL
{
/** Activate the debug */
@@ -1133,8 +1133,8 @@ $content .= "</li>\n";
}
$field = new formfield ("submit", dgettext("domframework",
"Save the datas"));
$field->defaults = dgettext("domframework","Save the datas");
"Save the data"));
$field->defaults = dgettext("domframework","Save the data");
$field->type = "submit";
$fields[] = $field;
unset ($field);
@@ -1145,7 +1145,7 @@ $content .= "</li>\n";
$route->post ($this->url_prefix."/add", function ($chain=null) use ($route)
{
// Add a new entry : effective save of the datas
// Add a new entry : effective save of the data
if ($this->chained !== null)
{
if ($this->chained->editright ($this->authHTML["email"], $chain) !==
@@ -1379,8 +1379,8 @@ $content .= "</li>\n";
if ($readonly === false && $this->readwriteAllowed === true)
{
$field = new formfield ("submit", dgettext("domframework",
"Save the datas"));
$field->defaults = dgettext("domframework","Save the datas");
"Save the data"));
$field->defaults = dgettext("domframework","Save the data");
$field->type = "submit";
$fields[] = $field;
unset ($field);
@@ -1482,7 +1482,7 @@ $content .= "</li>\n";
});
}
/** Authorization : Return TRUE if the user right allow to see the datas
/** Authorization : Return TRUE if the user right allow to see the data
Return FALSE else */
public function accessright ($auth, $id=null)
{
@@ -1500,7 +1500,7 @@ $content .= "</li>\n";
return TRUE;
}
/** Authorization : Return TRUE if the user right allow to edit the datas
/** Authorization : Return TRUE if the user right allow to edit the data
Return FALSE else */
public function editright ($auth, $id=null)
{
@@ -1534,7 +1534,7 @@ $content .= "</li>\n";
return FALSE;
}
/** Return the datas of the row if the $id exists in the primary key of the
/** Return the data of the row if the $id exists in the primary key of the
table
Return FALSE in the other cases */
public function keyexists ($id)