Activate the namespace for all
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** User authentication (abstract class) */
|
||||
class auth
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/auth.php");
|
||||
require_once ("domframework/authparams.php");
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/auth.php");
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/auth.php");
|
||||
require_once ("domframework/imap.php");
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/jwt.php");
|
||||
require_once ("domframework/uuid.php");
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/auth.php");
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** All the needed functions to authorize or deny access to an authenticated
|
||||
user */
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
error_reporting (E_ALL);
|
||||
require_once ("domframework/dblayer.php");
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Takes the email and the password of the user */
|
||||
class authparams
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** User authentication against SESSION */
|
||||
class authsession extends auth
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/auth.php");
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/dblayer.php");
|
||||
require_once ("domframework/auth.php");
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/auth.php");
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/dblayer.php");
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/dblayeroo.php");
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Display the backtrace in HTML with clicks to display the content
|
||||
*/
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** A cache manager in file
|
||||
*/
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** This class permit to cache the ouptut of a code. If the cache is already
|
||||
* available, use it.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** An certificate authority
|
||||
*/
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Allow to interract with controllers and models from the CLI */
|
||||
class cli
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Convert the name of colors to RGB
|
||||
*/
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Manage the configurations of the module done by administrator in a config
|
||||
* file
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Allow to manage a linux Console to have a minimal but working text interface
|
||||
* When using this class, you must use the $console::echo method and not
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Convert a format to another one
|
||||
*/
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** CSRF protection
|
||||
* By default, the CSRF protection is active if a SESSION is active too.
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/fork.php");
|
||||
require_once ("domframework/file.php");
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** DBJSON : a NoSQL DB in JSON
|
||||
* Documentation
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
// dblayer.php
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/dblayer.php");
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Permit abstraction on the differents SQL databases available
|
||||
*/
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Allow to encrypt/decrypt data
|
||||
*/
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** The file method allow to manage files like PHP with a working chroot on all
|
||||
* plateforms, and a right management compatible with database
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Manage the fork of children in Posix mode
|
||||
*/
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/csrf.php");
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** The Full Text Search
|
||||
* Analyze the provided search text (like a search engine), and create the
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/verify.php");
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/color.php");
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** HTTP Helper : understand the best choices provided by browser, the HTTP
|
||||
* codes
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/tcpclient.php");
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** IMAP connection abstraction
|
||||
In the IMAP terminology, "mailbox" is a folder in the mailbox of the user */
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Manage .ini files like in php.ini
|
||||
Support the sections (or not) */
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Manage the IP addresses conversions */
|
||||
class ipaddresses
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/encrypt.php");
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Language class : change the messages
|
||||
*/
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** The lock management of files
|
||||
*/
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** The logger class permit to log the information from the soft
|
||||
* It allow to debug too
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Manage the MAC addresses
|
||||
* Based on :
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** The class to create a complete email. Can read an email from a content
|
||||
*/
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Convert the Markdown text to html format
|
||||
*/
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Module management
|
||||
*/
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Class used to display data
|
||||
*/
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/output.php");
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** This class allow a program to download a specific file from the filesystem,
|
||||
* without using too much memory. In also allow to manage the resuming of a
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/output.php");
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/output.php");
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/output.php");
|
||||
require_once ("domframework/rest.php");
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/output.php");
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/output.php");
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** A class to manage the password hashing, password generation
|
||||
*/
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Manage a queue in multiple storages
|
||||
* A process can add entries to the end of a queue
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/queue.php");
|
||||
require_once ("domframework/file.php");
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** The rate limit abstract class
|
||||
*/
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/lockfile.php");
|
||||
require_once ("domframework/ratelimit.php");
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Display the data in HTML with a FLASH method to display the errors
|
||||
*/
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/http.php");
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** This class analyze the provided robots.txt file content and allow to
|
||||
* get the configured data for DomSearch.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/http.php");
|
||||
require_once ("domframework/ratelimitfile.php");
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/route.php");
|
||||
require_once ("domframework/form.php");
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/verify.php");
|
||||
require_once ("domframework/convert.php");
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** This class allow to read the sitemaps files available in websites, and give
|
||||
* the available URL and parameters
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Allow to send mails by smtp
|
||||
*/
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require ("domframework/ipaddresses.php");
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** This class allow to manage Server-Sent Events
|
||||
* The browser will be connected to a not ending loop. This loop will send
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** TCP Client
|
||||
* Allow to create TCP connections to a server.
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** This class allow to start a TCP server and call a function each time a
|
||||
* client is connected on it. Each client is separated in a child, so the
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** The abstraction class of the users
|
||||
* Allow to manage the users in multiple storages (SQL, HTPasswd, passwd file).
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/dblayer.php");
|
||||
require_once ("domframework/users.php");
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Generate a UUID v4
|
||||
*/
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Permit to check the validity of fields
|
||||
*/
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** This is the version of DomFramework.
|
||||
* It can be used to test if the framework is uptodate for the application
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
/** Create a diff from two strings, array or files
|
||||
* The output is compatible with "patch" command.
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
//namespace Domframework;
|
||||
namespace Domframework;
|
||||
|
||||
require_once ("domframework/tcpclient.php");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user