Rename all the "informations" to "information"
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2513 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -42,7 +42,7 @@ class authorization
|
||||
{
|
||||
}
|
||||
|
||||
/** Remove the informations about an object and all its sub-objects
|
||||
/** Remove the information about an object and all its sub-objects
|
||||
@param string $object Object path to drop */
|
||||
public function drop ($object)
|
||||
{
|
||||
|
||||
@@ -203,7 +203,7 @@ class authorizationdb extends authorization
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/** Remove the informations about an object and all its sub-objects
|
||||
/** Remove the information about an object and all its sub-objects
|
||||
@param string $object Object path to drop
|
||||
@return TRUE or an exception with the error message */
|
||||
public function drop ($object)
|
||||
|
||||
@@ -39,7 +39,7 @@ class authparams
|
||||
}
|
||||
}
|
||||
|
||||
/** Get informations from $POST variables */
|
||||
/** Get information from $POST variables */
|
||||
public function post()
|
||||
{
|
||||
if (!isset ($_POST["email"]) || !isset ($_POST["password"]))
|
||||
@@ -48,7 +48,7 @@ class authparams
|
||||
"password"=>$_POST["password"]);
|
||||
}
|
||||
|
||||
/** Get informations from previous recorded session */
|
||||
/** Get information from previous recorded session */
|
||||
public function session()
|
||||
{
|
||||
if (!isset ($_SESSION))
|
||||
@@ -60,7 +60,7 @@ class authparams
|
||||
"password"=>$_SESSION["domframework"]["auth"]["password"]);
|
||||
}
|
||||
|
||||
/** Get informations from a HTTP authentication */
|
||||
/** Get information from a HTTP authentication */
|
||||
public function http()
|
||||
{
|
||||
$realm = dgettext("domframework",
|
||||
|
||||
@@ -85,7 +85,7 @@ class authsession extends auth
|
||||
$_SESSION["domframework"]["auth"]["password"] = $password;
|
||||
}
|
||||
|
||||
/** Remove the informations from the session */
|
||||
/** Remove the information from the session */
|
||||
public function logout ()
|
||||
{
|
||||
if (isset ($_SESSION["domframework"]["auth"]["lastname"]))
|
||||
|
||||
@@ -26,7 +26,7 @@ class authsql extends auth
|
||||
public $fieldLastname = null;
|
||||
/** The field name containing the Firstname of the user */
|
||||
public $fieldFirstname = null;
|
||||
/** The informations fields (in an array) */
|
||||
/** The information fields (in an array) */
|
||||
public $fieldsInfo = array ();
|
||||
|
||||
/** The DBLayer pointer */
|
||||
|
||||
@@ -713,7 +713,7 @@ class authzgroups
|
||||
return $this->dbGroupMember->read ($select);
|
||||
}
|
||||
|
||||
/** Return an array containing the informations of a user in a specific group
|
||||
/** Return an array containing the information of a user in a specific group
|
||||
*/
|
||||
public function groupmemberReadUserDataByID ($module, $idgroup, $iduser)
|
||||
{
|
||||
@@ -935,7 +935,7 @@ class authzgroups
|
||||
return $this->dbRight->read ($select);
|
||||
}
|
||||
|
||||
/** Return an array with all the informations concerning a right selected by
|
||||
/** Return an array with all the information concerning a right selected by
|
||||
ID*/
|
||||
public function rightReadByID ($module, $idright)
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
/** A cache manager in file */
|
||||
class cachefile
|
||||
{
|
||||
/** Where to store the cached informations */
|
||||
/** Where to store the cached information */
|
||||
public $directory = "./cache";
|
||||
/** If TRUE : no information is cached */
|
||||
public $nocache = false;
|
||||
|
||||
@@ -27,7 +27,7 @@ class config
|
||||
{
|
||||
/** All the parameters allowed with their default value */
|
||||
public $default = array ();
|
||||
/** Use the .php to protect the informations */
|
||||
/** Use the .php to protect the information */
|
||||
public $confFile = null;
|
||||
|
||||
/** Select the configuration file */
|
||||
|
||||
2
imap.php
2
imap.php
@@ -198,7 +198,7 @@ class imap
|
||||
$this->mailbox.$folder);
|
||||
}
|
||||
|
||||
/** Return the informations concerning a folder. It return an object with the
|
||||
/** Return the information concerning a folder. It return an object with the
|
||||
following properties :
|
||||
Date date of last change (current datetime)
|
||||
Driver driver
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
@package domframework
|
||||
@author Dominique Fournier <dominique@fournier38.fr> */
|
||||
|
||||
/** The logger class permit to log the informations from the soft
|
||||
/** The logger class permit to log the information from the soft
|
||||
It allow to debug too */
|
||||
class logger
|
||||
{
|
||||
|
||||
40
routeSQL.php
40
routeSQL.php
@@ -28,16 +28,16 @@ class routeSQL
|
||||
/** enable internal CSS */
|
||||
public $enableInternalCSS = true;
|
||||
/** Definition of the position in top bar at left
|
||||
Allowed : addNew numberEntryByDisplay search informations paginator */
|
||||
Allowed : addNew numberEntryByDisplay search information paginator */
|
||||
public $topBarLeft = array ("addNew", "numberEntryByDisplay");
|
||||
/** Definition of the position in top bar at right
|
||||
Allowed : addNew numberEntryByDisplay search informations paginator */
|
||||
Allowed : addNew numberEntryByDisplay search information paginator */
|
||||
public $topBarRight = array ("search");
|
||||
/** Definition of the position in bottom bar at left
|
||||
Allowed : addNew numberEntryByDisplay search informations paginator */
|
||||
public $bottomBarLeft = array ("informations");
|
||||
Allowed : addNew numberEntryByDisplay search information paginator */
|
||||
public $bottomBarLeft = array ("information");
|
||||
/** Definition of the position in bottom bar at right
|
||||
Allowed : addNew numberEntryByDisplay search informations paginator */
|
||||
Allowed : addNew numberEntryByDisplay search information paginator */
|
||||
public $bottomBarRight = array ("paginator");
|
||||
/** The cookie path used to determine the old parameters
|
||||
It is automatically generated with the URL */
|
||||
@@ -120,7 +120,7 @@ class routeSQL
|
||||
$this->password, $this->driver_options);
|
||||
}
|
||||
|
||||
/** Display the flash informations if no flash view is available */
|
||||
/** Display the flash information if no flash view is available */
|
||||
private function showflash ()
|
||||
{
|
||||
$dataflash = "";
|
||||
@@ -272,11 +272,11 @@ $content .= "</li>\n";
|
||||
return $content;
|
||||
}
|
||||
|
||||
/** Display the informations */
|
||||
private function informationsArea ($nbentries, $page, $num, $search)
|
||||
/** Display the information */
|
||||
private function informationArea ($nbentries, $page, $num, $search)
|
||||
{
|
||||
$content = "";
|
||||
$content .= " <div class='informationsArea'>\n";
|
||||
$content .= " <div class='informationArea'>\n";
|
||||
$message = dgettext("domframework",
|
||||
"Display the element {FIRST} to {LAST} on {COUNT} elements");
|
||||
if ($nbentries === 0)
|
||||
@@ -315,7 +315,7 @@ $content .= "</li>\n";
|
||||
"Access forbidden"), 403);
|
||||
}
|
||||
$this->chained->connect();
|
||||
// $chainedValues are the informations associated to the $chain
|
||||
// $chainedValues are the information associated to the $chain
|
||||
$chainedValues = $this->chained->keyexists ($chain);
|
||||
if ($chainedValues === false)
|
||||
throw new Exception (dgettext("domframework",
|
||||
@@ -394,7 +394,7 @@ $content .= "</li>\n";
|
||||
403);
|
||||
}
|
||||
$this->chained->connect();
|
||||
// $chainedvalues are the informations associated to the $chain
|
||||
// $chainedvalues are the information associated to the $chain
|
||||
$chainedvalues = $this->chained->keyexists ($chain);
|
||||
if ($chainedvalues === false)
|
||||
throw new exception (dgettext("domframework",
|
||||
@@ -462,7 +462,7 @@ $content .= "</li>\n";
|
||||
403);
|
||||
}
|
||||
$this->chained->connect();
|
||||
// $chainedvalues are the informations associated to the $chain
|
||||
// $chainedvalues are the information associated to the $chain
|
||||
$chainedvalues = $this->chained->keyexists ($chain);
|
||||
if ($chainedvalues === false)
|
||||
throw new exception (dgettext("domframework",
|
||||
@@ -528,7 +528,7 @@ $content .= "</li>\n";
|
||||
403);
|
||||
}
|
||||
$this->chained->connect();
|
||||
// $chainedValues are the informations associated to the $chain
|
||||
// $chainedValues are the information associated to the $chain
|
||||
$chainedValues = $this->chained->keyexists ($chain);
|
||||
if ($chainedValues === false)
|
||||
throw new Exception (dgettext("domframework",
|
||||
@@ -607,7 +607,7 @@ $content .= "</li>\n";
|
||||
"Access forbidden"), 403);
|
||||
}
|
||||
$this->chained->connect();
|
||||
// $chainedValues are the informations associated to the $chain
|
||||
// $chainedValues are the information associated to the $chain
|
||||
$chainedValues = $this->chained->keyexists ($chain);
|
||||
if ($chainedValues === false)
|
||||
throw new Exception (dgettext("domframework",
|
||||
@@ -776,7 +776,7 @@ $content .= "</li>\n";
|
||||
$content .= ".routeSQL .searchArea { border:1px solid #ddd; border-radius:5px; padding:10px; margin:3px; float:left; }\n";
|
||||
$content .= ".routeSQL .searchArea form { margin:-1px; }\n";
|
||||
$content .= ".routeSQL .numberEntryByDisplayArea form { margin:-3px; }\n";
|
||||
$content .= ".routeSQL .informationsArea { border:1px solid #ddd; border-radius:5px; padding:10px; margin:3px; float:left; }\n";
|
||||
$content .= ".routeSQL .informationArea { border:1px solid #ddd; border-radius:5px; padding:10px; margin:3px; float:left; }\n";
|
||||
$content .= ".routeSQL div.paginatorArea { float:left; }\n";
|
||||
$content .= ".routeSQL div.paginatorArea>ul>li>a { display: block; }\n";
|
||||
$content .= ".routeSQL ul.paginatorArea { list-style-type:none; margin: 0px; padding:0px; border:1px solid #ddd; border-radius:5px; }\n";
|
||||
@@ -938,7 +938,7 @@ $content .= "</li>\n";
|
||||
403);
|
||||
}
|
||||
$this->chained->connect();
|
||||
// $chainedValues are the informations associated to the $chain
|
||||
// $chainedValues are the information associated to the $chain
|
||||
$chainedValues = $this->chained->keyexists ($chain);
|
||||
if ($chainedValues === false)
|
||||
throw new Exception (dgettext("domframework",
|
||||
@@ -999,7 +999,7 @@ $content .= "</li>\n";
|
||||
403);
|
||||
}
|
||||
$this->chained->connect();
|
||||
// $chainedValues are the informations associated to the $chain
|
||||
// $chainedValues are the information associated to the $chain
|
||||
$chainedValues = $this->chained->keyexists ($chain);
|
||||
if ($chainedValues === false)
|
||||
throw new Exception (dgettext("domframework",
|
||||
@@ -1158,7 +1158,7 @@ $content .= "</li>\n";
|
||||
403);
|
||||
}
|
||||
$this->chained->connect();
|
||||
// $chainedvalues are the informations associated to the $chain
|
||||
// $chainedvalues are the information associated to the $chain
|
||||
$chainedvalues = $this->chained->keyexists ($chain);
|
||||
if ($chainedvalues === false)
|
||||
throw new exception (dgettext("domframework",
|
||||
@@ -1240,7 +1240,7 @@ $content .= "</li>\n";
|
||||
403);
|
||||
}
|
||||
$this->chained->connect();
|
||||
// $chainedvalues are the informations associated to the $chain
|
||||
// $chainedvalues are the information associated to the $chain
|
||||
$chainedvalues = $this->chained->keyexists ($chain);
|
||||
if ($chainedvalues === false)
|
||||
throw new exception (dgettext("domframework",
|
||||
@@ -1406,7 +1406,7 @@ $content .= "</li>\n";
|
||||
403);
|
||||
}
|
||||
$this->chained->connect();
|
||||
// $chainedvalues are the informations associated to the $chain
|
||||
// $chainedvalues are the information associated to the $chain
|
||||
$chainedvalues = $this->chained->keyexists ($chain);
|
||||
if ($chainedvalues === false)
|
||||
throw new exception (dgettext("domframework",
|
||||
|
||||
@@ -18,7 +18,7 @@ class userssql extends users
|
||||
/** The db connector */
|
||||
private $db;
|
||||
|
||||
/** The table to store the informations */
|
||||
/** The table to store the information */
|
||||
public $table = "authusers";
|
||||
/** The tableprefix text to prepend to table name (Should finish by _)
|
||||
Just allow chars ! */
|
||||
|
||||
Reference in New Issue
Block a user