diff --git a/.gitignore b/.gitignore
index 22626c9b7a0bf607fc3bc624b6563384fc1f97a8..eb2a1c189d7b9f6268d92a6624c4fbaead330f25 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
-/tmp
app/config.php
tests/tmp
*~
+vendor
+composer.lock
diff --git a/README b/README
index de1153ede569d50dee6785f46d3e39d9d7beca93..4cbed1e87e2225387cfe02d5c1097b1102474fa5 100644
--- a/README
+++ b/README
@@ -1,5 +1,8 @@
piphone module
==============
-See : https://git.leloop.org/laquadraturedunet/piphone
+Installation
+++++++++++++
+
+You need to have composer installed and run `composer install` in main directory.
diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000000000000000000000000000000000000..a21db9d88d965ffe2eb4c7b513dcbc8a587c55b8
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,5 @@
+{
+ "require": {
+ "bcosca/fatfree": "^3.5"
+ }
+}
diff --git a/index.php b/index.php
index 671e38984c86201504f41fc62a3c151046a28df3..f9dba3d967b71fa6cc56457519a43be0b92ed47b 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,8 @@
config('app/config.ini');
diff --git a/lib/api/annotated.html b/lib/api/annotated.html
deleted file mode 100644
index 9fd19f6ec8c42d9cc7f00015e7496a639305b77f..0000000000000000000000000000000000000000
--- a/lib/api/annotated.html
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Class List
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
Here are the classes, structs, unions and interfaces with brief descriptions:
-
[detail level 1 2 3 ]
- ▼ N DB
- ▼ N Jig
- C Mapper Flat-file DB mapper
- C Session Jig-managed session handler
- ▼ N Mongo
- C Mapper MongoDB mapper
- C Session MongoDB-managed session handler
- ▼ N SQL
- C Mapper SQL data mapper
- C Session SQL-managed session handler
- C Cursor Simple cursor implementation
- C Jig Flat-file DB wrapper
- C Mongo MongoDB wrapper
- C SQL PDO wrapper
- ▼ N Web
- ▼ N Google
- C StaticMap Google Static Maps API v2 plug-in
- C Geo Geo plug-in
- C OpenID OpenID consumer
- C Pingback Pingback 1.0 protocol (client and server) implementation
- C Audit Data validator
- C Auth Authorization/authentication plug-in
- C Base Base structure
- C Basket Session-based pseudo-mapper
- C Bcrypt Lightweight password hashing library
- C Cache Cache engine
- C F3 Legacy mode enabler
- C Image Image manipulation tools
- C ISO ISO language/country codes
- C Log Custom logger
- C Magic PHP magic wrapper
- C Markdown Markdown-to-HTML converter
- C Matrix Generic array utilities
- C Prefab Factory class for single-instance objects
- C Preview Lightweight template engine
- C Registry Container for singular object instances
- C Session Cache-based session handler
- C SMTP SMTP plug-in
- C Template XML-style template engine
- C Test Unit test kit
- C UTF Unicode string manager
- C View View handler
- C Web Wrapper for various HTTP utilities
-
-
-
diff --git a/lib/api/bc_s.png b/lib/api/bc_s.png
deleted file mode 100644
index fd162ea76db92647e51fbcd742f46c016f9f633d..0000000000000000000000000000000000000000
Binary files a/lib/api/bc_s.png and /dev/null differ
diff --git a/lib/api/bdwn.png b/lib/api/bdwn.png
deleted file mode 100644
index 7c943f0178f06cc641b5e069ca6ec290369c8023..0000000000000000000000000000000000000000
Binary files a/lib/api/bdwn.png and /dev/null differ
diff --git a/lib/api/classAudit-members.html b/lib/api/classAudit-members.html
deleted file mode 100644
index 8579936652a9bc3e3f3f7fb10e636911d54caf4f..0000000000000000000000000000000000000000
--- a/lib/api/classAudit-members.html
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Member List
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Audit , including all inherited members.
-
diff --git a/lib/api/classAudit.html b/lib/api/classAudit.html
deleted file mode 100644
index f166d2dff48bcbe6f5fbdc8f2c8c09f11e220190..0000000000000000000000000000000000000000
--- a/lib/api/classAudit.html
+++ /dev/null
@@ -1,399 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Audit Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
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:
-
diff --git a/lib/api/classAudit.png b/lib/api/classAudit.png
deleted file mode 100644
index f2bb9eb12d86f0b86050b63c8f2eacd13d765e0c..0000000000000000000000000000000000000000
Binary files a/lib/api/classAudit.png and /dev/null differ
diff --git a/lib/api/classAuth-members.html b/lib/api/classAuth-members.html
deleted file mode 100644
index 9d87f772a5f1bd114b0c2edc52f1cd6e3c89f1df..0000000000000000000000000000000000000000
--- a/lib/api/classAuth-members.html
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Member List
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Auth , including all inherited members.
-
- $args Auth
- $mapper Auth
- $storage Auth protected
- __construct ($storage, array $args=NULL)Auth
- _jig ($id, $pw, $realm)Auth protected
- _ldap ($id, $pw)Auth protected
- _mongo ($id, $pw, $realm)Auth protected
- _smtp ($id, $pw)Auth protected
- _sql ($id, $pw, $realm)Auth protected
- basic ($func=NULL)Auth
- E_LDAP (defined in Auth )Auth
- E_SMTP (defined in Auth )Auth
- login ($id, $pw, $realm=NULL)Auth
-
diff --git a/lib/api/classAuth.html b/lib/api/classAuth.html
deleted file mode 100644
index 27fb8d92bc8a56d87ff4ae3371964e2ea61b3707..0000000000000000000000000000000000000000
--- a/lib/api/classAuth.html
+++ /dev/null
@@ -1,431 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Auth Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Authorization/authentication plug-in.
- More...
-
-
- login ($id, $pw, $realm=NULL)
-
- basic ($func=NULL)
-
- __construct ($storage, array $args=NULL)
-
-
-
-
- $mapper
- Mapper object.
-
-
- $args
- Storage options.
-
-
-
-const E_LDAP ='LDAP connection failure'
-
-
-const E_SMTP ='SMTP connection failure'
-
-
-
- _jig ($id, $pw, $realm)
-
- _mongo ($id, $pw, $realm)
-
- _sql ($id, $pw, $realm)
-
- _ldap ($id, $pw)
-
- _smtp ($id, $pw)
-
-
-
-
Authorization/authentication plug-in.
-
-
-
-
-
-
- Auth::__construct
- (
-
- $storage ,
-
-
-
-
- array
- $args = NULL
-
-
-
- )
-
-
-
-
-
Instantiate class
Returns object
-
Parameters
-
- $storage string|object
- $args array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Auth::_jig
- (
-
- $id ,
-
-
-
-
-
- $pw ,
-
-
-
-
-
- $realm
-
-
-
- )
-
-
-
-
-
-protected
-
-
-
-
Jig storage handler
Returns bool
-
Parameters
-
- $id string
- $pw string
- $realm string
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Auth::_ldap
- (
-
- $id ,
-
-
-
-
-
- $pw
-
-
-
- )
-
-
-
-
-
-protected
-
-
-
-
LDAP storage handler
Returns bool
-
Parameters
-
- $id string
- $pw string
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Auth::_mongo
- (
-
- $id ,
-
-
-
-
-
- $pw ,
-
-
-
-
-
- $realm
-
-
-
- )
-
-
-
-
-
-protected
-
-
-
-
MongoDB storage handler
Returns bool
-
Parameters
-
- $id string
- $pw string
- $realm string
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Auth::_smtp
- (
-
- $id ,
-
-
-
-
-
- $pw
-
-
-
- )
-
-
-
-
-
-protected
-
-
-
-
SMTP storage handler
Returns bool
-
Parameters
-
- $id string
- $pw string
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Auth::_sql
- (
-
- $id ,
-
-
-
-
-
- $pw ,
-
-
-
-
-
- $realm
-
-
-
- )
-
-
-
-
-
-protected
-
-
-
-
SQL storage handler
Returns bool
-
Parameters
-
- $id string
- $pw string
- $realm string
-
-
-
-
-
-
-
-
-
-
-
- Auth::basic
- (
-
- $func = NULL
)
-
-
-
-
-
HTTP basic auth mechanism
Returns bool
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Auth::login
- (
-
- $id ,
-
-
-
-
-
- $pw ,
-
-
-
-
-
- $realm = NULL
-
-
-
- )
-
-
-
-
-
Login auth mechanism
Returns bool
-
Parameters
-
- $id string
- $pw string
- $realm string
-
-
-
-
-
-
-
The documentation for this class was generated from the following file:
-
diff --git a/lib/api/classBase-members.html b/lib/api/classBase-members.html
deleted file mode 100644
index 3202e49b7d06c13c2ec91eb063726871e5162deb..0000000000000000000000000000000000000000
--- a/lib/api/classBase-members.html
+++ /dev/null
@@ -1,163 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Member List
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Base , including all inherited members.
-
- $fallback Base
- $init Base
- $languages Base
- __construct ()Base
- autoload ($class)Base protected
- base64 ($data, $mime)Base
- blacklisted ($ip)Base
- build ($url)Base
- call ($func, $args=NULL, $hooks='')Base
- camelcase ($str)Base
- chain ($funcs, $args=NULL)Base
- clean ($arg, $tags=NULL)Base
- clear ($key)Base
- compile ($str)Base
- concat ($key, $val)Base
- config ($file)Base
- copy ($src, $dst)Base
- CSS Base
- csv (array $args)Base
- decode ($str)Base
- devoid ($key)Base
- dump ($expr)Base
- E_Class (defined in Base )Base
- E_Fatal (defined in Base )Base
- E_Hive (defined in Base )Base
- E_Method (defined in Base )Base
- E_Named (defined in Base )Base
- E_Open (defined in Base )Base
- E_Pattern (defined in Base )Base
- E_Routes (defined in Base )Base
- encode ($str)Base
- error ($code, $text='', array $trace=NULL)Base
- exists ($key, &$val=NULL)Base
- expire ($secs=0)Base
- fixslashes ($str)Base
- flip ($key)Base
- format ()Base
- get ($key, $args=NULL)Base
- GLOBALS Base
- hash ($str)Base
- highlight ($text)Base
- hive ()Base
- HTTP_100 (defined in Base )Base
- HTTP_101 (defined in Base )Base
- HTTP_200 (defined in Base )Base
- HTTP_201 (defined in Base )Base
- HTTP_202 (defined in Base )Base
- HTTP_203 (defined in Base )Base
- HTTP_204 (defined in Base )Base
- HTTP_205 (defined in Base )Base
- HTTP_206 (defined in Base )Base
- HTTP_300 (defined in Base )Base
- HTTP_301 (defined in Base )Base
- HTTP_302 (defined in Base )Base
- HTTP_303 (defined in Base )Base
- HTTP_304 (defined in Base )Base
- HTTP_305 (defined in Base )Base
- HTTP_307 (defined in Base )Base
- HTTP_400 (defined in Base )Base
- HTTP_401 (defined in Base )Base
- HTTP_402 (defined in Base )Base
- HTTP_403 (defined in Base )Base
- HTTP_404 (defined in Base )Base
- HTTP_405 (defined in Base )Base
- HTTP_406 (defined in Base )Base
- HTTP_407 (defined in Base )Base
- HTTP_408 (defined in Base )Base
- HTTP_409 (defined in Base )Base
- HTTP_410 (defined in Base )Base
- HTTP_411 (defined in Base )Base
- HTTP_412 (defined in Base )Base
- HTTP_413 (defined in Base )Base
- HTTP_414 (defined in Base )Base
- HTTP_415 (defined in Base )Base
- HTTP_416 (defined in Base )Base
- HTTP_417 (defined in Base )Base
- HTTP_500 (defined in Base )Base
- HTTP_501 (defined in Base )Base
- HTTP_502 (defined in Base )Base
- HTTP_503 (defined in Base )Base
- HTTP_504 (defined in Base )Base
- HTTP_505 (defined in Base )Base
- instance ()Prefab static
- language ($code)Base
- lexicon ($path)Base
- map ($url, $class, $ttl=0, $kbps=0)Base
- merge ($key, $src)Base
- mock ($pattern, array $args=NULL, array $headers=NULL, $body=NULL)Base
- MODE Base
- mset (array $vars, $prefix='', $ttl=0)Base
- mutex ($id, $func, $args=NULL)Base
- PACKAGE (defined in Base )Base
- parse ($str)Base
- pop ($key)Base
- push ($key, $val)Base
- read ($file, $lf=FALSE)Base
- recursive ($arg, $func, $stack=NULL)Base
- redirect ($pattern, $url)Base
- ref ($key, $add=TRUE)Base
- rel ($url)Base
- relay ($funcs, $args=NULL)Base
- REQ_AJAX (defined in Base )Base
- REQ_SYNC (defined in Base )Base
- reroute ($url, $permanent=FALSE)Base
- route ($pattern, $handler, $ttl=0, $kbps=0)Base
- run ()Base
- scrub (&$var, $tags=NULL)Base
- serialize ($arg)Base
- set ($key, $val, $ttl=0)Base
- shift ($key)Base
- sign ($num)Base
- snakecase ($str)Base
- split ($str)Base
- status ($code)Base
- stringify ($arg, array $stack=NULL)Base
- sync ($key)Base
- unload ($cwd)Base
- unserialize ($arg)Base
- unshift ($key, $val)Base
- VERBS Base
- VERSION (defined in Base )Base
- write ($file, $data, $append=FALSE)Base
-
diff --git a/lib/api/classBase.html b/lib/api/classBase.html
deleted file mode 100644
index 5ac0cde43b9fc5572395910854c90f7935169bf5..0000000000000000000000000000000000000000
--- a/lib/api/classBase.html
+++ /dev/null
@@ -1,2171 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Base Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Base structure.
- More...
-
-
-
-
-
-
-
-
-
-
-
-
- sync ($key)
-
- build ($url)
-
- parse ($str)
-
- compile ($str)
-
-& ref ($key, $add=TRUE)
-
- exists ($key, &$val=NULL)
-
- devoid ($key)
-
- set ($key, $val, $ttl=0)
-
- get ($key, $args=NULL)
-
- clear ($key)
-
- mset (array $vars, $prefix='', $ttl=0)
-
- hive ()
-
- copy ($src, $dst)
-
- concat ($key, $val)
-
- flip ($key)
-
- push ($key, $val)
-
- pop ($key)
-
- unshift ($key, $val)
-
- shift ($key)
-
- merge ($key, $src)
-
- fixslashes ($str)
-
- split ($str)
-
- stringify ($arg, array $stack=NULL)
-
- csv (array $args)
-
- camelcase ($str)
-
- snakecase ($str)
-
- sign ($num)
-
- hash ($str)
-
- base64 ($data, $mime)
-
- encode ($str)
-
- decode ($str)
-
- recursive ($arg, $func, $stack=NULL)
-
- clean ($arg, $tags=NULL)
-
- scrub (&$var, $tags=NULL)
-
- format ()
-
- language ($code)
-
- lexicon ($path)
-
- serialize ($arg)
-
- unserialize ($arg)
-
- status ($code)
-
- expire ($secs=0)
-
- error ($code, $text='', array $trace=NULL)
-
- mock ($pattern, array $args=NULL, array $headers=NULL, $body=NULL)
-
- route ($pattern, $handler, $ttl=0, $kbps=0)
-
- reroute ($url, $permanent=FALSE)
-
- map ($url, $class, $ttl=0, $kbps=0)
-
- redirect ($pattern, $url)
-
- blacklisted ($ip)
-
- run ()
-
- call ($func, $args=NULL, $hooks='')
-
- chain ($funcs, $args=NULL)
-
- relay ($funcs, $args=NULL)
-
- config ($file)
-
- mutex ($id, $func, $args=NULL)
-
- read ($file, $lf=FALSE)
-
- write ($file, $data, $append=FALSE)
-
- highlight ($text)
-
- dump ($expr)
-
- rel ($url)
-
- unload ($cwd)
-
-
- __construct ()
- Bootstrap.
-
-
-
-
-const GLOBALS ='GET|POST|COOKIE|REQUEST|SESSION|FILES|SERVER|ENV'
- Mapped PHP globals.
-
-
-const VERBS ='GET|HEAD|POST|PUT|PATCH|DELETE|CONNECT'
- HTTP verbs.
-
-
-const MODE =0755
- Default directory permissions.
-
-
-const CSS ='code.css'
- Syntax highlighting stylesheet.
-
-
- $init
- Initial settings.
-
-
- $languages
- Language lookup sequence.
-
-
- $fallback ='en'
- Default fallback language.
-
-
-
-const PACKAGE ='Fat-Free Framework'
-
-
-const VERSION ='3.3.0-Release'
-
-
-
-const HTTP_100 ='Continue'
-
-
-const HTTP_101 ='Switching Protocols'
-
-
-const HTTP_200 ='OK'
-
-
-const HTTP_201 ='Created'
-
-
-const HTTP_202 ='Accepted'
-
-
-const HTTP_203 ='Non-Authorative Information'
-
-
-const HTTP_204 ='No Content'
-
-
-const HTTP_205 ='Reset Content'
-
-
-const HTTP_206 ='Partial Content'
-
-
-const HTTP_300 ='Multiple Choices'
-
-
-const HTTP_301 ='Moved Permanently'
-
-
-const HTTP_302 ='Found'
-
-
-const HTTP_303 ='See Other'
-
-
-const HTTP_304 ='Not Modified'
-
-
-const HTTP_305 ='Use Proxy'
-
-
-const HTTP_307 ='Temporary Redirect'
-
-
-const HTTP_400 ='Bad Request'
-
-
-const HTTP_401 ='Unauthorized'
-
-
-const HTTP_402 ='Payment Required'
-
-
-const HTTP_403 ='Forbidden'
-
-
-const HTTP_404 ='Not Found'
-
-
-const HTTP_405 ='Method Not Allowed'
-
-
-const HTTP_406 ='Not Acceptable'
-
-
-const HTTP_407 ='Proxy Authentication Required'
-
-
-const HTTP_408 ='Request Timeout'
-
-
-const HTTP_409 ='Conflict'
-
-
-const HTTP_410 ='Gone'
-
-
-const HTTP_411 ='Length Required'
-
-
-const HTTP_412 ='Precondition Failed'
-
-
-const HTTP_413 ='Request Entity Too Large'
-
-
-const HTTP_414 ='Request-URI Too Long'
-
-
-const HTTP_415 ='Unsupported Media Type'
-
-
-const HTTP_416 ='Requested Range Not Satisfiable'
-
-
-const HTTP_417 ='Expectation Failed'
-
-
-const HTTP_500 ='Internal Server Error'
-
-
-const HTTP_501 ='Not Implemented'
-
-
-const HTTP_502 ='Bad Gateway'
-
-
-const HTTP_503 ='Service Unavailable'
-
-
-const HTTP_504 ='Gateway Timeout'
-
-
-const HTTP_505 ='HTTP Version Not Supported'
-
-
-
-const REQ_SYNC =1
-
-
-const REQ_AJAX =2
-
-
-
-const E_Pattern ='Invalid routing pattern: %s'
-
-
-const E_Named ='Named route does not exist: %s'
-
-
-const E_Fatal ='Fatal error: %s'
-
-
-const E_Open ='Unable to open %s'
-
-
-const E_Routes ='No routes specified'
-
-
-const E_Class ='Invalid class %s'
-
-
-const E_Method ='Invalid method %s'
-
-
-const E_Hive ='Invalid hive key %s'
-
-
-
-
-
-
-
-
-
-
-
-
- Base::autoload
- (
-
- $class )
-
-
-
-
-
-protected
-
-
-
-
Namespace-aware class autoloader
Returns mixed
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::base64
- (
-
- $data ,
-
-
-
-
-
- $mime
-
-
-
- )
-
-
-
-
-
Return Base64-encoded equivalent
Returns string
-
Parameters
-
- $data string
- $mime string
-
-
-
-
-
-
-
-
-
-
-
- Base::blacklisted
- (
-
- $ip )
-
-
-
-
-
Return TRUE if IPv4 address exists in DNSBL
Returns bool
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::build
- (
-
- $url )
-
-
-
-
-
Replace tokenized URL with current route's token values
Returns string
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::call
- (
-
- $func ,
-
-
-
-
-
- $args = NULL
,
-
-
-
-
-
- $hooks = ''
-
-
-
- )
-
-
-
-
-
Execute callback/hooks (supports 'class->method' format)
Returns mixed|FALSE
-
Parameters
-
- $func callback
- $args mixed
- $hooks string
-
-
-
-
-
-
-
-
-
-
-
- Base::camelcase
- (
-
- $str )
-
-
-
-
-
Convert snakecase string to camelcase
Returns string
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::chain
- (
-
- $funcs ,
-
-
-
-
-
- $args = NULL
-
-
-
- )
-
-
-
-
-
Execute specified callbacks in succession; Apply same arguments to all callbacks
Returns array
-
Parameters
-
- $funcs array|string
- $args mixed
-
-
-
-
-
-
-
-
-
-
-
- Base::clean
- (
-
- $arg ,
-
-
-
-
-
- $tags = NULL
-
-
-
- )
-
-
-
-
-
Remove HTML tags (except those enumerated) and non-printable characters to mitigate XSS/code injection attacks
Returns mixed
-
Parameters
-
- $arg mixed
- $tags string
-
-
-
-
-
-
-
-
-
-
-
- Base::clear
- (
-
- $key )
-
-
-
-
-
Unset hive key
Returns NULL
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::compile
- (
-
- $str )
-
-
-
-
-
Convert JS-style token to PHP expression
Returns string
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::concat
- (
-
- $key ,
-
-
-
-
-
- $val
-
-
-
- )
-
-
-
-
-
Concatenate string to hive string variable
Returns string
-
Parameters
-
- $key string
- $val string
-
-
-
-
-
-
-
-
-
-
-
- Base::config
- (
-
- $file )
-
-
-
-
-
Configure framework according to .ini-style file settings
Returns NULL
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::copy
- (
-
- $src ,
-
-
-
-
-
- $dst
-
-
-
- )
-
-
-
-
-
Copy contents of hive variable to another
Returns mixed
-
Parameters
-
- $src string
- $dst string
-
-
-
-
-
-
-
-
-
-
-
- Base::csv
- (
- array
- $args )
-
-
-
-
-
Flatten array values and return as CSV string
Returns string
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::decode
- (
-
- $str )
-
-
-
-
-
Convert HTML entities back to characters
Returns string
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::devoid
- (
-
- $key )
-
-
-
-
-
Return TRUE if hive key is empty and not cached
Returns bool
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::dump
- (
-
- $expr )
-
-
-
-
-
Dump expression with syntax highlighting
Returns NULL
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::encode
- (
-
- $str )
-
-
-
-
-
Convert special characters to HTML entities
Returns string
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::error
- (
-
- $code ,
-
-
-
-
-
- $text = ''
,
-
-
-
-
- array
- $trace = NULL
-
-
-
- )
-
-
-
-
-
Log error; Execute ONERROR handler if defined, else display default error page (HTML for synchronous requests, JSON string for AJAX requests)
Returns NULL
-
Parameters
-
- $code int
- $text string
- $trace array
-
-
-
-
-
-
-
-
-
-
-
- Base::exists
- (
-
- $key ,
-
-
-
-
- &
- $val = NULL
-
-
-
- )
-
-
-
-
-
Return TRUE if hive key is set (or return timestamp and TTL if cached)
Returns bool
-
Parameters
-
- $key string
- $val mixed
-
-
-
-
-
-
-
-
-
-
-
- Base::expire
- (
-
- $secs = 0
)
-
-
-
-
-
Send cache metadata to HTTP client
Returns NULL
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::fixslashes
- (
-
- $str )
-
-
-
-
-
Convert backslashes to slashes
Returns string
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::flip
- (
-
- $key )
-
-
-
-
-
Swap keys and values of hive array variable
Returns array
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::format
- (
- )
-
-
-
-
-
Return locale-aware formatted string
Returns string
-
-
-
-
-
-
-
-
- Base::get
- (
-
- $key ,
-
-
-
-
-
- $args = NULL
-
-
-
- )
-
-
-
-
-
Retrieve contents of hive key
Returns mixed
-
Parameters
-
- $key string
- $args string|array
-
-
-
-
-
-
-
-
-
-
-
- Base::hash
- (
-
- $str )
-
-
-
-
-
Generate 64bit/base36 hash
Returns string
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::highlight
- (
-
- $text )
-
-
-
-
-
Apply syntax highlighting
Returns string
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::hive
- (
- )
-
-
-
-
-
Publish hive contents
Returns array
-
-
-
-
-
-
-
-
- Base::language
- (
-
- $code )
-
-
-
-
-
Assign/auto-detect language
Returns string
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::lexicon
- (
-
- $path )
-
-
-
-
-
Transfer lexicon entries to hive
Returns array
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::map
- (
-
- $url ,
-
-
-
-
-
- $class ,
-
-
-
-
-
- $ttl = 0
,
-
-
-
-
-
- $kbps = 0
-
-
-
- )
-
-
-
-
-
Provide ReST interface by mapping HTTP verb to class method
Returns NULL
-
Parameters
-
- $url string
- $class string
- $ttl int
- $kbps int
-
-
-
-
-
-
-
-
-
-
-
- Base::merge
- (
-
- $key ,
-
-
-
-
-
- $src
-
-
-
- )
-
-
-
-
-
Merge array with hive array variable
Returns array
-
Parameters
-
- $key string
- $src string|array
-
-
-
-
-
-
-
-
-
-
-
- Base::mock
- (
-
- $pattern ,
-
-
-
-
- array
- $args = NULL
,
-
-
-
-
- array
- $headers = NULL
,
-
-
-
-
-
- $body = NULL
-
-
-
- )
-
-
-
-
-
Mock HTTP request
Returns NULL
-
Parameters
-
- $pattern string
- $args array
- $headers array
- $body string
-
-
-
-
-
-
-
-
-
-
-
- Base::mset
- (
- array
- $vars ,
-
-
-
-
-
- $prefix = ''
,
-
-
-
-
-
- $ttl = 0
-
-
-
- )
-
-
-
-
-
Multi-variable assignment using associative array
Returns NULL
-
Parameters
-
- $vars array
- $prefix string
- $ttl int
-
-
-
-
-
-
-
-
-
-
-
- Base::mutex
- (
-
- $id ,
-
-
-
-
-
- $func ,
-
-
-
-
-
- $args = NULL
-
-
-
- )
-
-
-
-
-
Create mutex, invoke callback then drop ownership when done
Returns mixed
-
Parameters
-
- $id string
- $func callback
- $args mixed
-
-
-
-
-
-
-
-
-
-
-
- Base::parse
- (
-
- $str )
-
-
-
-
-
Parse string containing key-value pairs and use as routing tokens
Returns NULL
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::pop
- (
-
- $key )
-
-
-
-
-
Remove last element of hive array variable
Returns mixed
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::push
- (
-
- $key ,
-
-
-
-
-
- $val
-
-
-
- )
-
-
-
-
-
Add element to the end of hive array variable
Returns mixed
-
Parameters
-
- $key string
- $val mixed
-
-
-
-
-
-
-
-
-
-
-
- Base::read
- (
-
- $file ,
-
-
-
-
-
- $lf = FALSE
-
-
-
- )
-
-
-
-
-
Read file (with option to apply Unix LF as standard line ending)
Returns string
-
Parameters
-
- $file string
- $lf bool
-
-
-
-
-
-
-
-
-
-
-
- Base::recursive
- (
-
- $arg ,
-
-
-
-
-
- $func ,
-
-
-
-
-
- $stack = NULL
-
-
-
- )
-
-
-
-
-
Invoke callback recursively for all data types
Returns mixed
-
Parameters
-
- $arg mixed
- $func callback
- $stack array
-
-
-
-
-
-
-
-
-
-
-
- Base::redirect
- (
-
- $pattern ,
-
-
-
-
-
- $url
-
-
-
- )
-
-
-
-
-
Redirect a route to another URL
Returns NULL
-
Parameters
-
- $pattern string|array
- $url string
-
-
-
-
-
-
-
-
-
-
-
- & Base::ref
- (
-
- $key ,
-
-
-
-
-
- $add = TRUE
-
-
-
- )
-
-
-
-
-
Get hive key reference/contents; Add non-existent hive keys, array elements, and object properties by default
Returns mixed
-
Parameters
-
- $key string
- $add bool
-
-
-
-
-
-
-
-
-
-
-
- Base::rel
- (
-
- $url )
-
-
-
-
-
Return path relative to the base directory
Returns string
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::relay
- (
-
- $funcs ,
-
-
-
-
-
- $args = NULL
-
-
-
- )
-
-
-
-
-
Execute specified callbacks in succession; Relay result of previous callback as argument to the next callback
Returns array
-
Parameters
-
- $funcs array|string
- $args mixed
-
-
-
-
-
-
-
-
-
-
-
- Base::reroute
- (
-
- $url ,
-
-
-
-
-
- $permanent = FALSE
-
-
-
- )
-
-
-
-
-
Reroute to specified URI
Returns NULL
-
Parameters
-
- $url string
- $permanent bool
-
-
-
-
-
-
-
-
-
-
-
- Base::route
- (
-
- $pattern ,
-
-
-
-
-
- $handler ,
-
-
-
-
-
- $ttl = 0
,
-
-
-
-
-
- $kbps = 0
-
-
-
- )
-
-
-
-
-
Bind handler to route pattern
Returns NULL
-
Parameters
-
- $pattern string|array
- $handler callback
- $ttl int
- $kbps int
-
-
-
-
-
-
-
-
-
-
-
- Base::run
- (
- )
-
-
-
-
-
Match routes against incoming URI
Returns NULL
-
-
-
-
-
-
-
-
- Base::scrub
- (
- &
- $var ,
-
-
-
-
-
- $tags = NULL
-
-
-
- )
-
-
-
-
-
Similar to clean(), except that variable is passed by reference
Returns mixed
-
Parameters
-
- $var mixed
- $tags string
-
-
-
-
-
-
-
-
-
-
-
- Base::serialize
- (
-
- $arg )
-
-
-
-
-
Return string representation of PHP value
Returns string
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::set
- (
-
- $key ,
-
-
-
-
-
- $val ,
-
-
-
-
-
- $ttl = 0
-
-
-
- )
-
-
-
-
-
Bind value to hive key
Returns mixed
-
Parameters
-
- $key string
- $val mixed
- $ttl int
-
-
-
-
-
-
-
-
-
-
-
- Base::shift
- (
-
- $key )
-
-
-
-
-
Remove first element of hive array variable
Returns mixed
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::sign
- (
-
- $num )
-
-
-
-
-
Return -1 if specified number is negative, 0 if zero, or 1 if the number is positive
Returns int
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::snakecase
- (
-
- $str )
-
-
-
-
-
Convert camelcase string to snakecase
Returns string
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::split
- (
-
- $str )
-
-
-
-
-
Split comma-, semi-colon, or pipe-separated string
Returns array
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::status
- (
-
- $code )
-
-
-
-
-
Send HTTP/1.1 status header; Return text equivalent of status code
Returns string
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::stringify
- (
-
- $arg ,
-
-
-
-
- array
- $stack = NULL
-
-
-
- )
-
-
-
-
-
Convert PHP expression/value to compressed exportable string
Returns string
-
Parameters
-
- $arg mixed
- $stack array
-
-
-
-
-
-
-
-
-
-
-
- Base::sync
- (
-
- $key )
-
-
-
-
-
Sync PHP global with corresponding hive key
Returns array
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::unload
- (
-
- $cwd )
-
-
-
-
-
Execute framework/application shutdown sequence
Returns NULL
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::unserialize
- (
-
- $arg )
-
-
-
-
-
Return PHP value derived from string
Returns string
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Base::unshift
- (
-
- $key ,
-
-
-
-
-
- $val
-
-
-
- )
-
-
-
-
-
Add element to the beginning of hive array variable
Returns mixed
-
Parameters
-
- $key string
- $val mixed
-
-
-
-
-
-
-
-
-
-
-
- Base::write
- (
-
- $file ,
-
-
-
-
-
- $data ,
-
-
-
-
-
- $append = FALSE
-
-
-
- )
-
-
-
-
-
Exclusive file write
Returns int|FALSE
-
Parameters
-
- $file string
- $data mixed
- $append bool
-
-
-
-
-
-
-
The documentation for this class was generated from the following file:
-
diff --git a/lib/api/classBase.png b/lib/api/classBase.png
deleted file mode 100644
index 8b95990b5130288c975a1eb78f7e2cde470e8949..0000000000000000000000000000000000000000
Binary files a/lib/api/classBase.png and /dev/null differ
diff --git a/lib/api/classBasket-members.html b/lib/api/classBasket-members.html
deleted file mode 100644
index ad70f434ffacfa49dcef7807cc887b12958a6525..0000000000000000000000000000000000000000
--- a/lib/api/classBasket-members.html
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Member List
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Basket , including all inherited members.
-
diff --git a/lib/api/classBasket.html b/lib/api/classBasket.html
deleted file mode 100644
index 02e1e7d3b1e2de7ddd1a0ebeb291f41bf0b6a0fb..0000000000000000000000000000000000000000
--- a/lib/api/classBasket.html
+++ /dev/null
@@ -1,517 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Basket Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Session-based pseudo-mapper.
- More...
-
-
-
- $id
- Current item identifier.
-
-
- $item =array()
- Current item contents.
-
-
-
-const E_Field ='Undefined field %s'
-
-
-
-
- $key
- Session key.
-
-
-
-
Session-based pseudo-mapper.
-
-
-
-
-
-
- Basket::__construct
- (
-
- $key = 'basket'
)
-
-
-
-
-
Instantiate class
Returns void
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
-
- Basket::checkout
- (
- )
-
-
-
-
-
Check out basket contents
Returns array
-
-
-
-
-
-
-
-
- Basket::clear
- (
-
- $key )
-
-
-
-
-
Delete field
Returns NULL
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Basket::copyfrom
- (
-
- $key )
-
-
-
-
-
Hydrate item using hive array variable
Returns NULL
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Basket::copyto
- (
-
- $key )
-
-
-
-
-
Populate hive array variable with item contents
Returns NULL
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Basket::count
- (
- )
-
-
-
-
-
Return number of items in basket
Returns int
-
-
-
-
-
-
-
-
- Basket::drop
- (
- )
-
-
-
-
-
Empty basket
Returns NULL
-
-
-
-
-
-
-
-
- Basket::dry
- (
- )
-
-
-
-
-
Return TRUE if current item is empty/undefined
Returns bool
-
-
-
-
-
-
-
-
- Basket::erase
- (
-
- $key ,
-
-
-
-
-
- $val
-
-
-
- )
-
-
-
-
-
Erase item matching key/value pair
Returns bool
-
Parameters
-
- $key string
- $val mixed
-
-
-
-
-
-
-
-
-
-
-
- Basket::exists
- (
-
- $key )
-
-
-
-
-
Return TRUE if field is defined
Returns bool
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Basket::find
- (
-
- $key = NULL
,
-
-
-
-
-
- $val = NULL
-
-
-
- )
-
-
-
-
-
Return items that match key/value pair; If no key/value pair specified, return all items
Returns array|FALSE
-
Parameters
-
- $key string
- $val mixed
-
-
-
-
-
-
-
-
-
-
-
- Basket::findone
- (
-
- $key ,
-
-
-
-
-
- $val
-
-
-
- )
-
-
-
-
-
Return first item that matches key/value pair
Returns object|FALSE
-
Parameters
-
- $key string
- $val mixed
-
-
-
-
-
-
-
-
-
-
-
- Basket::get
- (
-
- $key )
-
-
-
-
-
Retrieve value of field
Returns scalar|FALSE
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Basket::load
- (
-
- $key ,
-
-
-
-
-
- $val
-
-
-
- )
-
-
-
-
-
Map current item to matching key/value pair
Returns array
-
Parameters
-
- $key string
- $val mixed
-
-
-
-
-
-
-
-
-
-
-
- Basket::reset
- (
- )
-
-
-
-
-
Reset cursor
Returns NULL
-
-
-
-
-
-
-
-
- Basket::save
- (
- )
-
-
-
-
-
Save current item
Returns array
-
-
-
-
-
-
-
-
- Basket::set
- (
-
- $key ,
-
-
-
-
-
- $val
-
-
-
- )
-
-
-
-
-
Assign value to field
Returns scalar|FALSE
-
Parameters
-
- $key string
- $val scalar
-
-
-
-
-
-
-
The documentation for this class was generated from the following file:
-
diff --git a/lib/api/classBcrypt-members.html b/lib/api/classBcrypt-members.html
deleted file mode 100644
index 10d90bfcd0bed6d583bf692f58cc674f1ee36fd7..0000000000000000000000000000000000000000
--- a/lib/api/classBcrypt-members.html
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Member List
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Bcrypt , including all inherited members.
-
diff --git a/lib/api/classBcrypt.html b/lib/api/classBcrypt.html
deleted file mode 100644
index 6a9834a892870f0a9c5e1f8fe56b8211202b80cb..0000000000000000000000000000000000000000
--- a/lib/api/classBcrypt.html
+++ /dev/null
@@ -1,201 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Bcrypt Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lightweight password hashing library.
- More...
-
-
-
-
-
-
-
-
-
-
-
-
-
-const COST =10
- Default cost.
-
-
-
-const E_CostArg ='Invalid cost parameter'
-
-
-const E_SaltArg ='Salt must be at least 22 alphanumeric characters'
-
-
-
-
Lightweight password hashing library.
-
-
-
-
-
-
- Bcrypt::hash
- (
-
- $pw ,
-
-
-
-
-
- $salt = NULL
,
-
-
-
-
-
- $cost = self::COST
-
-
-
- )
-
-
-
-
-
Generate bcrypt hash of string
Returns string|FALSE
-
Parameters
-
- $pw string
- $salt string
- $cost int
-
-
-
-
-
-
-
-
-
-
-
- Bcrypt::needs_rehash
- (
-
- $hash ,
-
-
-
-
-
- $cost = self::COST
-
-
-
- )
-
-
-
-
-
Check if password is still strong enough
Returns bool
-
Parameters
-
- $hash string
- $cost int
-
-
-
-
-
-
-
-
-
-
-
- Bcrypt::verify
- (
-
- $pw ,
-
-
-
-
-
- $hash
-
-
-
- )
-
-
-
-
-
Verify password against hash using timing attack resistant approach
Returns bool
-
Parameters
-
- $pw string
- $hash string
-
-
-
-
-
-
-
The documentation for this class was generated from the following file:
-
diff --git a/lib/api/classBcrypt.png b/lib/api/classBcrypt.png
deleted file mode 100644
index caea9bec3fe53bad2b5593f4509485ed17f4417b..0000000000000000000000000000000000000000
Binary files a/lib/api/classBcrypt.png and /dev/null differ
diff --git a/lib/api/classCache-members.html b/lib/api/classCache-members.html
deleted file mode 100644
index e9ab92f61e95c055a2d66c175b44cc2764069f90..0000000000000000000000000000000000000000
--- a/lib/api/classCache-members.html
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Member List
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Cache , including all inherited members.
-
diff --git a/lib/api/classCache.html b/lib/api/classCache.html
deleted file mode 100644
index 0cde884c1a163b19d8b08af6305764fb572a8ec9..0000000000000000000000000000000000000000
--- a/lib/api/classCache.html
+++ /dev/null
@@ -1,307 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Cache Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Cache engine.
- More...
-
-
-
-
-
-
-
-
-
-
-
-
-
- $prefix
- Prefix for cache entries.
-
-
- $ref
- MemCache or Redis object.
-
-
-
-
- $dsn
- Cache DSN.
-
-
-
-
-
-
-
-
-
- Cache::__construct
- (
-
- $dsn = FALSE
)
-
-
-
-
-
Class constructor
Returns object
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
-
- Cache::clear
- (
-
- $key )
-
-
-
-
-
Delete cache entry
Returns bool
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Cache::exists
- (
-
- $key ,
-
-
-
-
- &
- $val = NULL
-
-
-
- )
-
-
-
-
-
Return timestamp and TTL of cache entry or FALSE if not found
Returns array|FALSE
-
Parameters
-
- $key string
- $val mixed
-
-
-
-
-
-
-
-
-
-
-
- Cache::get
- (
-
- $key )
-
-
-
-
-
Retrieve value of cache entry
Returns mixed|FALSE
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Cache::load
- (
-
- $dsn )
-
-
-
-
-
Load/auto-detect cache backend
Returns string
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- Cache::reset
- (
-
- $suffix = NULL
,
-
-
-
-
-
- $lifetime = 0
-
-
-
- )
-
-
-
-
-
Clear contents of cache backend
Returns bool
-
Parameters
-
- $suffix string
- $lifetime int
-
-
-
-
-
-
-
-
-
-
-
- Cache::set
- (
-
- $key ,
-
-
-
-
-
- $val ,
-
-
-
-
-
- $ttl = 0
-
-
-
- )
-
-
-
-
-
Store value in cache
Returns mixed|FALSE
-
Parameters
-
- $key string
- $val mixed
- $ttl int
-
-
-
-
-
-
-
The documentation for this class was generated from the following file:
-
diff --git a/lib/api/classCache.png b/lib/api/classCache.png
deleted file mode 100644
index 4093d229535da4c5abb83528a3540214a743e6d2..0000000000000000000000000000000000000000
Binary files a/lib/api/classCache.png and /dev/null differ
diff --git a/lib/api/classDB_1_1Cursor-members.html b/lib/api/classDB_1_1Cursor-members.html
deleted file mode 100644
index e1bbbdfba68ed42822b5159f68687d7db25773c7..0000000000000000000000000000000000000000
--- a/lib/api/classDB_1_1Cursor-members.html
+++ /dev/null
@@ -1,92 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Member List
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for DB\Cursor , including all inherited members.
-
- $ptr DB\Cursor
- $query DB\Cursor protected
- $trigger DB\Cursor
- __get ($key)Magic
- __isset ($key)Magic
- __set ($key, $val)Magic
- __unset ($key)Magic
- aftererase ($func)DB\Cursor
- afterinsert ($func)DB\Cursor
- afterupdate ($func)DB\Cursor
- beforeerase ($func)DB\Cursor
- beforeinsert ($func)DB\Cursor
- beforeupdate ($func)DB\Cursor
- cast ($obj=NULL)DB\Cursor
- clear ($key)Magic
- copyfrom ($key, $func=NULL)DB\Cursor
- copyto ($key)DB\Cursor
- count ($filter=NULL, $ttl=0)DB\Cursor
- dbtype ()DB\Cursor
- dry ()DB\Cursor
- E_Field (defined in DB\Cursor )DB\Cursor
- erase ()DB\Cursor
- exists ($key)Magic
- find ($filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- findone ($filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- first ()DB\Cursor
- get ($key)Magic
- insert ()DB\Cursor
- last ()DB\Cursor
- load ($filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- loaded ()DB\Cursor
- next ()DB\Cursor
- offsetexists ($key)Magic
- offsetget ($key)Magic
- offsetset ($key, $val)Magic
- offsetunset ($key)Magic
- onerase ($func)DB\Cursor
- oninsert ($func)DB\Cursor
- onload ($func)DB\Cursor
- onupdate ($func)DB\Cursor
- paginate ($pos=0, $size=10, $filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- prev ()DB\Cursor
- reset ()DB\Cursor
- save ()DB\Cursor
- set ($key, $val)Magic
- skip ($ofs=1)DB\Cursor
- update ()DB\Cursor
-
diff --git a/lib/api/classDB_1_1Cursor.html b/lib/api/classDB_1_1Cursor.html
deleted file mode 100644
index a53cdf9470508d2342fa02398f37909c4281e405..0000000000000000000000000000000000000000
--- a/lib/api/classDB_1_1Cursor.html
+++ /dev/null
@@ -1,987 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: DB\Cursor Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Simple cursor implementation.
- More...
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- dbtype ()
-
- cast ($obj=NULL)
-
- find ($filter=NULL, array $options=NULL, $ttl=0)
-
- count ($filter=NULL, $ttl=0)
-
- insert ()
-
- update ()
-
- copyfrom ($key, $func=NULL)
-
- copyto ($key)
-
- dry ()
-
- findone ($filter=NULL, array $options=NULL, $ttl=0)
-
- paginate ($pos=0, $size=10, $filter=NULL, array $options=NULL, $ttl=0)
-
- load ($filter=NULL, array $options=NULL, $ttl=0)
-
- loaded ()
-
- first ()
-
- last ()
-
- skip ($ofs=1)
-
- next ()
-
- prev ()
-
- save ()
-
- erase ()
-
- onload ($func)
-
- beforeinsert ($func)
-
- afterinsert ($func)
-
- oninsert ($func)
-
- beforeupdate ($func)
-
- afterupdate ($func)
-
- onupdate ($func)
-
- beforeerase ($func)
-
- aftererase ($func)
-
- onerase ($func)
-
- reset ()
-
-
- exists ($key)
-
- set ($key, $val)
-
- get ($key)
-
- clear ($key)
-
- offsetexists ($key)
-
- __isset ($key)
-
- offsetset ($key, $val)
-
- __set ($key, $val)
-
- offsetget ($key)
-
- __get ($key)
-
- offsetunset ($key)
-
- __unset ($key)
-
-
-
-
- $ptr =0
- Current position.
-
-
- $trigger =array()
- Event listeners.
-
-
-
-const E_Field ='Undefined field %s'
-
-
-
-
- $query =array()
- Query results.
-
-
-
-
Simple cursor implementation.
-
-
-
-
-
-
- DB\Cursor::aftererase
- (
-
- $func )
-
-
-
-
-
Define aftererase trigger
Returns callback
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Cursor::afterinsert
- (
-
- $func )
-
-
-
-
-
Define afterinsert trigger
Returns callback
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Cursor::afterupdate
- (
-
- $func )
-
-
-
-
-
Define afterupdate trigger
Returns callback
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Cursor::beforeerase
- (
-
- $func )
-
-
-
-
-
Define beforeerase trigger
Returns callback
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Cursor::beforeinsert
- (
-
- $func )
-
-
-
-
-
Define beforeinsert trigger
Returns callback
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Cursor::beforeupdate
- (
-
- $func )
-
-
-
-
-
Define beforeupdate trigger
Returns callback
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DB\Cursor::cast
- (
-
- $obj = NULL
)
-
-
-
-
-
-abstract
-
-
-
-
Return fields of mapper object as an associative array
Returns array
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DB\Cursor::copyfrom
- (
-
- $key ,
-
-
-
-
-
- $func = NULL
-
-
-
- )
-
-
-
-
-
-abstract
-
-
-
-
Hydrate mapper object using hive array variable
Returns NULL
-
Parameters
-
- $key string
- $func callback
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DB\Cursor::copyto
- (
-
- $key )
-
-
-
-
-
-abstract
-
-
-
-
Populate hive array variable with mapper fields
Returns NULL
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DB\Cursor::count
- (
-
- $filter = NULL
,
-
-
-
-
-
- $ttl = 0
-
-
-
- )
-
-
-
-
-
-abstract
-
-
-
-
Count records that match criteria
Returns int
-
Parameters
-
- $filter array
- $ttl int
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DB\Cursor::dbtype
- (
- )
-
-
-
-
-
-abstract
-
-
-
-
Return database type
Returns string
-
-
-
-
-
-
-
-
- DB\Cursor::dry
- (
- )
-
-
-
-
-
Return TRUE if current cursor position is not mapped to any record
Returns bool
-
-
-
-
-
-
-
-
- DB\Cursor::erase
- (
- )
-
-
-
-
-
Delete current record
Returns int|bool
-
-
-
-
-
-
-
-
-
-
-
- DB\Cursor::find
- (
-
- $filter = NULL
,
-
-
-
-
- array
- $options = NULL
,
-
-
-
-
-
- $ttl = 0
-
-
-
- )
-
-
-
-
-
-abstract
-
-
-
-
Return records (array of mapper objects) that match criteria
Returns array
-
Parameters
-
- $filter string|array
- $options array
- $ttl int
-
-
-
-
-
-
-
-
-
-
-
- DB\Cursor::findone
- (
-
- $filter = NULL
,
-
-
-
-
- array
- $options = NULL
,
-
-
-
-
-
- $ttl = 0
-
-
-
- )
-
-
-
-
-
Return first record (mapper object) that matches criteria
Returns object|FALSE
-
Parameters
-
- $filter string|array
- $options array
- $ttl int
-
-
-
-
-
-
-
-
-
-
-
- DB\Cursor::first
- (
- )
-
-
-
-
-
Map to first record in cursor
Returns mixed
-
-
-
-
-
-
-
-
-
-
-
- DB\Cursor::insert
- (
- )
-
-
-
-
-
-abstract
-
-
-
-
Insert new record
Returns array
-
-
-
-
-
-
-
-
- DB\Cursor::last
- (
- )
-
-
-
-
-
Map to last record in cursor
Returns mixed
-
-
-
-
-
-
-
-
- DB\Cursor::load
- (
-
- $filter = NULL
,
-
-
-
-
- array
- $options = NULL
,
-
-
-
-
-
- $ttl = 0
-
-
-
- )
-
-
-
-
-
Map to first record that matches criteria
Returns array|FALSE
-
Parameters
-
- $filter string|array
- $options array
- $ttl int
-
-
-
-
-
-
-
-
-
-
-
- DB\Cursor::loaded
- (
- )
-
-
-
-
-
Return the count of records loaded
Returns int
-
-
-
-
-
-
-
-
- DB\Cursor::next
- (
- )
-
-
-
-
-
Map next record
Returns mixed
-
-
-
-
-
-
-
-
- DB\Cursor::onerase
- (
-
- $func )
-
-
-
-
-
Define onerase trigger
Returns callback
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Cursor::oninsert
- (
-
- $func )
-
-
-
-
-
Define oninsert trigger
Returns callback
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Cursor::onload
- (
-
- $func )
-
-
-
-
-
Define onload trigger
Returns callback
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Cursor::onupdate
- (
-
- $func )
-
-
-
-
-
Define onupdate trigger
Returns callback
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Cursor::paginate
- (
-
- $pos = 0
,
-
-
-
-
-
- $size = 10
,
-
-
-
-
-
- $filter = NULL
,
-
-
-
-
- array
- $options = NULL
,
-
-
-
-
-
- $ttl = 0
-
-
-
- )
-
-
-
-
-
Return array containing subset of records matching criteria, total number of records in superset, specified limit, number of subsets available, and actual subset position
Returns array
-
Parameters
-
- $pos int
- $size int
- $filter string|array
- $options array
- $ttl int
-
-
-
-
-
-
-
-
-
-
-
- DB\Cursor::prev
- (
- )
-
-
-
-
-
Map previous record
Returns mixed
-
-
-
-
-
-
-
-
- DB\Cursor::reset
- (
- )
-
-
-
-
-
Reset cursor
Returns NULL
-
-
-
-
-
-
-
-
- DB\Cursor::save
- (
- )
-
-
-
-
-
Save mapped record
Returns mixed
-
-
-
-
-
-
-
-
- DB\Cursor::skip
- (
-
- $ofs = 1
)
-
-
-
-
-
Map to nth record relative to current cursor position
Returns mixed
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DB\Cursor::update
- (
- )
-
-
-
-
-
-abstract
-
-
-
-
Update current record
Returns array
-
-
-
-
The documentation for this class was generated from the following file:
-
diff --git a/lib/api/classDB_1_1Cursor.png b/lib/api/classDB_1_1Cursor.png
deleted file mode 100644
index 858faba1c7e4e205ba65360e06c820c1c6720cc5..0000000000000000000000000000000000000000
Binary files a/lib/api/classDB_1_1Cursor.png and /dev/null differ
diff --git a/lib/api/classDB_1_1Jig-members.html b/lib/api/classDB_1_1Jig-members.html
deleted file mode 100644
index a31de791a6f624851e1d89cf5f66f754838f576a..0000000000000000000000000000000000000000
--- a/lib/api/classDB_1_1Jig-members.html
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Member List
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for DB\Jig , including all inherited members.
-
diff --git a/lib/api/classDB_1_1Jig.html b/lib/api/classDB_1_1Jig.html
deleted file mode 100644
index 2fed64986d0ebed6b38f18334e4c6f8562744c44..0000000000000000000000000000000000000000
--- a/lib/api/classDB_1_1Jig.html
+++ /dev/null
@@ -1,283 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: DB\Jig Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Flat-file DB wrapper.
- More...
-
-
-
- $dir
- Storage location.
-
-
- $format
- Current storage format.
-
-
- $log
- Jig log.
-
-
-
-const FORMAT_JSON =0
-
-
-const FORMAT_Serialized =1
-
-
-
-
-
-
-
-
-
- DB\Jig::__construct
- (
-
- $dir ,
-
-
-
-
-
- $format = self::FORMAT_JSON
-
-
-
- )
-
-
-
-
-
Instantiate class
Parameters
-
- $dir string
- $format int
-
-
-
-
-
-
-
-
-
-
-
-
- DB\Jig::dir
- (
- )
-
-
-
-
-
Return directory
Returns string
-
-
-
-
-
-
-
-
- DB\Jig::drop
- (
- )
-
-
-
-
-
Clean storage
Returns NULL
-
-
-
-
-
-
-
-
- DB\Jig::jot
- (
-
- $frame )
-
-
-
-
-
Jot down log entry
Returns NULL
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Jig::log
- (
- )
-
-
-
-
-
Return SQL profiler results
Returns string
-
-
-
-
-
-
-
-
- DB\Jig::read
- (
-
- $file )
-
-
-
-
-
Read data from file
Returns array
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Jig::uuid
- (
- )
-
-
-
-
-
Return UUID
Returns string
-
-
-
-
-
-
-
-
- DB\Jig::write
- (
-
- $file ,
-
-
-
-
- array
- $data = NULL
-
-
-
- )
-
-
-
-
-
Write data to file
Returns int
-
Parameters
-
- $file string
- $data array
-
-
-
-
-
-
-
The documentation for this class was generated from the following file:
-
diff --git a/lib/api/classDB_1_1Jig_1_1Mapper-members.html b/lib/api/classDB_1_1Jig_1_1Mapper-members.html
deleted file mode 100644
index fb6820e472e423543af5b9e59785c50e8cd48e49..0000000000000000000000000000000000000000
--- a/lib/api/classDB_1_1Jig_1_1Mapper-members.html
+++ /dev/null
@@ -1,102 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Member List
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for DB\Jig\Mapper , including all inherited members.
-
- $db DB\Jig\Mapper protected
- $document DB\Jig\Mapper
- $file DB\Jig\Mapper
- $id DB\Jig\Mapper
- $ptr DB\Cursor
- $query DB\Cursor protected
- $trigger DB\Cursor
- __construct (\DB\Jig $db, $file)DB\Jig\Mapper
- __get ($key)Magic
- __isset ($key)Magic
- __set ($key, $val)Magic
- __unset ($key)Magic
- aftererase ($func)DB\Cursor
- afterinsert ($func)DB\Cursor
- afterupdate ($func)DB\Cursor
- beforeerase ($func)DB\Cursor
- beforeinsert ($func)DB\Cursor
- beforeupdate ($func)DB\Cursor
- cast ($obj=NULL)DB\Jig\Mapper
- clear ($key)DB\Jig\Mapper
- copyfrom ($key, $func=NULL)DB\Jig\Mapper
- copyto ($key)DB\Jig\Mapper
- count ($filter=NULL, $ttl=0)DB\Jig\Mapper
- dbtype ()DB\Jig\Mapper
- dry ()DB\Cursor
- E_Field (defined in DB\Cursor )DB\Cursor
- erase ($filter=NULL)DB\Jig\Mapper
- DB::Cursor::erase ()DB\Cursor
- exists ($key)DB\Jig\Mapper
- factory ($id, $row)DB\Jig\Mapper protected
- fields ()DB\Jig\Mapper
- find ($filter=NULL, array $options=NULL, $ttl=0, $log=TRUE)DB\Jig\Mapper
- DB::Cursor::find ($filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- findone ($filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- first ()DB\Cursor
- get ($key)DB\Jig\Mapper
- insert ()DB\Jig\Mapper
- last ()DB\Cursor
- load ($filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- loaded ()DB\Cursor
- next ()DB\Cursor
- offsetexists ($key)Magic
- offsetget ($key)Magic
- offsetset ($key, $val)Magic
- offsetunset ($key)Magic
- onerase ($func)DB\Cursor
- oninsert ($func)DB\Cursor
- onload ($func)DB\Cursor
- onupdate ($func)DB\Cursor
- paginate ($pos=0, $size=10, $filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- prev ()DB\Cursor
- reset ()DB\Jig\Mapper
- save ()DB\Cursor
- set ($key, $val)DB\Jig\Mapper
- skip ($ofs=1)DB\Jig\Mapper
- token ($str)DB\Jig\Mapper
- update ()DB\Jig\Mapper
-
diff --git a/lib/api/classDB_1_1Jig_1_1Mapper.html b/lib/api/classDB_1_1Jig_1_1Mapper.html
deleted file mode 100644
index e497bba4a2f754275e4a97f3ef47a4cdbd97dfe5..0000000000000000000000000000000000000000
--- a/lib/api/classDB_1_1Jig_1_1Mapper.html
+++ /dev/null
@@ -1,733 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: DB\Jig\Mapper Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Flat-file DB mapper.
- More...
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- dbtype ()
-
- exists ($key)
-
- set ($key, $val)
-
- get ($key)
-
- clear ($key)
-
- cast ($obj=NULL)
-
- token ($str)
-
- find ($filter=NULL, array $options=NULL, $ttl=0, $log =TRUE)
-
- count ($filter=NULL, $ttl=0)
-
- skip ($ofs=1)
-
- insert ()
-
- update ()
-
- erase ($filter=NULL)
-
- reset ()
-
- copyfrom ($key, $func=NULL)
-
- copyto ($key)
-
- fields ()
-
- __construct (\DB\Jig $db, $file)
-
-
- dbtype ()
-
- cast ($obj=NULL)
-
- find ($filter=NULL, array $options=NULL, $ttl=0)
-
- count ($filter=NULL, $ttl=0)
-
- insert ()
-
- update ()
-
- copyfrom ($key, $func=NULL)
-
- copyto ($key)
-
- dry ()
-
- findone ($filter=NULL, array $options=NULL, $ttl=0)
-
- paginate ($pos=0, $size=10, $filter=NULL, array $options=NULL, $ttl=0)
-
- load ($filter=NULL, array $options=NULL, $ttl=0)
-
- loaded ()
-
- first ()
-
- last ()
-
- skip ($ofs=1)
-
- next ()
-
- prev ()
-
- save ()
-
- erase ()
-
- onload ($func)
-
- beforeinsert ($func)
-
- afterinsert ($func)
-
- oninsert ($func)
-
- beforeupdate ($func)
-
- afterupdate ($func)
-
- onupdate ($func)
-
- beforeerase ($func)
-
- aftererase ($func)
-
- onerase ($func)
-
- reset ()
-
-
- exists ($key)
-
- set ($key, $val)
-
- get ($key)
-
- clear ($key)
-
- offsetexists ($key)
-
- __isset ($key)
-
- offsetset ($key, $val)
-
- __set ($key, $val)
-
- offsetget ($key)
-
- __get ($key)
-
- offsetunset ($key)
-
- __unset ($key)
-
-
-
-
- $file
- Data file.
-
-
- $id
- Document identifier.
-
-
- $document =array()
- Document contents.
-
-
-
- $ptr =0
- Current position.
-
-
- $trigger =array()
- Event listeners.
-
-
-const E_Field ='Undefined field %s'
-
-
-
-
- $db
- Flat-file DB wrapper.
-
-
-
- $query =array()
- Query results.
-
-
-
-
-
-
-
-
-
- DB\Jig\Mapper::__construct
- (
- \DB\Jig
- $db ,
-
-
-
-
-
- $file
-
-
-
- )
-
-
-
-
-
Instantiate class
Returns void
-
Parameters
-
- $db object
- $file string
-
-
-
-
-
-
-
-
-
-
-
-
- DB\Jig\Mapper::cast
- (
-
- $obj = NULL
)
-
-
-
-
-
Return fields of mapper object as an associative array
Returns array
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Jig\Mapper::clear
- (
-
- $key )
-
-
-
-
-
Delete field
Returns NULL
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Jig\Mapper::copyfrom
- (
-
- $key ,
-
-
-
-
-
- $func = NULL
-
-
-
- )
-
-
-
-
-
Hydrate mapper object using hive array variable
Returns NULL
-
Parameters
-
- $key string
- $func callback
-
-
-
-
-
-
-
-
-
-
-
- DB\Jig\Mapper::copyto
- (
-
- $key )
-
-
-
-
-
Populate hive array variable with mapper fields
Returns NULL
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Jig\Mapper::count
- (
-
- $filter = NULL
,
-
-
-
-
-
- $ttl = 0
-
-
-
- )
-
-
-
-
-
Count records that match criteria
Returns int
-
Parameters
-
- $filter array
- $ttl int
-
-
-
-
-
-
-
-
-
-
-
- DB\Jig\Mapper::dbtype
- (
- )
-
-
-
-
-
Return database type
Returns string
-
-
-
-
-
-
-
-
- DB\Jig\Mapper::erase
- (
-
- $filter = NULL
)
-
-
-
-
-
Delete current record
Returns bool
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Jig\Mapper::exists
- (
-
- $key )
-
-
-
-
-
Return TRUE if field is defined
Returns bool
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DB\Jig\Mapper::factory
- (
-
- $id ,
-
-
-
-
-
- $row
-
-
-
- )
-
-
-
-
-
-protected
-
-
-
-
Convert array to mapper object
Returns object
-
Parameters
-
- $id string
- $row array
-
-
-
-
-
-
-
-
-
-
-
- DB\Jig\Mapper::fields
- (
- )
-
-
-
-
-
Return field names
Returns array
-
-
-
-
-
-
-
-
- DB\Jig\Mapper::find
- (
-
- $filter = NULL
,
-
-
-
-
- array
- $options = NULL
,
-
-
-
-
-
- $ttl = 0
,
-
-
-
-
-
- $log = TRUE
-
-
-
- )
-
-
-
-
-
Return records that match criteria
Returns array|FALSE
-
Parameters
-
- $filter array
- $options array
- $ttl int
- $log bool
-
-
-
-
-
-
-
-
-
-
-
- DB\Jig\Mapper::get
- (
-
- $key )
-
-
-
-
-
Retrieve value of field
Returns scalar|FALSE
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Jig\Mapper::insert
- (
- )
-
-
-
-
-
Insert new record
Returns array
-
-
-
-
-
-
-
-
- DB\Jig\Mapper::reset
- (
- )
-
-
-
-
-
Reset cursor
Returns NULL
-
-
-
-
-
-
-
-
- DB\Jig\Mapper::set
- (
-
- $key ,
-
-
-
-
-
- $val
-
-
-
- )
-
-
-
-
-
Assign value to field
Returns scalar|FALSE
-
Parameters
-
- $key string
- $val scalar
-
-
-
-
-
-
-
-
-
-
-
- DB\Jig\Mapper::skip
- (
-
- $ofs = 1
)
-
-
-
-
-
Return record at specified offset using criteria of previous load() call and make it active
Returns array
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Jig\Mapper::token
- (
-
- $str )
-
-
-
-
-
Convert tokens in string expression to variable names
Returns string
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Jig\Mapper::update
- (
- )
-
-
-
-
-
Update current record
Returns array
-
-
-
-
The documentation for this class was generated from the following file:
-
diff --git a/lib/api/classDB_1_1Jig_1_1Mapper.png b/lib/api/classDB_1_1Jig_1_1Mapper.png
deleted file mode 100644
index b428aa13de96992aeeda9a8c79dee1d1ae1daafc..0000000000000000000000000000000000000000
Binary files a/lib/api/classDB_1_1Jig_1_1Mapper.png and /dev/null differ
diff --git a/lib/api/classDB_1_1Jig_1_1Session-members.html b/lib/api/classDB_1_1Jig_1_1Session-members.html
deleted file mode 100644
index 6d89d2b749639f5a3ecc5e69295f01189a3928de..0000000000000000000000000000000000000000
--- a/lib/api/classDB_1_1Jig_1_1Session-members.html
+++ /dev/null
@@ -1,113 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Member List
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for DB\Jig\Session , including all inherited members.
-
- $db DB\Jig\Mapper protected
- $document DB\Jig\Mapper
- $file DB\Jig\Mapper
- $id DB\Jig\Mapper
- $ptr DB\Cursor
- $query DB\Cursor protected
- $sid DB\Jig\Session protected
- $trigger DB\Cursor
- __construct (\DB\Jig $db, $table='sessions')DB\Jig\Session
- __get ($key)Magic
- __isset ($key)Magic
- __set ($key, $val)Magic
- __unset ($key)Magic
- aftererase ($func)DB\Cursor
- afterinsert ($func)DB\Cursor
- afterupdate ($func)DB\Cursor
- agent ()DB\Jig\Session
- beforeerase ($func)DB\Cursor
- beforeinsert ($func)DB\Cursor
- beforeupdate ($func)DB\Cursor
- cast ($obj=NULL)DB\Jig\Mapper
- cleanup ($max)DB\Jig\Session
- clear ($key)DB\Jig\Mapper
- close ()DB\Jig\Session
- copyfrom ($key, $func=NULL)DB\Jig\Mapper
- copyto ($key)DB\Jig\Mapper
- count ($filter=NULL, $ttl=0)DB\Jig\Mapper
- csrf ()DB\Jig\Session
- dbtype ()DB\Jig\Mapper
- destroy ($id)DB\Jig\Session
- dry ()DB\Cursor
- E_Field (defined in DB\Cursor )DB\Cursor
- erase ($filter=NULL)DB\Jig\Mapper
- DB::Cursor::erase ()DB\Cursor
- exists ($key)DB\Jig\Mapper
- factory ($id, $row)DB\Jig\Mapper protected
- fields ()DB\Jig\Mapper
- find ($filter=NULL, array $options=NULL, $ttl=0, $log=TRUE)DB\Jig\Mapper
- DB::Cursor::find ($filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- findone ($filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- first ()DB\Cursor
- get ($key)DB\Jig\Mapper
- insert ()DB\Jig\Mapper
- ip ()DB\Jig\Session
- last ()DB\Cursor
- load ($filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- loaded ()DB\Cursor
- next ()DB\Cursor
- offsetexists ($key)Magic
- offsetget ($key)Magic
- offsetset ($key, $val)Magic
- offsetunset ($key)Magic
- onerase ($func)DB\Cursor
- oninsert ($func)DB\Cursor
- onload ($func)DB\Cursor
- onupdate ($func)DB\Cursor
- open ($path, $name)DB\Jig\Session
- paginate ($pos=0, $size=10, $filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- prev ()DB\Cursor
- read ($id)DB\Jig\Session
- reset ()DB\Jig\Mapper
- save ()DB\Cursor
- set ($key, $val)DB\Jig\Mapper
- skip ($ofs=1)DB\Jig\Mapper
- stamp ()DB\Jig\Session
- token ($str)DB\Jig\Mapper
- update ()DB\Jig\Mapper
- write ($id, $data)DB\Jig\Session
-
diff --git a/lib/api/classDB_1_1Jig_1_1Session.html b/lib/api/classDB_1_1Jig_1_1Session.html
deleted file mode 100644
index 3869ae4f3c7325097a83838524888dbff01370f5..0000000000000000000000000000000000000000
--- a/lib/api/classDB_1_1Jig_1_1Session.html
+++ /dev/null
@@ -1,518 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: DB\Jig\Session Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Jig-managed session handler.
- More...
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- open ($path, $name)
-
- close ()
-
- read ($id)
-
- write ($id, $data)
-
- destroy ($id)
-
- cleanup ($max)
-
- csrf ()
-
- ip ()
-
- stamp ()
-
- agent ()
-
- __construct (\DB\Jig $db, $table='sessions')
-
-
- dbtype ()
-
- exists ($key)
-
- set ($key, $val)
-
- get ($key)
-
- clear ($key)
-
- cast ($obj=NULL)
-
- token ($str)
-
- find ($filter=NULL, array $options=NULL, $ttl=0, $log =TRUE)
-
- count ($filter=NULL, $ttl=0)
-
- skip ($ofs=1)
-
- insert ()
-
- update ()
-
- erase ($filter=NULL)
-
- reset ()
-
- copyfrom ($key, $func=NULL)
-
- copyto ($key)
-
- fields ()
-
- __construct (\DB\Jig $db, $file)
-
-
- dbtype ()
-
- cast ($obj=NULL)
-
- find ($filter=NULL, array $options=NULL, $ttl=0)
-
- count ($filter=NULL, $ttl=0)
-
- insert ()
-
- update ()
-
- copyfrom ($key, $func=NULL)
-
- copyto ($key)
-
- dry ()
-
- findone ($filter=NULL, array $options=NULL, $ttl=0)
-
- paginate ($pos=0, $size=10, $filter=NULL, array $options=NULL, $ttl=0)
-
- load ($filter=NULL, array $options=NULL, $ttl=0)
-
- loaded ()
-
- first ()
-
- last ()
-
- skip ($ofs=1)
-
- next ()
-
- prev ()
-
- save ()
-
- erase ()
-
- onload ($func)
-
- beforeinsert ($func)
-
- afterinsert ($func)
-
- oninsert ($func)
-
- beforeupdate ($func)
-
- afterupdate ($func)
-
- onupdate ($func)
-
- beforeerase ($func)
-
- aftererase ($func)
-
- onerase ($func)
-
- reset ()
-
-
- exists ($key)
-
- set ($key, $val)
-
- get ($key)
-
- clear ($key)
-
- offsetexists ($key)
-
- __isset ($key)
-
- offsetset ($key, $val)
-
- __set ($key, $val)
-
- offsetget ($key)
-
- __get ($key)
-
- offsetunset ($key)
-
- __unset ($key)
-
-
-
-
- $sid
- Session ID.
-
-
-
- $db
- Flat-file DB wrapper.
-
-
-
- $query =array()
- Query results.
-
-
-
-
-
- $file
- Data file.
-
-
- $id
- Document identifier.
-
-
- $document =array()
- Document contents.
-
-
-
- $ptr =0
- Current position.
-
-
- $trigger =array()
- Event listeners.
-
-
-const E_Field ='Undefined field %s'
-
-
- factory ($id, $row)
-
-
-
-
Jig-managed session handler.
-
-
-
-
-
-
- DB\Jig\Session::__construct
- (
- \DB\Jig
- $db ,
-
-
-
-
-
- $table = 'sessions'
-
-
-
- )
-
-
-
-
-
Instantiate class
Parameters
-
- $db object
- $table string
-
-
-
-
-
-
-
-
-
-
-
-
- DB\Jig\Session::agent
- (
- )
-
-
-
-
-
Return HTTP user agent
Returns string|FALSE
-
-
-
-
-
-
-
-
- DB\Jig\Session::cleanup
- (
-
- $max )
-
-
-
-
-
Garbage collector
Returns TRUE
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Jig\Session::close
- (
- )
-
-
-
-
-
Close session
Returns TRUE
-
-
-
-
-
-
-
-
- DB\Jig\Session::csrf
- (
- )
-
-
-
-
-
Return anti-CSRF token
Returns string|FALSE
-
-
-
-
-
-
-
-
- DB\Jig\Session::destroy
- (
-
- $id )
-
-
-
-
-
Destroy session
Returns TRUE
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Jig\Session::ip
- (
- )
-
-
-
-
-
Return IP address
Returns string|FALSE
-
-
-
-
-
-
-
-
- DB\Jig\Session::open
- (
-
- $path ,
-
-
-
-
-
- $name
-
-
-
- )
-
-
-
-
-
Open session
Returns TRUE
-
Parameters
-
- $path string
- $name string
-
-
-
-
-
-
-
-
-
-
-
- DB\Jig\Session::read
- (
-
- $id )
-
-
-
-
-
Return session data in serialized format
Returns string|FALSE
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Jig\Session::stamp
- (
- )
-
-
-
-
-
Return Unix timestamp
Returns string|FALSE
-
-
-
-
-
-
-
-
- DB\Jig\Session::write
- (
-
- $id ,
-
-
-
-
-
- $data
-
-
-
- )
-
-
-
-
-
Write session data
Returns TRUE
-
Parameters
-
- $id string
- $data string
-
-
-
-
-
-
-
The documentation for this class was generated from the following file:
-
diff --git a/lib/api/classDB_1_1Jig_1_1Session.png b/lib/api/classDB_1_1Jig_1_1Session.png
deleted file mode 100644
index 47ea9513447dfd4255fc70a73829ac0c91a67a6d..0000000000000000000000000000000000000000
Binary files a/lib/api/classDB_1_1Jig_1_1Session.png and /dev/null differ
diff --git a/lib/api/classDB_1_1Mongo-members.html b/lib/api/classDB_1_1Mongo-members.html
deleted file mode 100644
index e3e9075820944fe54a13dd911ce8f6f31840f453..0000000000000000000000000000000000000000
--- a/lib/api/classDB_1_1Mongo-members.html
+++ /dev/null
@@ -1,56 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Member List
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for DB\Mongo , including all inherited members.
-
diff --git a/lib/api/classDB_1_1Mongo.html b/lib/api/classDB_1_1Mongo.html
deleted file mode 100644
index c1dd931240e56e2b6f3a3eae55e2c2ed2e29352a..0000000000000000000000000000000000000000
--- a/lib/api/classDB_1_1Mongo.html
+++ /dev/null
@@ -1,237 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: DB\Mongo Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
MongoDB wrapper.
- More...
-
-
-
- $dsn
- Data source name.
-
-
- $db
- MongoDB object.
-
-
- $log
- MongoDB log.
-
-
-
-const E_Profiler ='MongoDB profiler is disabled'
-
-
-
-
-
-
-
-
-
- DB\Mongo::__construct
- (
-
- $dsn ,
-
-
-
-
-
- $dbname ,
-
-
-
-
- array
- $options = NULL
-
-
-
- )
-
-
-
-
-
Instantiate class
Parameters
-
- $dsn string
- $dbname string
- $options array
-
-
-
-
-
-
-
-
-
-
-
-
- DB\Mongo::__call
- (
-
- $func ,
-
-
-
-
- array
- $args
-
-
-
- )
-
-
-
-
-
Redirect call to MongoDB object
Returns mixed
-
Parameters
-
- $func string
- $args array
-
-
-
-
-
-
-
-
-
-
-
- DB\Mongo::drop
- (
- )
-
-
-
-
-
Intercept native call to re-enable profiler
Returns int
-
-
-
-
-
-
-
-
- DB\Mongo::dsn
- (
- )
-
-
-
-
-
Return data source name
Returns string
-
-
-
-
-
-
-
-
- DB\Mongo::log
- (
- )
-
-
-
-
-
Return MongoDB profiler results
Returns string
-
-
-
-
-
-
-
-
- DB\Mongo::uuid
- (
- )
-
-
-
-
-
Return UUID
Returns string
-
-
-
-
The documentation for this class was generated from the following file:
-
diff --git a/lib/api/classDB_1_1Mongo.png b/lib/api/classDB_1_1Mongo.png
deleted file mode 100644
index f16e7b6e94fb1f76721779190373f5603715073f..0000000000000000000000000000000000000000
Binary files a/lib/api/classDB_1_1Mongo.png and /dev/null differ
diff --git a/lib/api/classDB_1_1Mongo_1_1Mapper-members.html b/lib/api/classDB_1_1Mongo_1_1Mapper-members.html
deleted file mode 100644
index 4696f6d42ae86de9d64e0887b84f4c0a8310059d..0000000000000000000000000000000000000000
--- a/lib/api/classDB_1_1Mongo_1_1Mapper-members.html
+++ /dev/null
@@ -1,102 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Member List
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for DB\Mongo\Mapper , including all inherited members.
-
- $collection DB\Mongo\Mapper
- $cursor DB\Mongo\Mapper
- $db DB\Mongo\Mapper protected
- $document DB\Mongo\Mapper
- $ptr DB\Cursor
- $query DB\Cursor protected
- $trigger DB\Cursor
- __construct (\DB\Mongo $db, $collection)DB\Mongo\Mapper
- __get ($key)Magic
- __isset ($key)Magic
- __set ($key, $val)Magic
- __unset ($key)Magic
- aftererase ($func)DB\Cursor
- afterinsert ($func)DB\Cursor
- afterupdate ($func)DB\Cursor
- beforeerase ($func)DB\Cursor
- beforeinsert ($func)DB\Cursor
- beforeupdate ($func)DB\Cursor
- cast ($obj=NULL)DB\Mongo\Mapper
- clear ($key)DB\Mongo\Mapper
- copyfrom ($key, $func=NULL)DB\Mongo\Mapper
- copyto ($key)DB\Mongo\Mapper
- count ($filter=NULL, $ttl=0)DB\Mongo\Mapper
- cursor ()DB\Mongo\Mapper
- dbtype ()DB\Mongo\Mapper
- dry ()DB\Cursor
- E_Field (defined in DB\Cursor )DB\Cursor
- erase ($filter=NULL)DB\Mongo\Mapper
- DB::Cursor::erase ()DB\Cursor
- exists ($key)DB\Mongo\Mapper
- factory ($row)DB\Mongo\Mapper protected
- fields ()DB\Mongo\Mapper
- find ($filter=NULL, array $options=NULL, $ttl=0)DB\Mongo\Mapper
- findone ($filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- first ()DB\Cursor
- get ($key)DB\Mongo\Mapper
- insert ()DB\Mongo\Mapper
- last ()DB\Cursor
- load ($filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- loaded ()DB\Cursor
- next ()DB\Cursor
- offsetexists ($key)Magic
- offsetget ($key)Magic
- offsetset ($key, $val)Magic
- offsetunset ($key)Magic
- onerase ($func)DB\Cursor
- oninsert ($func)DB\Cursor
- onload ($func)DB\Cursor
- onupdate ($func)DB\Cursor
- paginate ($pos=0, $size=10, $filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- prev ()DB\Cursor
- reset ()DB\Mongo\Mapper
- save ()DB\Cursor
- select ($fields=NULL, $filter=NULL, array $options=NULL, $ttl=0)DB\Mongo\Mapper
- set ($key, $val)DB\Mongo\Mapper
- skip ($ofs=1)DB\Mongo\Mapper
- update ()DB\Mongo\Mapper
-
diff --git a/lib/api/classDB_1_1Mongo_1_1Mapper.html b/lib/api/classDB_1_1Mongo_1_1Mapper.html
deleted file mode 100644
index bf7e0c921ad8e9ea12fb34052a1feefc7a26f084..0000000000000000000000000000000000000000
--- a/lib/api/classDB_1_1Mongo_1_1Mapper.html
+++ /dev/null
@@ -1,758 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: DB\Mongo\Mapper Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
MongoDB mapper.
- More...
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- dbtype ()
-
- exists ($key)
-
- set ($key, $val)
-
- get ($key)
-
- clear ($key)
-
- cast ($obj=NULL)
-
- select ($fields =NULL, $filter=NULL, array $options=NULL, $ttl=0)
-
- find ($filter=NULL, array $options=NULL, $ttl=0)
-
- count ($filter=NULL, $ttl=0)
-
- skip ($ofs=1)
-
- insert ()
-
- update ()
-
- erase ($filter=NULL)
-
- reset ()
-
- copyfrom ($key, $func=NULL)
-
- copyto ($key)
-
- fields ()
-
- cursor ()
-
- __construct (\DB\Mongo $db, $collection)
-
-
- dbtype ()
-
- cast ($obj=NULL)
-
- find ($filter=NULL, array $options=NULL, $ttl=0)
-
- count ($filter=NULL, $ttl=0)
-
- insert ()
-
- update ()
-
- copyfrom ($key, $func=NULL)
-
- copyto ($key)
-
- dry ()
-
- findone ($filter=NULL, array $options=NULL, $ttl=0)
-
- paginate ($pos=0, $size=10, $filter=NULL, array $options=NULL, $ttl=0)
-
- load ($filter=NULL, array $options=NULL, $ttl=0)
-
- loaded ()
-
- first ()
-
- last ()
-
- skip ($ofs=1)
-
- next ()
-
- prev ()
-
- save ()
-
- erase ()
-
- onload ($func)
-
- beforeinsert ($func)
-
- afterinsert ($func)
-
- oninsert ($func)
-
- beforeupdate ($func)
-
- afterupdate ($func)
-
- onupdate ($func)
-
- beforeerase ($func)
-
- aftererase ($func)
-
- onerase ($func)
-
- reset ()
-
-
- exists ($key)
-
- set ($key, $val)
-
- get ($key)
-
- clear ($key)
-
- offsetexists ($key)
-
- __isset ($key)
-
- offsetset ($key, $val)
-
- __set ($key, $val)
-
- offsetget ($key)
-
- __get ($key)
-
- offsetunset ($key)
-
- __unset ($key)
-
-
-
-
- $collection
- Mongo collection.
-
-
- $document =array()
- Mongo document.
-
-
- $cursor
- Mongo cursor.
-
-
-
- $ptr =0
- Current position.
-
-
- $trigger =array()
- Event listeners.
-
-
-const E_Field ='Undefined field %s'
-
-
-
-
- $db
- MongoDB wrapper.
-
-
-
- $query =array()
- Query results.
-
-
-
-
-
-
-
-
-
- DB\Mongo\Mapper::__construct
- (
- \DB\Mongo
- $db ,
-
-
-
-
-
- $collection
-
-
-
- )
-
-
-
-
-
Instantiate class
Returns void
-
Parameters
-
- $db object
- $collection string
-
-
-
-
-
-
-
-
-
-
-
-
- DB\Mongo\Mapper::cast
- (
-
- $obj = NULL
)
-
-
-
-
-
Return fields of mapper object as an associative array
Returns array
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Mongo\Mapper::clear
- (
-
- $key )
-
-
-
-
-
Delete field
Returns NULL
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Mongo\Mapper::copyfrom
- (
-
- $key ,
-
-
-
-
-
- $func = NULL
-
-
-
- )
-
-
-
-
-
Hydrate mapper object using hive array variable
Returns NULL
-
Parameters
-
- $key string
- $func callback
-
-
-
-
-
-
-
-
-
-
-
- DB\Mongo\Mapper::copyto
- (
-
- $key )
-
-
-
-
-
Populate hive array variable with mapper fields
Returns NULL
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Mongo\Mapper::count
- (
-
- $filter = NULL
,
-
-
-
-
-
- $ttl = 0
-
-
-
- )
-
-
-
-
-
Count records that match criteria
Returns int
-
Parameters
-
- $filter array
- $ttl int
-
-
-
-
-
-
-
-
-
-
-
- DB\Mongo\Mapper::cursor
- (
- )
-
-
-
-
-
Return the cursor from last query
Returns object|NULL
-
-
-
-
-
-
-
-
- DB\Mongo\Mapper::dbtype
- (
- )
-
-
-
-
-
Return database type
Returns string
-
-
-
-
-
-
-
-
- DB\Mongo\Mapper::erase
- (
-
- $filter = NULL
)
-
-
-
-
-
Delete current record
Returns bool
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Mongo\Mapper::exists
- (
-
- $key )
-
-
-
-
-
Return TRUE if field is defined
Returns bool
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DB\Mongo\Mapper::factory
- (
-
- $row )
-
-
-
-
-
-protected
-
-
-
-
Convert array to mapper object
Returns object
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Mongo\Mapper::fields
- (
- )
-
-
-
-
-
Return field names
Returns array
-
-
-
-
-
-
-
-
- DB\Mongo\Mapper::find
- (
-
- $filter = NULL
,
-
-
-
-
- array
- $options = NULL
,
-
-
-
-
-
- $ttl = 0
-
-
-
- )
-
-
-
-
-
Return records that match criteria
Returns array
-
Parameters
-
- $filter array
- $options array
- $ttl int
-
-
-
-
-
-
-
-
-
-
-
- DB\Mongo\Mapper::get
- (
-
- $key )
-
-
-
-
-
Retrieve value of field
Returns scalar|FALSE
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Mongo\Mapper::insert
- (
- )
-
-
-
-
-
Insert new record
Returns array
-
-
-
-
-
-
-
-
- DB\Mongo\Mapper::reset
- (
- )
-
-
-
-
-
Reset cursor
Returns NULL
-
-
-
-
-
-
-
-
- DB\Mongo\Mapper::select
- (
-
- $fields = NULL
,
-
-
-
-
-
- $filter = NULL
,
-
-
-
-
- array
- $options = NULL
,
-
-
-
-
-
- $ttl = 0
-
-
-
- )
-
-
-
-
-
Build query and execute
Returns array
-
Parameters
-
- $fields string
- $filter array
- $options array
- $ttl int
-
-
-
-
-
-
-
-
-
-
-
- DB\Mongo\Mapper::set
- (
-
- $key ,
-
-
-
-
-
- $val
-
-
-
- )
-
-
-
-
-
Assign value to field
Returns scalar|FALSE
-
Parameters
-
- $key string
- $val scalar
-
-
-
-
-
-
-
-
-
-
-
- DB\Mongo\Mapper::skip
- (
-
- $ofs = 1
)
-
-
-
-
-
Return record at specified offset using criteria of previous load() call and make it active
Returns array
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Mongo\Mapper::update
- (
- )
-
-
-
-
-
Update current record
Returns array
-
-
-
-
The documentation for this class was generated from the following file:
-
diff --git a/lib/api/classDB_1_1Mongo_1_1Mapper.png b/lib/api/classDB_1_1Mongo_1_1Mapper.png
deleted file mode 100644
index 6282b76c205f09a5245e8dc15049fb8e3317e303..0000000000000000000000000000000000000000
Binary files a/lib/api/classDB_1_1Mongo_1_1Mapper.png and /dev/null differ
diff --git a/lib/api/classDB_1_1Mongo_1_1Session-members.html b/lib/api/classDB_1_1Mongo_1_1Session-members.html
deleted file mode 100644
index bff086076b187ee70d32eb4c0db3ae125495f40e..0000000000000000000000000000000000000000
--- a/lib/api/classDB_1_1Mongo_1_1Session-members.html
+++ /dev/null
@@ -1,113 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Member List
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for DB\Mongo\Session , including all inherited members.
-
- $collection DB\Mongo\Mapper
- $cursor DB\Mongo\Mapper
- $db DB\Mongo\Mapper protected
- $document DB\Mongo\Mapper
- $ptr DB\Cursor
- $query DB\Cursor protected
- $sid DB\Mongo\Session protected
- $trigger DB\Cursor
- __construct (\DB\Mongo $db, $table='sessions')DB\Mongo\Session
- __get ($key)Magic
- __isset ($key)Magic
- __set ($key, $val)Magic
- __unset ($key)Magic
- aftererase ($func)DB\Cursor
- afterinsert ($func)DB\Cursor
- afterupdate ($func)DB\Cursor
- agent ()DB\Mongo\Session
- beforeerase ($func)DB\Cursor
- beforeinsert ($func)DB\Cursor
- beforeupdate ($func)DB\Cursor
- cast ($obj=NULL)DB\Mongo\Mapper
- cleanup ($max)DB\Mongo\Session
- clear ($key)DB\Mongo\Mapper
- close ()DB\Mongo\Session
- copyfrom ($key, $func=NULL)DB\Mongo\Mapper
- copyto ($key)DB\Mongo\Mapper
- count ($filter=NULL, $ttl=0)DB\Mongo\Mapper
- csrf ()DB\Mongo\Session
- cursor ()DB\Mongo\Mapper
- dbtype ()DB\Mongo\Mapper
- destroy ($id)DB\Mongo\Session
- dry ()DB\Cursor
- E_Field (defined in DB\Cursor )DB\Cursor
- erase ($filter=NULL)DB\Mongo\Mapper
- DB::Cursor::erase ()DB\Cursor
- exists ($key)DB\Mongo\Mapper
- factory ($row)DB\Mongo\Mapper protected
- fields ()DB\Mongo\Mapper
- find ($filter=NULL, array $options=NULL, $ttl=0)DB\Mongo\Mapper
- findone ($filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- first ()DB\Cursor
- get ($key)DB\Mongo\Mapper
- insert ()DB\Mongo\Mapper
- ip ()DB\Mongo\Session
- last ()DB\Cursor
- load ($filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- loaded ()DB\Cursor
- next ()DB\Cursor
- offsetexists ($key)Magic
- offsetget ($key)Magic
- offsetset ($key, $val)Magic
- offsetunset ($key)Magic
- onerase ($func)DB\Cursor
- oninsert ($func)DB\Cursor
- onload ($func)DB\Cursor
- onupdate ($func)DB\Cursor
- open ($path, $name)DB\Mongo\Session
- paginate ($pos=0, $size=10, $filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- prev ()DB\Cursor
- read ($id)DB\Mongo\Session
- reset ()DB\Mongo\Mapper
- save ()DB\Cursor
- select ($fields=NULL, $filter=NULL, array $options=NULL, $ttl=0)DB\Mongo\Mapper
- set ($key, $val)DB\Mongo\Mapper
- skip ($ofs=1)DB\Mongo\Mapper
- stamp ()DB\Mongo\Session
- update ()DB\Mongo\Mapper
- write ($id, $data)DB\Mongo\Session
-
diff --git a/lib/api/classDB_1_1Mongo_1_1Session.html b/lib/api/classDB_1_1Mongo_1_1Session.html
deleted file mode 100644
index 2c29e948a97576569384b68c5f287ebae1182981..0000000000000000000000000000000000000000
--- a/lib/api/classDB_1_1Mongo_1_1Session.html
+++ /dev/null
@@ -1,520 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: DB\Mongo\Session Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
MongoDB-managed session handler.
- More...
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- open ($path, $name)
-
- close ()
-
- read ($id)
-
- write ($id, $data)
-
- destroy ($id)
-
- cleanup ($max)
-
- csrf ()
-
- ip ()
-
- stamp ()
-
- agent ()
-
- __construct (\DB\Mongo $db, $table='sessions')
-
-
- dbtype ()
-
- exists ($key)
-
- set ($key, $val)
-
- get ($key)
-
- clear ($key)
-
- cast ($obj=NULL)
-
- select ($fields =NULL, $filter=NULL, array $options=NULL, $ttl=0)
-
- find ($filter=NULL, array $options=NULL, $ttl=0)
-
- count ($filter=NULL, $ttl=0)
-
- skip ($ofs=1)
-
- insert ()
-
- update ()
-
- erase ($filter=NULL)
-
- reset ()
-
- copyfrom ($key, $func=NULL)
-
- copyto ($key)
-
- fields ()
-
- cursor ()
-
- __construct (\DB\Mongo $db, $collection)
-
-
- dbtype ()
-
- cast ($obj=NULL)
-
- find ($filter=NULL, array $options=NULL, $ttl=0)
-
- count ($filter=NULL, $ttl=0)
-
- insert ()
-
- update ()
-
- copyfrom ($key, $func=NULL)
-
- copyto ($key)
-
- dry ()
-
- findone ($filter=NULL, array $options=NULL, $ttl=0)
-
- paginate ($pos=0, $size=10, $filter=NULL, array $options=NULL, $ttl=0)
-
- load ($filter=NULL, array $options=NULL, $ttl=0)
-
- loaded ()
-
- first ()
-
- last ()
-
- skip ($ofs=1)
-
- next ()
-
- prev ()
-
- save ()
-
- erase ()
-
- onload ($func)
-
- beforeinsert ($func)
-
- afterinsert ($func)
-
- oninsert ($func)
-
- beforeupdate ($func)
-
- afterupdate ($func)
-
- onupdate ($func)
-
- beforeerase ($func)
-
- aftererase ($func)
-
- onerase ($func)
-
- reset ()
-
-
- exists ($key)
-
- set ($key, $val)
-
- get ($key)
-
- clear ($key)
-
- offsetexists ($key)
-
- __isset ($key)
-
- offsetset ($key, $val)
-
- __set ($key, $val)
-
- offsetget ($key)
-
- __get ($key)
-
- offsetunset ($key)
-
- __unset ($key)
-
-
-
-
- $sid
- Session ID.
-
-
-
- $db
- MongoDB wrapper.
-
-
-
- $query =array()
- Query results.
-
-
-
-
-
- $collection
- Mongo collection.
-
-
- $document =array()
- Mongo document.
-
-
- $cursor
- Mongo cursor.
-
-
-
- $ptr =0
- Current position.
-
-
- $trigger =array()
- Event listeners.
-
-
-const E_Field ='Undefined field %s'
-
-
- factory ($row)
-
-
-
-
MongoDB-managed session handler.
-
-
-
-
-
-
- DB\Mongo\Session::__construct
- (
- \DB\Mongo
- $db ,
-
-
-
-
-
- $table = 'sessions'
-
-
-
- )
-
-
-
-
-
Instantiate class
Parameters
-
- $db object
- $table string
-
-
-
-
-
-
-
-
-
-
-
-
- DB\Mongo\Session::agent
- (
- )
-
-
-
-
-
Return HTTP user agent
Returns string|FALSE
-
-
-
-
-
-
-
-
- DB\Mongo\Session::cleanup
- (
-
- $max )
-
-
-
-
-
Garbage collector
Returns TRUE
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Mongo\Session::close
- (
- )
-
-
-
-
-
Close session
Returns TRUE
-
-
-
-
-
-
-
-
- DB\Mongo\Session::csrf
- (
- )
-
-
-
-
-
Return anti-CSRF token
Returns string|FALSE
-
-
-
-
-
-
-
-
- DB\Mongo\Session::destroy
- (
-
- $id )
-
-
-
-
-
Destroy session
Returns TRUE
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Mongo\Session::ip
- (
- )
-
-
-
-
-
Return IP address
Returns string|FALSE
-
-
-
-
-
-
-
-
- DB\Mongo\Session::open
- (
-
- $path ,
-
-
-
-
-
- $name
-
-
-
- )
-
-
-
-
-
Open session
Returns TRUE
-
Parameters
-
- $path string
- $name string
-
-
-
-
-
-
-
-
-
-
-
- DB\Mongo\Session::read
- (
-
- $id )
-
-
-
-
-
Return session data in serialized format
Returns string|FALSE
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\Mongo\Session::stamp
- (
- )
-
-
-
-
-
Return Unix timestamp
Returns string|FALSE
-
-
-
-
-
-
-
-
- DB\Mongo\Session::write
- (
-
- $id ,
-
-
-
-
-
- $data
-
-
-
- )
-
-
-
-
-
Write session data
Returns TRUE
-
Parameters
-
- $id string
- $data string
-
-
-
-
-
-
-
The documentation for this class was generated from the following file:
-
diff --git a/lib/api/classDB_1_1Mongo_1_1Session.png b/lib/api/classDB_1_1Mongo_1_1Session.png
deleted file mode 100644
index 0f5e194bfac7f63ee072804b193b877be7dd900a..0000000000000000000000000000000000000000
Binary files a/lib/api/classDB_1_1Mongo_1_1Session.png and /dev/null differ
diff --git a/lib/api/classDB_1_1SQL-members.html b/lib/api/classDB_1_1SQL-members.html
deleted file mode 100644
index 987ec7c24057c796dc9c0b03f369079aac2d9c4b..0000000000000000000000000000000000000000
--- a/lib/api/classDB_1_1SQL-members.html
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Member List
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for DB\SQL , including all inherited members.
-
- $dbname DB\SQL
- $dsn DB\SQL
- $engine DB\SQL
- $log DB\SQL
- $rows DB\SQL
- $trans DB\SQL
- $uuid DB\SQL protected
- __construct ($dsn, $user=NULL, $pw=NULL, array $options=NULL)DB\SQL
- begin ()DB\SQL
- commit ()DB\SQL
- count ()DB\SQL
- driver ()DB\SQL
- exec ($cmds, $args=NULL, $ttl=0, $log=TRUE)DB\SQL
- log ()DB\SQL
- name ()DB\SQL
- quote ($val, $type=\PDO::PARAM_STR)DB\SQL
- quotekey ($key)DB\SQL
- rollback ()DB\SQL
- schema ($table, $fields=NULL, $ttl=0)DB\SQL
- type ($val)DB\SQL
- uuid ()DB\SQL
- value ($type, $val)DB\SQL
- version ()DB\SQL
-
diff --git a/lib/api/classDB_1_1SQL.html b/lib/api/classDB_1_1SQL.html
deleted file mode 100644
index ccdfda6eac0310fa1fcde8db9d8b7ede255f80ae..0000000000000000000000000000000000000000
--- a/lib/api/classDB_1_1SQL.html
+++ /dev/null
@@ -1,531 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: DB\SQL Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
PDO wrapper.
- More...
-
-
-
-
-
-
-
-
-
-
-
- begin ()
-
- rollback ()
-
- commit ()
-
- type ($val)
-
- value ($type , $val)
-
- exec ($cmds, $args=NULL, $ttl=0, $log =TRUE)
-
- count ()
-
- log ()
-
- schema ($table, $fields=NULL, $ttl=0)
-
- quote ($val, $type =\PDO::PARAM_STR)
-
- uuid ()
-
- driver ()
-
- version ()
-
- name ()
-
- quotekey ($key)
-
- __construct ($dsn, $user=NULL, $pw=NULL, array $options=NULL)
-
-
-
-
- $dsn
- Data source name.
-
-
- $engine
- Database engine.
-
-
- $dbname
- Database name.
-
-
- $trans =FALSE
- Transaction flag.
-
-
- $rows =0
- Number of rows affected by query.
-
-
- $log
- SQL log.
-
-
-
-
-
-
-
-
-
- DB\SQL::__construct
- (
-
- $dsn ,
-
-
-
-
-
- $user = NULL
,
-
-
-
-
-
- $pw = NULL
,
-
-
-
-
- array
- $options = NULL
-
-
-
- )
-
-
-
-
-
Instantiate class
Parameters
-
- $dsn string
- $user string
- $pw string
- $options array
-
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL::begin
- (
- )
-
-
-
-
-
Begin SQL transaction
Returns bool
-
-
-
-
-
-
-
-
- DB\SQL::commit
- (
- )
-
-
-
-
-
Commit SQL transaction
Returns bool
-
-
-
-
-
-
-
-
- DB\SQL::count
- (
- )
-
-
-
-
-
Return number of rows affected by last query
Returns int
-
-
-
-
-
-
-
-
- DB\SQL::driver
- (
- )
-
-
-
-
-
Return database engine
Returns string
-
-
-
-
-
-
-
-
- DB\SQL::exec
- (
-
- $cmds ,
-
-
-
-
-
- $args = NULL
,
-
-
-
-
-
- $ttl = 0
,
-
-
-
-
-
- $log = TRUE
-
-
-
- )
-
-
-
-
-
Execute SQL statement(s)
Returns array|int|FALSE
-
Parameters
-
- $cmds string|array
- $args string|array
- $ttl int
- $log bool
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL::log
- (
- )
-
-
-
-
-
Return SQL profiler results
Returns string
-
-
-
-
-
-
-
-
- DB\SQL::name
- (
- )
-
-
-
-
-
Return database name
Returns string
-
-
-
-
-
-
-
-
- DB\SQL::quote
- (
-
- $val ,
-
-
-
-
-
- $type = \PDO::PARAM_STR
-
-
-
- )
-
-
-
-
-
Quote string
Returns string
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL::quotekey
- (
-
- $key )
-
-
-
-
-
Return quoted identifier name
Returns string
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL::rollback
- (
- )
-
-
-
-
-
Rollback SQL transaction
Returns bool
-
-
-
-
-
-
-
-
- DB\SQL::schema
- (
-
- $table ,
-
-
-
-
-
- $fields = NULL
,
-
-
-
-
-
- $ttl = 0
-
-
-
- )
-
-
-
-
-
Retrieve schema of SQL table
Returns array|FALSE
-
Parameters
-
- $table string
- $fields array|string
- $ttl int
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL::type
- (
-
- $val )
-
-
-
-
-
Map data type of argument to a PDO constant
Returns int
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL::uuid
- (
- )
-
-
-
-
-
Return UUID
Returns string
-
-
-
-
-
-
-
-
- DB\SQL::value
- (
-
- $type ,
-
-
-
-
-
- $val
-
-
-
- )
-
-
-
-
-
Cast value to PHP type
Returns scalar
-
Parameters
-
- $type string
- $val scalar
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL::version
- (
- )
-
-
-
-
-
Return server version
Returns string
-
-
-
-
The documentation for this class was generated from the following file:
-
diff --git a/lib/api/classDB_1_1SQL.png b/lib/api/classDB_1_1SQL.png
deleted file mode 100644
index 6e2c0ce76720bed05e342bbad50a9b4d3618a08e..0000000000000000000000000000000000000000
Binary files a/lib/api/classDB_1_1SQL.png and /dev/null differ
diff --git a/lib/api/classDB_1_1SQL_1_1Mapper-members.html b/lib/api/classDB_1_1SQL_1_1Mapper-members.html
deleted file mode 100644
index c45bf953c548221433c887b1ac81e4f8fbb5508c..0000000000000000000000000000000000000000
--- a/lib/api/classDB_1_1SQL_1_1Mapper-members.html
+++ /dev/null
@@ -1,107 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Member List
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for DB\SQL\Mapper , including all inherited members.
-
- $_id DB\SQL\Mapper
- $adhoc DB\SQL\Mapper
- $db DB\SQL\Mapper protected
- $engine DB\SQL\Mapper
- $fields DB\SQL\Mapper
- $ptr DB\Cursor
- $query DB\Cursor protected
- $source DB\SQL\Mapper
- $table DB\SQL\Mapper
- $trigger DB\Cursor
- __construct (\DB\SQL $db, $table, $fields=NULL, $ttl=60)DB\SQL\Mapper
- __get ($key)Magic
- __isset ($key)Magic
- __set ($key, $val)Magic
- __unset ($key)Magic
- aftererase ($func)DB\Cursor
- afterinsert ($func)DB\Cursor
- afterupdate ($func)DB\Cursor
- beforeerase ($func)DB\Cursor
- beforeinsert ($func)DB\Cursor
- beforeupdate ($func)DB\Cursor
- cast ($obj=NULL)DB\SQL\Mapper
- clear ($key)DB\SQL\Mapper
- copyfrom ($key, $func=NULL)DB\SQL\Mapper
- copyto ($key)DB\SQL\Mapper
- count ($filter=NULL, $ttl=0)DB\SQL\Mapper
- dbtype ()DB\SQL\Mapper
- dry ()DB\Cursor
- E_Adhoc (defined in DB\SQL\Mapper )DB\SQL\Mapper
- E_Field (defined in DB\Cursor )DB\Cursor
- erase ($filter=NULL)DB\SQL\Mapper
- DB::Cursor::erase ()DB\Cursor
- exists ($key)DB\SQL\Mapper
- factory ($row)DB\SQL\Mapper protected
- fields ($adhoc=TRUE)DB\SQL\Mapper
- find ($filter=NULL, array $options=NULL, $ttl=0)DB\SQL\Mapper
- findone ($filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- first ()DB\Cursor
- get ($key)DB\SQL\Mapper
- insert ()DB\SQL\Mapper
- last ()DB\Cursor
- load ($filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- loaded ()DB\Cursor
- next ()DB\Cursor
- offsetexists ($key)Magic
- offsetget ($key)Magic
- offsetset ($key, $val)Magic
- offsetunset ($key)Magic
- onerase ($func)DB\Cursor
- oninsert ($func)DB\Cursor
- onload ($func)DB\Cursor
- onupdate ($func)DB\Cursor
- paginate ($pos=0, $size=10, $filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- prev ()DB\Cursor
- reset ()DB\SQL\Mapper
- save ()DB\Cursor
- schema ()DB\SQL\Mapper
- select ($fields, $filter=NULL, array $options=NULL, $ttl=0)DB\SQL\Mapper
- set ($key, $val)DB\SQL\Mapper
- skip ($ofs=1)DB\SQL\Mapper
- type ($pdo)DB\SQL\Mapper
- update ()DB\SQL\Mapper
-
diff --git a/lib/api/classDB_1_1SQL_1_1Mapper.html b/lib/api/classDB_1_1SQL_1_1Mapper.html
deleted file mode 100644
index 604592f2ff7c58d8517d6564b1d88c3832b30509..0000000000000000000000000000000000000000
--- a/lib/api/classDB_1_1SQL_1_1Mapper.html
+++ /dev/null
@@ -1,819 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: DB\SQL\Mapper Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
SQL data mapper.
- More...
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- dbtype ()
-
- exists ($key)
-
- set ($key, $val)
-
- get ($key)
-
- clear ($key)
-
- type ($pdo)
-
- cast ($obj=NULL)
-
- select ($fields , $filter=NULL, array $options=NULL, $ttl=0)
-
- find ($filter=NULL, array $options=NULL, $ttl=0)
-
- count ($filter=NULL, $ttl=0)
-
- skip ($ofs=1)
-
- insert ()
-
- update ()
-
- erase ($filter=NULL)
-
- reset ()
-
- copyfrom ($key, $func=NULL)
-
- copyto ($key)
-
- schema ()
-
- fields ($adhoc=TRUE)
-
- __construct (\DB\SQL $db, $table, $fields =NULL, $ttl=60)
-
-
- dbtype ()
-
- cast ($obj=NULL)
-
- find ($filter=NULL, array $options=NULL, $ttl=0)
-
- count ($filter=NULL, $ttl=0)
-
- insert ()
-
- update ()
-
- copyfrom ($key, $func=NULL)
-
- copyto ($key)
-
- dry ()
-
- findone ($filter=NULL, array $options=NULL, $ttl=0)
-
- paginate ($pos=0, $size=10, $filter=NULL, array $options=NULL, $ttl=0)
-
- load ($filter=NULL, array $options=NULL, $ttl=0)
-
- loaded ()
-
- first ()
-
- last ()
-
- skip ($ofs=1)
-
- next ()
-
- prev ()
-
- save ()
-
- erase ()
-
- onload ($func)
-
- beforeinsert ($func)
-
- afterinsert ($func)
-
- oninsert ($func)
-
- beforeupdate ($func)
-
- afterupdate ($func)
-
- onupdate ($func)
-
- beforeerase ($func)
-
- aftererase ($func)
-
- onerase ($func)
-
- reset ()
-
-
- exists ($key)
-
- set ($key, $val)
-
- get ($key)
-
- clear ($key)
-
- offsetexists ($key)
-
- __isset ($key)
-
- offsetset ($key, $val)
-
- __set ($key, $val)
-
- offsetget ($key)
-
- __get ($key)
-
- offsetunset ($key)
-
- __unset ($key)
-
-
-
-
- $engine
- Database engine.
-
-
- $source
- SQL table.
-
-
- $table
- SQL table (quoted)
-
-
- $_id
- Last insert ID.
-
-
- $fields
- Defined fields.
-
-
- $adhoc =array()
- Adhoc fields.
-
-
-
-const E_Adhoc ='Unable to process ad hoc field %s'
-
-
-
- $ptr =0
- Current position.
-
-
- $trigger =array()
- Event listeners.
-
-
-const E_Field ='Undefined field %s'
-
-
-
-
- $db
- PDO wrapper.
-
-
-
- $query =array()
- Query results.
-
-
-
-
-
-
-
-
-
- DB\SQL\Mapper::__construct
- (
- \DB\SQL
- $db ,
-
-
-
-
-
- $table ,
-
-
-
-
-
- $fields = NULL
,
-
-
-
-
-
- $ttl = 60
-
-
-
- )
-
-
-
-
-
Instantiate class
Parameters
-
- $db object
- $table string
- $fields array|string
- $ttl int
-
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL\Mapper::cast
- (
-
- $obj = NULL
)
-
-
-
-
-
Return fields of mapper object as an associative array
Returns array
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL\Mapper::clear
- (
-
- $key )
-
-
-
-
-
Clear value of field
Returns NULL
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL\Mapper::copyfrom
- (
-
- $key ,
-
-
-
-
-
- $func = NULL
-
-
-
- )
-
-
-
-
-
Hydrate mapper object using hive array variable
Returns NULL
-
Parameters
-
- $key string
- $func callback
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL\Mapper::copyto
- (
-
- $key )
-
-
-
-
-
Populate hive array variable with mapper fields
Returns NULL
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL\Mapper::count
- (
-
- $filter = NULL
,
-
-
-
-
-
- $ttl = 0
-
-
-
- )
-
-
-
-
-
Count records that match criteria
Returns int
-
Parameters
-
- $filter string|array
- $ttl int
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL\Mapper::dbtype
- (
- )
-
-
-
-
-
Return database type
Returns string
-
-
-
-
-
-
-
-
- DB\SQL\Mapper::erase
- (
-
- $filter = NULL
)
-
-
-
-
-
Delete current record
Returns int
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL\Mapper::exists
- (
-
- $key )
-
-
-
-
-
Return TRUE if field is defined
Returns bool
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL\Mapper::factory
- (
-
- $row )
-
-
-
-
-
-protected
-
-
-
-
Convert array to mapper object
Returns object
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL\Mapper::fields
- (
-
- $adhoc = TRUE
)
-
-
-
-
-
Return field names
Returns array
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL\Mapper::find
- (
-
- $filter = NULL
,
-
-
-
-
- array
- $options = NULL
,
-
-
-
-
-
- $ttl = 0
-
-
-
- )
-
-
-
-
-
Return records that match criteria
Returns array
-
Parameters
-
- $filter string|array
- $options array
- $ttl int
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL\Mapper::get
- (
-
- $key )
-
-
-
-
-
Retrieve value of field
Returns scalar
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL\Mapper::insert
- (
- )
-
-
-
-
-
Insert new record
Returns object
-
-
-
-
-
-
-
-
- DB\SQL\Mapper::reset
- (
- )
-
-
-
-
-
Reset cursor
Returns NULL
-
-
-
-
-
-
-
-
- DB\SQL\Mapper::schema
- (
- )
-
-
-
-
-
Return schema
Returns array
-
-
-
-
-
-
-
-
- DB\SQL\Mapper::select
- (
-
- $fields ,
-
-
-
-
-
- $filter = NULL
,
-
-
-
-
- array
- $options = NULL
,
-
-
-
-
-
- $ttl = 0
-
-
-
- )
-
-
-
-
-
Build query string and execute
Returns array
-
Parameters
-
- $fields string
- $filter string|array
- $options array
- $ttl int
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL\Mapper::set
- (
-
- $key ,
-
-
-
-
-
- $val
-
-
-
- )
-
-
-
-
-
Assign value to field
Returns scalar
-
Parameters
-
- $key string
- $val scalar
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL\Mapper::skip
- (
-
- $ofs = 1
)
-
-
-
-
-
Return record at specified offset using same criteria as previous load() call and make it active
Returns array
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL\Mapper::type
- (
-
- $pdo )
-
-
-
-
-
Get PHP type equivalent of PDO constant
Returns string
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL\Mapper::update
- (
- )
-
-
-
-
-
Update current record
Returns object
-
-
-
-
The documentation for this class was generated from the following file:
-
diff --git a/lib/api/classDB_1_1SQL_1_1Mapper.png b/lib/api/classDB_1_1SQL_1_1Mapper.png
deleted file mode 100644
index d14e2de5286c4b481392889c174b3cce7da69a2e..0000000000000000000000000000000000000000
Binary files a/lib/api/classDB_1_1SQL_1_1Mapper.png and /dev/null differ
diff --git a/lib/api/classDB_1_1SQL_1_1Session-members.html b/lib/api/classDB_1_1SQL_1_1Session-members.html
deleted file mode 100644
index 588023875d76f0a7942b6f8f3a0c6b6fe2b65489..0000000000000000000000000000000000000000
--- a/lib/api/classDB_1_1SQL_1_1Session-members.html
+++ /dev/null
@@ -1,119 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Member List
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for DB\SQL\Session , including all inherited members.
-
- $_id DB\SQL\Mapper
- $adhoc DB\SQL\Mapper
- $db DB\SQL\Mapper protected
- $engine DB\SQL\Mapper
- $fields DB\SQL\Mapper
- $ptr DB\Cursor
- $query DB\Cursor protected
- $sid DB\SQL\Session protected
- $source DB\SQL\Mapper
- $table DB\SQL\Mapper
- $trigger DB\Cursor
- __construct (\DB\SQL $db, $table='sessions', $force=TRUE)DB\SQL\Session
- DB::SQL::Mapper::__construct (\DB\SQL $db, $table, $fields=NULL, $ttl=60)DB\SQL\Mapper
- __get ($key)Magic
- __isset ($key)Magic
- __set ($key, $val)Magic
- __unset ($key)Magic
- aftererase ($func)DB\Cursor
- afterinsert ($func)DB\Cursor
- afterupdate ($func)DB\Cursor
- agent ()DB\SQL\Session
- beforeerase ($func)DB\Cursor
- beforeinsert ($func)DB\Cursor
- beforeupdate ($func)DB\Cursor
- cast ($obj=NULL)DB\SQL\Mapper
- cleanup ($max)DB\SQL\Session
- clear ($key)DB\SQL\Mapper
- close ()DB\SQL\Session
- copyfrom ($key, $func=NULL)DB\SQL\Mapper
- copyto ($key)DB\SQL\Mapper
- count ($filter=NULL, $ttl=0)DB\SQL\Mapper
- csrf ()DB\SQL\Session
- dbtype ()DB\SQL\Mapper
- destroy ($id)DB\SQL\Session
- dry ()DB\Cursor
- E_Adhoc (defined in DB\SQL\Mapper )DB\SQL\Mapper
- E_Field (defined in DB\Cursor )DB\Cursor
- erase ($filter=NULL)DB\SQL\Mapper
- DB::Cursor::erase ()DB\Cursor
- exists ($key)DB\SQL\Mapper
- factory ($row)DB\SQL\Mapper protected
- fields ($adhoc=TRUE)DB\SQL\Mapper
- find ($filter=NULL, array $options=NULL, $ttl=0)DB\SQL\Mapper
- findone ($filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- first ()DB\Cursor
- get ($key)DB\SQL\Mapper
- insert ()DB\SQL\Mapper
- ip ()DB\SQL\Session
- last ()DB\Cursor
- load ($filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- loaded ()DB\Cursor
- next ()DB\Cursor
- offsetexists ($key)Magic
- offsetget ($key)Magic
- offsetset ($key, $val)Magic
- offsetunset ($key)Magic
- onerase ($func)DB\Cursor
- oninsert ($func)DB\Cursor
- onload ($func)DB\Cursor
- onupdate ($func)DB\Cursor
- open ($path, $name)DB\SQL\Session
- paginate ($pos=0, $size=10, $filter=NULL, array $options=NULL, $ttl=0)DB\Cursor
- prev ()DB\Cursor
- read ($id)DB\SQL\Session
- reset ()DB\SQL\Mapper
- save ()DB\Cursor
- schema ()DB\SQL\Mapper
- select ($fields, $filter=NULL, array $options=NULL, $ttl=0)DB\SQL\Mapper
- set ($key, $val)DB\SQL\Mapper
- skip ($ofs=1)DB\SQL\Mapper
- stamp ()DB\SQL\Session
- type ($pdo)DB\SQL\Mapper
- update ()DB\SQL\Mapper
- write ($id, $data)DB\SQL\Session
-
diff --git a/lib/api/classDB_1_1SQL_1_1Session.html b/lib/api/classDB_1_1SQL_1_1Session.html
deleted file mode 100644
index 99dceb49fd8554779b3673cfec559f10e94ae21e..0000000000000000000000000000000000000000
--- a/lib/api/classDB_1_1SQL_1_1Session.html
+++ /dev/null
@@ -1,544 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: DB\SQL\Session Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
SQL-managed session handler.
- More...
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- open ($path, $name )
-
- close ()
-
- read ($id)
-
- write ($id, $data)
-
- destroy ($id)
-
- cleanup ($max)
-
- csrf ()
-
- ip ()
-
- stamp ()
-
- agent ()
-
- __construct (\DB\SQL $db, $table='sessions', $force=TRUE)
-
-
- dbtype ()
-
- exists ($key)
-
- set ($key, $val)
-
- get ($key)
-
- clear ($key)
-
- type ($pdo)
-
- cast ($obj=NULL)
-
- select ($fields , $filter=NULL, array $options=NULL, $ttl=0)
-
- find ($filter=NULL, array $options=NULL, $ttl=0)
-
- count ($filter=NULL, $ttl=0)
-
- skip ($ofs=1)
-
- insert ()
-
- update ()
-
- erase ($filter=NULL)
-
- reset ()
-
- copyfrom ($key, $func=NULL)
-
- copyto ($key)
-
- schema ()
-
- fields ($adhoc=TRUE)
-
- __construct (\DB\SQL $db, $table, $fields =NULL, $ttl=60)
-
-
- dbtype ()
-
- cast ($obj=NULL)
-
- find ($filter=NULL, array $options=NULL, $ttl=0)
-
- count ($filter=NULL, $ttl=0)
-
- insert ()
-
- update ()
-
- copyfrom ($key, $func=NULL)
-
- copyto ($key)
-
- dry ()
-
- findone ($filter=NULL, array $options=NULL, $ttl=0)
-
- paginate ($pos=0, $size=10, $filter=NULL, array $options=NULL, $ttl=0)
-
- load ($filter=NULL, array $options=NULL, $ttl=0)
-
- loaded ()
-
- first ()
-
- last ()
-
- skip ($ofs=1)
-
- next ()
-
- prev ()
-
- save ()
-
- erase ()
-
- onload ($func)
-
- beforeinsert ($func)
-
- afterinsert ($func)
-
- oninsert ($func)
-
- beforeupdate ($func)
-
- afterupdate ($func)
-
- onupdate ($func)
-
- beforeerase ($func)
-
- aftererase ($func)
-
- onerase ($func)
-
- reset ()
-
-
- exists ($key)
-
- set ($key, $val)
-
- get ($key)
-
- clear ($key)
-
- offsetexists ($key)
-
- __isset ($key)
-
- offsetset ($key, $val)
-
- __set ($key, $val)
-
- offsetget ($key)
-
- __get ($key)
-
- offsetunset ($key)
-
- __unset ($key)
-
-
-
-
- $sid
- Session ID.
-
-
-
- $db
- PDO wrapper.
-
-
-
- $query =array()
- Query results.
-
-
-
-
-
- $engine
- Database engine.
-
-
- $source
- SQL table.
-
-
- $table
- SQL table (quoted)
-
-
- $_id
- Last insert ID.
-
-
- $fields
- Defined fields.
-
-
- $adhoc =array()
- Adhoc fields.
-
-
-const E_Adhoc ='Unable to process ad hoc field %s'
-
-
-
- $ptr =0
- Current position.
-
-
- $trigger =array()
- Event listeners.
-
-
-const E_Field ='Undefined field %s'
-
-
- factory ($row)
-
-
-
-
SQL-managed session handler.
-
-
-
-
-
-
- DB\SQL\Session::__construct
- (
- \DB\SQL
- $db ,
-
-
-
-
-
- $table = 'sessions'
,
-
-
-
-
-
- $force = TRUE
-
-
-
- )
-
-
-
-
-
Instantiate class
Parameters
-
- $db object
- $table string
- $force bool
-
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL\Session::agent
- (
- )
-
-
-
-
-
Return HTTP user agent
Returns string|FALSE
-
-
-
-
-
-
-
-
- DB\SQL\Session::cleanup
- (
-
- $max )
-
-
-
-
-
Garbage collector
Returns TRUE
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL\Session::close
- (
- )
-
-
-
-
-
Close session
Returns TRUE
-
-
-
-
-
-
-
-
- DB\SQL\Session::csrf
- (
- )
-
-
-
-
-
Return anti-CSRF token
Returns string|FALSE
-
-
-
-
-
-
-
-
- DB\SQL\Session::destroy
- (
-
- $id )
-
-
-
-
-
Destroy session
Returns TRUE
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL\Session::ip
- (
- )
-
-
-
-
-
Return IP address
Returns string|FALSE
-
-
-
-
-
-
-
-
- DB\SQL\Session::open
- (
-
- $path ,
-
-
-
-
-
- $name
-
-
-
- )
-
-
-
-
-
Open session
Returns TRUE
-
Parameters
-
- $path string
- $name string
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL\Session::read
- (
-
- $id )
-
-
-
-
-
Return session data in serialized format
Returns string|FALSE
-
Parameters
-
-
-
-
-
-
-
-
-
-
-
- DB\SQL\Session::stamp
- (
- )
-
-
-
-
-
Return Unix timestamp
Returns string|FALSE
-
-
-
-
-
-
-
-
- DB\SQL\Session::write
- (
-
- $id ,
-
-
-
-
-
- $data
-
-
-
- )
-
-
-
-
-
Write session data
Returns TRUE
-
Parameters
-
- $id string
- $data string
-
-
-
-
-
-
-
The documentation for this class was generated from the following file:
-
diff --git a/lib/api/classDB_1_1SQL_1_1Session.png b/lib/api/classDB_1_1SQL_1_1Session.png
deleted file mode 100644
index e9d15add6d00d1f79cc042e56d7571b2afef12a8..0000000000000000000000000000000000000000
Binary files a/lib/api/classDB_1_1SQL_1_1Session.png and /dev/null differ
diff --git a/lib/api/classF3-members.html b/lib/api/classF3-members.html
deleted file mode 100644
index 988d67c5f40867159393af59357598c757201357..0000000000000000000000000000000000000000
--- a/lib/api/classF3-members.html
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Member List
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for F3 , including all inherited members.
-
diff --git a/lib/api/classF3.html b/lib/api/classF3.html
deleted file mode 100644
index cd5935702a8f235b607509a8fa8519abf6beb44c..0000000000000000000000000000000000000000
--- a/lib/api/classF3.html
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: F3 Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Legacy mode enabler.
- More...
-
-
-
-static $fw
- Framework instance.
-
-
-
-
-
-
-
-
-
-
-
-
- static F3::__callstatic
- (
-
- $func ,
-
-
-
-
- array
- $args
-
-
-
- )
-
-
-
-
-
-static
-
-
-
-
Forward function calls to framework
Returns mixed
-
Parameters
-
- $func callback
- $args array
-
-
-
-
-
-
-
The documentation for this class was generated from the following file:
-
diff --git a/lib/api/classISO-members.html b/lib/api/classISO-members.html
deleted file mode 100644
index 16269e06da7fb6dbdd9c3d107b39e1bf1c825d63..0000000000000000000000000000000000000000
--- a/lib/api/classISO-members.html
+++ /dev/null
@@ -1,377 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: Member List
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for ISO , including all inherited members.
-
diff --git a/lib/api/classISO.html b/lib/api/classISO.html
deleted file mode 100644
index 5fb0dbc37e3e2bcdfe3c0e66d103c33b219c1fa7..0000000000000000000000000000000000000000
--- a/lib/api/classISO.html
+++ /dev/null
@@ -1,1145 +0,0 @@
-
-
-
-
-
-
-
-Fat-Free Framework: ISO Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
- Fat-Free Framework
- 3.3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
ISO language/country codes.
- More...
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-const CC_af ='Afghanistan'
-
-
-const CC_ax ='Ã…land Islands'
-
-
-const CC_al ='Albania'
-
-
-const CC_dz ='Algeria'
-
-
-const CC_as ='American Samoa'
-
-
-const CC_ad ='Andorra'
-
-
-const CC_ao ='Angola'
-
-
-const CC_ai ='Anguilla'
-
-
-const CC_aq ='Antarctica'
-
-
-const CC_ag ='Antigua and Barbuda'
-
-
-const CC_ar ='Argentina'
-
-
-const CC_am ='Armenia'
-
-
-const CC_aw ='Aruba'
-
-
-const CC_au ='Australia'
-
-
-const CC_at ='Austria'
-
-
-const CC_az ='Azerbaijan'
-
-
-const CC_bs ='Bahamas'
-
-
-const CC_bh ='Bahrain'
-
-
-const CC_bd ='Bangladesh'
-
-
-const CC_bb ='Barbados'
-
-
-const CC_by ='Belarus'
-
-
-const CC_be ='Belgium'
-
-
-const CC_bz ='Belize'
-
-
-const CC_bj ='Benin'
-
-
-const CC_bm ='Bermuda'
-
-
-const CC_bt ='Bhutan'
-
-
-const CC_bo ='Bolivia'
-
-
-const CC_bq ='Bonaire, Sint Eustatius and Saba'
-
-
-const CC_ba ='Bosnia and Herzegovina'
-
-
-const CC_bw ='Botswana'
-
-
-const CC_bv ='Bouvet Island'
-
-
-const CC_br ='Brazil'
-
-
-const CC_io ='British Indian Ocean Territory'
-
-
-const CC_bn ='Brunei Darussalam'
-
-
-const CC_bg ='Bulgaria'
-
-
-const CC_bf ='Burkina Faso'
-
-
-const CC_bi ='Burundi'
-
-
-const CC_kh ='Cambodia'
-
-
-const CC_cm ='Cameroon'
-
-
-const CC_ca ='Canada'
-
-
-const CC_cv ='Cape Verde'
-
-
-const CC_ky ='Cayman Islands'
-
-
-const CC_cf ='Central African Republic'
-
-
-const CC_td ='Chad'
-
-
-const CC_cl ='Chile'
-
-
-const CC_cn ='China'
-
-
-const CC_cx ='Christmas Island'
-
-
-const CC_cc ='Cocos (Keeling) Islands'
-
-
-const CC_co ='Colombia'
-
-
-const CC_km ='Comoros'
-
-
-const CC_cg ='Congo'
-
-
-const CC_cd ='Congo, The Democratic Republic of'
-
-
-const CC_ck ='Cook Islands'
-
-
-const CC_cr ='Costa Rica'
-
-
-const CC_ci ='Côte d\'ivoire'
-
-
-const CC_hr ='Croatia'
-
-
-const CC_cu ='Cuba'
-
-
-const CC_cw ='Curaçao'
-
-
-const CC_cy ='Cyprus'
-
-
-const CC_cz ='Czech Republic'
-
-
-const CC_dk ='Denmark'
-
-
-const CC_dj ='Djibouti'
-
-
-const CC_dm ='Dominica'
-
-
-const CC_do ='Dominican Republic'
-
-
-const CC_ec ='Ecuador'
-
-
-const CC_eg ='Egypt'
-
-
-const CC_sv ='El Salvador'
-
-
-const CC_gq ='Equatorial Guinea'
-
-
-const CC_er ='Eritrea'
-
-
-const CC_ee ='Estonia'
-
-
-const CC_et ='Ethiopia'
-
-
-const CC_fk ='Falkland Islands (Malvinas)'
-
-
-const CC_fo ='Faroe Islands'
-
-
-const CC_fj ='Fiji'
-
-
-const CC_fi ='Finland'
-
-
-const CC_fr ='France'
-
-
-const CC_gf ='French Guiana'
-
-
-const CC_pf ='French Polynesia'
-
-
-const CC_tf ='French Southern Territories'
-
-
-const CC_ga ='Gabon'
-
-
-const CC_gm ='Gambia'
-
-
-const CC_ge ='Georgia'
-
-
-const CC_de ='Germany'
-
-
-const CC_gh ='Ghana'
-
-
-const CC_gi ='Gibraltar'
-
-
-const CC_gr ='Greece'
-
-
-const CC_gl ='Greenland'
-
-
-const CC_gd ='Grenada'
-
-
-const CC_gp ='Guadeloupe'
-
-
-const CC_gu ='Guam'
-
-
-const CC_gt ='Guatemala'
-
-
-const CC_gg ='Guernsey'
-
-
-const CC_gn ='Guinea'
-
-
-const CC_gw ='Guinea-Bissau'
-
-
-const CC_gy ='Guyana'
-
-
-const CC_ht ='Haiti'
-
-
-const CC_hm ='Heard Island and McDonald Islands'
-
-
-const CC_va ='Holy See (Vatican City State)'
-
-
-const CC_hn ='Honduras'
-
-
-const CC_hk ='Hong Kong'
-
-
-const CC_hu ='Hungary'
-
-
-const CC_is ='Iceland'
-
-
-const CC_in ='India'
-
-
-const CC_id ='Indonesia'
-
-
-const CC_ir ='Iran, Islamic Republic of'
-
-
-const CC_iq ='Iraq'
-
-
-const CC_ie ='Ireland'
-
-
-const CC_im ='Isle of Man'
-
-
-const CC_il ='Israel'
-
-
-const CC_it ='Italy'
-
-
-const CC_jm ='Jamaica'
-
-
-const CC_jp ='Japan'
-
-
-const CC_je ='Jersey'
-
-
-const CC_jo ='Jordan'
-
-
-const CC_kz ='Kazakhstan'
-
-
-const CC_ke ='Kenya'
-
-
-const CC_ki ='Kiribati'
-
-
-const CC_kp ='Korea, Democratic People\'s Republic of'
-
-
-const CC_kr ='Korea, Republic of'
-
-
-const CC_kw ='Kuwait'
-
-
-const CC_kg ='Kyrgyzstan'
-
-
-const CC_la ='Lao People\'s Democratic Republic'
-
-
-const CC_lv ='Latvia'
-
-
-const CC_lb ='Lebanon'
-
-
-const CC_ls ='Lesotho'
-
-
-const CC_lr ='Liberia'
-
-
-const CC_ly ='Libya'
-
-
-const CC_li ='Liechtenstein'
-
-
-const CC_lt ='Lithuania'
-
-
-const CC_lu ='Luxembourg'
-
-
-const CC_mo ='Macao'
-
-
-const CC_mk ='Macedonia, The Former Yugoslav Republic of'
-
-
-const CC_mg ='Madagascar'
-
-
-const CC_mw ='Malawi'
-
-
-const CC_my ='Malaysia'
-
-
-const CC_mv ='Maldives'
-
-
-const CC_ml ='Mali'
-
-
-const CC_mt ='Malta'
-
-
-const CC_mh ='Marshall Islands'
-
-
-const CC_mq ='Martinique'
-
-
-const CC_mr ='Mauritania'
-
-
-const CC_mu ='Mauritius'
-
-
-const CC_yt ='Mayotte'
-
-
-const CC_mx ='Mexico'
-
-
-const CC_fm ='Micronesia, Federated States of'
-
-
-const CC_md ='Moldova, Republic of'
-
-
-const CC_mc ='Monaco'
-
-
-const CC_mn ='Mongolia'
-
-
-const CC_me ='Montenegro'
-
-
-const CC_ms ='Montserrat'
-
-
-const CC_ma ='Morocco'
-
-
-const CC_mz ='Mozambique'
-
-
-const CC_mm ='Myanmar'
-
-
-const CC_na ='Namibia'
-
-
-const CC_nr ='Nauru'
-
-
-const CC_np ='Nepal'
-
-
-const CC_nl ='Netherlands'
-
-
-const CC_nc ='New Caledonia'
-
-
-const CC_nz ='New Zealand'
-
-
-const CC_ni ='Nicaragua'
-
-
-const CC_ne ='Niger'
-
-
-const CC_ng ='Nigeria'
-
-
-const CC_nu ='Niue'
-
-
-const CC_nf ='Norfolk Island'
-
-
-const CC_mp ='Northern Mariana Islands'
-
-
-const CC_no ='Norway'
-
-
-const CC_om ='Oman'
-
-
-const CC_pk ='Pakistan'
-
-
-const CC_pw ='Palau'
-
-
-const CC_ps ='Palestinian Territory, Occupied'
-
-
-const CC_pa ='Panama'
-
-
-const CC_pg ='Papua New Guinea'
-
-
-const CC_py ='Paraguay'
-
-
-const CC_pe ='Peru'
-
-
-const CC_ph ='Philippines'
-
-
-const CC_pn ='Pitcairn'
-
-
-const CC_pl ='Poland'
-
-
-const CC_pt ='Portugal'
-
-
-const CC_pr ='Puerto Rico'
-
-
-const CC_qa ='Qatar'
-
-
-const CC_re ='Réunion'
-
-
-const CC_ro ='Romania'
-
-
-const CC_ru ='Russian Federation'
-
-
-const CC_rw ='Rwanda'
-
-
-const CC_bl ='Saint Barthélemy'
-
-
-const CC_sh ='Saint Helena, Ascension and Tristan da Cunha'
-
-
-const CC_kn ='Saint Kitts and Nevis'
-
-
-const CC_lc ='Saint Lucia'
-
-
-const CC_mf ='Saint Martin (French Part)'
-
-
-const CC_pm ='Saint Pierre and Miquelon'
-
-
-const CC_vc ='Saint Vincent and The Grenadines'
-
-
-const CC_ws ='Samoa'
-
-
-const CC_sm ='San Marino'
-
-
-const CC_st ='Sao Tome and Principe'
-
-
-const CC_sa ='Saudi Arabia'
-
-
-const CC_sn ='Senegal'
-
-
-const CC_rs ='Serbia'
-
-
-const CC_sc ='Seychelles'
-
-
-const CC_sl ='Sierra Leone'
-
-
-const CC_sg ='Singapore'
-
-
-const CC_sk ='Slovakia'
-
-
-const CC_sx ='Sint Maarten (Dutch Part)'
-
-
-const CC_si ='Slovenia'
-
-
-const CC_sb ='Solomon Islands'
-
-
-const CC_so ='Somalia'
-
-
-const CC_za ='South Africa'
-
-
-const CC_gs ='South Georgia and The South Sandwich Islands'
-
-
-const CC_ss ='South Sudan'
-
-
-const CC_es ='Spain'
-
-
-const CC_lk ='Sri Lanka'
-
-
-const CC_sd ='Sudan'
-
-
-const CC_sr ='Suriname'
-
-
-const CC_sj ='Svalbard and Jan Mayen'
-
-
-const CC_sz ='Swaziland'
-
-
-const CC_se ='Sweden'
-
-
-const CC_ch ='Switzerland'
-
-
-const CC_sy ='Syrian Arab Republic'
-
-
-const CC_tw ='Taiwan, Province of China'
-
-
-const CC_tj ='Tajikistan'
-
-
-const CC_tz ='Tanzania, United Republic of'
-
-
-const CC_th ='Thailand'
-
-
-const CC_tl ='Timor-Leste'
-
-
-const CC_tg ='Togo'
-
-
-const CC_tk ='Tokelau'
-
-
-const CC_to ='Tonga'
-
-
-const CC_tt ='Trinidad and Tobago'
-
-
-const CC_tn ='Tunisia'
-
-
-const CC_tr ='Turkey'
-
-
-const CC_tm ='Turkmenistan'
-
-
-const CC_tc ='Turks and Caicos Islands'
-
-
-const CC_tv ='Tuvalu'
-
-
-const CC_ug ='Uganda'
-
-
-const CC_ua ='Ukraine'
-
-
-const CC_ae ='United Arab Emirates'
-
-
-const CC_gb ='United Kingdom'
-
-
-const CC_us ='United States'
-
-
-const CC_um ='United States Minor Outlying Islands'
-
-
-const CC_uy ='Uruguay'
-
-
-const CC_uz ='Uzbekistan'
-
-
-const CC_vu ='Vanuatu'
-
-
-const CC_ve ='Venezuela'
-
-
-const CC_vn ='Viet Nam'
-
-
-const CC_vg ='Virgin Islands, British'
-
-
-const CC_vi ='Virgin Islands, U.S.'
-
-
-const CC_wf ='Wallis and Futuna'
-
-
-const CC_eh ='Western Sahara'
-
-
-const CC_ye ='Yemen'
-
-
-const CC_zm ='Zambia'
-
-
-const CC_zw ='Zimbabwe'
-
-
-
-const LC_af ='Afrikaans'
-
-
-const LC_am ='Amharic'
-
-
-const LC_ar ='Arabic'
-
-
-const LC_as ='Assamese'
-
-
-const LC_ba ='Bashkir'
-
-
-const LC_be ='Belarusian'
-
-
-const LC_bg ='Bulgarian'
-
-
-const LC_bn ='Bengali'
-
-
-const LC_bo ='Tibetan'
-
-
-const LC_br ='Breton'
-
-
-const LC_ca ='Catalan'
-
-
-const LC_co ='Corsican'
-
-
-const LC_cs ='Czech'
-
-
-const LC_cy ='Welsh'
-
-
-const LC_da ='Danish'
-
-
-const LC_de ='German'
-
-
-const LC_dv ='Divehi'
-
-
-const LC_el ='Greek'
-
-
-const LC_en ='English'
-
-
-const LC_es ='Spanish'
-
-
-const LC_et ='Estonian'
-
-
-const LC_eu ='Basque'
-
-
-const LC_fa ='Persian'
-
-
-const LC_fi ='Finnish'
-
-
-const LC_fo ='Faroese'
-
-
-const LC_fr ='French'
-
-
-const LC_gd ='Scottish Gaelic'
-
-
-const LC_gl ='Galician'
-
-
-const LC_gu ='Gujarati'
-
-
-const LC_he ='Hebrew'
-
-
-const LC_hi ='Hindi'
-
-
-const LC_hr ='Croatian'
-
-
-const LC_hu ='Hungarian'
-
-
-const LC_hy ='Armenian'
-
-
-const LC_id ='Indonesian'
-
-
-const LC_ig ='Igbo'
-
-
-const LC_is ='Icelandic'
-
-
-const LC_it ='Italian'
-
-
-const LC_ja ='Japanese'
-
-
-const LC_ka ='Georgian'
-
-
-const LC_kk ='Kazakh'
-
-
-const LC_km ='Khmer'
-
-
-const LC_kn ='Kannada'
-
-
-const LC_ko ='Korean'
-
-
-const LC_lb ='Luxembourgish'
-
-
-const LC_lo ='Lao'
-
-
-const LC_lt ='Lithuanian'
-
-
-const LC_lv ='Latvian'
-
-
-const LC_mi ='Maori'
-
-
-const LC_ml ='Malayalam'
-
-
-const LC_mr ='Marathi'
-
-
-const LC_ms ='Malay'
-
-
-const LC_mt ='Maltese'
-
-
-const LC_ne ='Nepali'
-
-
-const LC_nl ='Dutch'
-
-
-const LC_no ='Norwegian'
-
-
-const LC_oc ='Occitan'
-
-
-const LC_or ='Oriya'
-
-
-const LC_pl ='Polish'
-
-
-const LC_ps ='Pashto'
-
-
-const LC_pt ='Portuguese'
-
-
-const LC_qu ='Quechua'
-
-
-const LC_ro ='Romanian'
-
-
-const LC_ru ='Russian'
-
-
-const LC_rw ='Kinyarwanda'
-
-
-const LC_sa ='Sanskrit'
-
-
-const LC_si ='Sinhala'
-
-
-const LC_sk ='Slovak'
-
-
-const LC_sl ='Slovenian'
-
-
-const LC_sq ='Albanian'
-
-
-const LC_sv ='Swedish'
-
-
-const LC_ta ='Tamil'
-
-
-const LC_te ='Telugu'
-
-
-const LC_th ='Thai'
-
-
-const LC_tk ='Turkmen'
-
-
-const LC_tr ='Turkish'
-
-
-const LC_tt ='Tatar'
-
-
-const LC_uk ='Ukrainian'
-
-
-const LC_ur ='Urdu'
-
-