From 155cf6aeea9ba7ecbc39face6442d3ce1b03ad8e Mon Sep 17 00:00:00 2001
From: Nils Schwabe
Date: Wed, 4 Jun 2014 14:27:03 +0200
Subject: Add webinterface with functionallity
---
management-interface/lib/api/classAudit.html | 412 +++++++++++++++++++++++++++
1 file changed, 412 insertions(+)
create mode 100644 management-interface/lib/api/classAudit.html
(limited to 'management-interface/lib/api/classAudit.html')
diff --git a/management-interface/lib/api/classAudit.html b/management-interface/lib/api/classAudit.html
new file mode 100644
index 0000000..f4c147c
--- /dev/null
+++ b/management-interface/lib/api/classAudit.html
@@ -0,0 +1,412 @@
+
+
+
+
+
+
+
Data validator.
+ More...
+
+
+
+
+
+

+
+
+
+ |
+ |
+|
+const | UA_Mobile ='android|blackberry|iphone|ipod|palm|windows\s+ce' |
+| |
+|
+const | UA_Desktop ='bsd|linux|os\s+[x9]|solaris|windows' |
+| |
+|
+const | UA_Bot ='bot|crawl|slurp|spider' |
+| |
+
+
+
+
+
+
+
+
+ | Audit::card |
+ ( |
+ |
+ $id | ) |
+ |
+
+
+
+
Return credit card type if number is valid
+
- Returns
- string|FALSE
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+ | Audit::email |
+ ( |
+ |
+ $str, |
+
+
+ |
+ |
+ |
+ $mx = TRUE |
+
+
+ |
+ ) |
+ | |
+
+
+
+
Return TRUE if string is a valid e-mail address; Check DNS MX records if specified
+
- Returns
- bool
+
- Parameters
-
+
+ | $str | string |
+ | $mx | boolean |
+
+
+
+
+
+
+
+
+
+
+
+ | Audit::entropy |
+ ( |
+ |
+ $str | ) |
+ |
+
+
+
+
Return entropy estimate of a password (NIST 800-63)
+
- Returns
- int|float
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+ | Audit::ipv4 |
+ ( |
+ |
+ $addr | ) |
+ |
+
+
+
+
Return TRUE if string is a valid IPV4 address
+
- Returns
- bool
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+ | Audit::ipv6 |
+ ( |
+ |
+ $addr | ) |
+ |
+
+
+
+
Return TRUE if string is a valid IPV6 address
+
- Returns
- bool
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+ | Audit::isbot |
+ ( |
+ | ) |
+ |
+
+
+
+
Return TRUE if user agent is a Web bot
+
- Returns
- bool
+
+
+
+
+
+
+
+
+ | Audit::isdesktop |
+ ( |
+ | ) |
+ |
+
+
+
+
Return TRUE if user agent is a desktop browser
+
- Returns
- bool
+
+
+
+
+
+
+
+
+ | Audit::ismobile |
+ ( |
+ | ) |
+ |
+
+
+
+
Return TRUE if user agent is a mobile device
+
- Returns
- bool
+
+
+
+
+
+
+
+
+ | Audit::isprivate |
+ ( |
+ |
+ $addr | ) |
+ |
+
+
+
+
Return TRUE if IP address is within private range
+
- Returns
- bool
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+ | Audit::ispublic |
+ ( |
+ |
+ $addr | ) |
+ |
+
+
+
+
Return TRUE if IP address is neither private nor reserved
+
- Returns
- bool
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+ | Audit::isreserved |
+ ( |
+ |
+ $addr | ) |
+ |
+
+
+
+
Return TRUE if IP address is within reserved range
+
- Returns
- bool
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+ | Audit::mod10 |
+ ( |
+ |
+ $id | ) |
+ |
+
+
+
+
Return TRUE if specified ID has a valid (Luhn) Mod-10 check digit
+
- Returns
- bool
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+ | Audit::url |
+ ( |
+ |
+ $str | ) |
+ |
+
+
+
+
Return TRUE if string is a valid URL
+
- Returns
- bool
+
- Parameters
-
+
+
+
+
+
+
+
The documentation for this class was generated from the following file:
+
--
cgit v1.2.3-55-g7522