DomCI : Update all the PHPDoc

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3279 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2016-12-09 14:47:48 +00:00
parent b102168208
commit b55ea95fae
21 changed files with 953 additions and 424 deletions

View File

@@ -17,14 +17,20 @@
/** DBJSON : a NoSQL DB in JSON */
class dbjson
{
/** The DSN of the connection */
private $dsn = "";
/** The database file */
private $dbfile = "";
/** The lock file */
private $dbfileLock = "";
/** The last Insert Id */
private $lastInsertId = 0;
// The database content
/** The database content */
private $db;
/** The constructor */
/** The constructor
* @param string $dsn The DSN of the connection
*/
public function __construct ($dsn)
{
if (! function_exists ("openssl_random_pseudo_bytes"))
@@ -80,7 +86,7 @@ class dbjson
/** Store multiple documents in database
* @param string $collection The collection name
* @param array documents array(array ())
* @param array $documents array(array ())
* @return integer The number of documents inserted in the database
*/
public function insertMany ($collection, $documents)
@@ -414,7 +420,6 @@ class dbjson
}
/** Write the dbfile with the provided data. This function don't do locks !
* @param array $data The database to store
* @return bool True if the recording is OK, false if there is a problem
*/
private function writeDB ()