diff --git a/.htaccess b/.htaccess
index 8203b787..d17a812d 100644
--- a/.htaccess
+++ b/.htaccess
@@ -20,4 +20,8 @@ RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
php_value max_input_vars 5000
php_value suhosin.get.max_vars 5000
php_value suhosin.post.max_vars 5000
-php_value suhosin.request.max_vars 5000
\ No newline at end of file
+php_value suhosin.request.max_vars 5000
+
+# PHP error logs
+php_flag log_errors on
+php_value error_log "/www/htdocs/w0128162/pathfinder.exodus4d.de/php_errors.html"
\ No newline at end of file
diff --git a/.idea/deployment.xml b/.idea/deployment.xml
index 0e0154f0..6daaff49 100644
--- a/.idea/deployment.xml
+++ b/.idea/deployment.xml
@@ -14,9 +14,9 @@
+
+
+
+
+
+
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
| ▼NDB | |
| ▼NJig | |
| CMapper | Flat-file DB mapper |
| CSession | Jig-managed session handler |
| ▼NMongo | |
| CMapper | MongoDB mapper |
| CSession | MongoDB-managed session handler |
| ▼NSQL | |
| CMapper | SQL data mapper |
| CSession | SQL-managed session handler |
| CCursor | Simple cursor implementation |
| CJig | In-memory/flat-file DB wrapper |
| CMongo | MongoDB wrapper |
| CSQL | PDO wrapper |
| ▼NWeb | |
| ▼NGoogle | |
| CStaticMap | Google Static Maps API v2 plug-in |
| CGeo | Geo plug-in |
| COpenID | OpenID consumer |
| CPingback | Pingback 1.0 protocol (client and server) implementation |
| CAudit | Data validator |
| CAuth | Authorization/authentication plug-in |
| CBase | Base structure |
| CBasket | Session-based pseudo-mapper |
| CBcrypt | Lightweight password hashing library |
| CCache | Cache engine |
| CF3 | Legacy mode enabler |
| CImage | Image manipulation tools |
| CISO | ISO language/country codes |
| CLog | Custom logger |
| CMagic | PHP magic wrapper |
| CMarkdown | Markdown-to-HTML converter |
| CMatrix | Generic array utilities |
| CPrefab | Factory class for single-instance objects |
| CPreview | Lightweight template engine |
| CRegistry | Container for singular object instances |
| CSession | Cache-based session handler |
| CSMTP | SMTP plug-in |
| CTemplate | XML-style template engine |
| CTest | Unit test kit |
| CUTF | Unicode string manager |
| CView | View handler |
| CWeb | Wrapper for various HTTP utilities |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for Audit, including all inherited members.
-| card($id) | Audit | |
| email($str, $mx=TRUE) | Audit | |
| entropy($str) | Audit | |
| instance() | Prefab | static |
| ipv4($addr) | Audit | |
| ipv6($addr) | Audit | |
| isbot() | Audit | |
| isdesktop() | Audit | |
| ismobile() | Audit | |
| isprivate($addr) | Audit | |
| ispublic($addr) | Audit | |
| isreserved($addr) | Audit | |
| mod10($id) | Audit | |
| UA_Bot (defined in Audit) | Audit | |
| UA_Desktop (defined in Audit) | Audit | |
| UA_Mobile (defined in Audit) | Audit | |
| url($str) | Audit |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Data validator. - More...
-
Inheritance diagram for Audit:-Public Member Functions | |
| url ($str) | |
| email ($str, $mx=TRUE) | |
| ipv4 ($addr) | |
| ipv6 ($addr) | |
| isprivate ($addr) | |
| isreserved ($addr) | |
| ispublic ($addr) | |
| isdesktop () | |
| ismobile () | |
| isbot () | |
| mod10 ($id) | |
| card ($id) | |
| entropy ($str) | |
-Additional Inherited Members | |
Static Public Member Functions inherited from Prefab | |
| static | instance () |
Data validator.
-| Audit::card | -( | -- | $id | ) | -- |
Return credit card type if number is valid
| $id | string |
| Audit::email | -( | -- | $str, | -
| - | - | - | $mx = TRUE |
-
| - | ) | -- |
Return TRUE if string is a valid e-mail address; Check DNS MX records if specified
| $str | string |
| $mx | boolean |
| Audit::entropy | -( | -- | $str | ) | -- |
Return entropy estimate of a password (NIST 800-63)
| $str | string |
| Audit::ipv4 | -( | -- | $addr | ) | -- |
Return TRUE if string is a valid IPV4 address
| $addr | string |
| Audit::ipv6 | -( | -- | $addr | ) | -- |
Return TRUE if string is a valid IPV6 address
| $addr | string |
| Audit::isbot | -( | -) | -- |
Return TRUE if user agent is a Web bot
| Audit::isdesktop | -( | -) | -- |
Return TRUE if user agent is a desktop browser
| Audit::ismobile | -( | -) | -- |
Return TRUE if user agent is a mobile device
| Audit::isprivate | -( | -- | $addr | ) | -- |
Return TRUE if IP address is within private range
| $addr | string |
| Audit::ispublic | -( | -- | $addr | ) | -- |
Return TRUE if IP address is neither private nor reserved
| $addr | string |
| Audit::isreserved | -( | -- | $addr | ) | -- |
Return TRUE if IP address is within reserved range
| $addr | string |
| Audit::mod10 | -( | -- | $id | ) | -- |
Return TRUE if specified ID has a valid (Luhn) Mod-10 check digit
| $id | string |
| Audit::url | -( | -- | $str | ) | -- |
Return TRUE if string is a valid URL
| $str | string |
|
- Fat-Free Framework
- 3.4.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 |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Authorization/authentication plug-in. - More...
--Public Member Functions | |
| login ($id, $pw, $realm=NULL) | |
| basic ($func=NULL) | |
| __construct ($storage, array $args=NULL) | |
-Public Attributes | |
| - | $mapper |
| Mapper object. | |
| - | $args |
| Storage options. | |
| -const | E_LDAP ='LDAP connection failure' |
| -const | E_SMTP ='SMTP connection failure' |
-Protected Member Functions | |
| _jig ($id, $pw, $realm) | |
| _mongo ($id, $pw, $realm) | |
| _sql ($id, $pw, $realm) | |
| _ldap ($id, $pw) | |
| _smtp ($id, $pw) | |
-Protected Attributes | |
| - | $storage |
| Auth storage. | |
Authorization/authentication plug-in.
-| Auth::__construct | -( | -- | $storage, | -
| - | - | array | -$args = NULL |
-
| - | ) | -- |
Instantiate class
| $storage | string|object |
| $args | array |
-
|
- -protected | -
Jig storage handler
| $id | string |
| $pw | string |
| $realm | string |
-
|
- -protected | -
LDAP storage handler
| $id | string |
| $pw | string |
-
|
- -protected | -
MongoDB storage handler
| $id | string |
| $pw | string |
| $realm | string |
-
|
- -protected | -
SMTP storage handler
| $id | string |
| $pw | string |
-
|
- -protected | -
SQL storage handler
| $id | string |
| $pw | string |
| $realm | string |
| Auth::basic | -( | -- | $func = NULL | ) | -- |
HTTP basic auth mechanism
| $func | callback |
| Auth::login | -( | -- | $id, | -
| - | - | - | $pw, | -
| - | - | - | $realm = NULL |
-
| - | ) | -- |
Login auth mechanism
| $id | string |
| $pw | string |
| $realm | string |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for Base, including all inherited members.
-| $fallback | Base | |
| $init | Base | |
| $languages | Base | |
| __call($key, $args) | Base | |
| __construct() | Base | |
| __get($key) | Base | |
| __isset($key) | Base | |
| __set($key, $val) | Base | |
| __unset($key) | Base | |
| agent() | Base | |
| ajax() | Base | |
| alias($name, $params=null) | Base | |
| autoload($class) | Base | protected |
| base64($data, $mime) | Base | |
| blacklisted($ip) | Base | |
| build($url, $params=array()) | Base | |
| call($func, $args=NULL, $hooks='') | Base | |
| camelcase($str) | Base | |
| chain($funcs, $args=NULL) | Base | |
| checked($key) | 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 |
| ip() | Base | |
| 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 | |
| offsetexists($key) | Base | |
| offsetget($key) | Base | |
| offsetset($key, $val) | Base | |
| offsetunset($key) | 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 | |
| visible($obj, $key) | Base | |
| write($file, $data, $append=FALSE) | Base |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Base structure. - More...
-
Inheritance diagram for Base:-Public Member Functions | |
| sync ($key) | |
| build ($url, $params=array()) | |
| alias ($name, $params=null) | |
| 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) | |
| checked ($key) | |
| visible ($obj, $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) | |
| agent () | |
| ajax () | |
| ip () | |
| 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) | |
| offsetexists ($key) | |
| offsetset ($key, $val) | |
| & | offsetget ($key) |
| offsetunset ($key) | |
| __isset ($key) | |
| __set ($key, $val) | |
| & | __get ($key) |
| __unset ($key) | |
| __call ($key, $args) | |
| - | __construct () |
| Bootstrap. | |
-Public Attributes | |
| -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.4.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' |
-Protected Member Functions | |
| autoload ($class) | |
-Additional Inherited Members | |
Static Public Member Functions inherited from Prefab | |
| static | instance () |
Base structure.
-| Base::__call | -( | -- | $key, | -
| - | - | - | $args | -
| - | ) | -- |
Call function identified by hive key
| $key | string |
| $args | array |
| & Base::__get | -( | -- | $key | ) | -- |
Alias for offsetget()
| $key | string |
| Base::__isset | -( | -- | $key | ) | -- |
Alias for offsetexists()
| $key | string |
| Base::__set | -( | -- | $key, | -
| - | - | - | $val | -
| - | ) | -- |
Alias for offsetset()
| $key | string |
| $val | mixed |
| Base::__unset | -( | -- | $key | ) | -- |
Alias for offsetunset()
| $key | string |
| Base::agent | -( | -) | -- |
Return HTTP user agent
| Base::ajax | -( | -) | -- |
Return TRUE if XMLHttpRequest detected
| Base::alias | -( | -- | $name, | -
| - | - | - | $params = null |
-
| - | ) | -- |
assemble url from alias name
| $name | string |
| $params | string |
-
|
- -protected | -
Namespace-aware class autoloader
| $class | string |
| Base::base64 | -( | -- | $data, | -
| - | - | - | $mime | -
| - | ) | -- |
Return Base64-encoded equivalent
| $data | string |
| $mime | string |
| Base::blacklisted | -( | -- | $ip | ) | -- |
Return TRUE if IPv4 address exists in DNSBL
| $ip | string |
| Base::build | -( | -- | $url, | -
| - | - | - | $params = array() |
-
| - | ) | -- |
Replace tokenized URL with available token values
| $url | array|string |
| $params | array |
| Base::call | -( | -- | $func, | -
| - | - | - | $args = NULL, |
-
| - | - | - | $hooks = '' |
-
| - | ) | -- |
Execute callback/hooks (supports 'class->method' format)
| $func | callback |
| $args | mixed |
| $hooks | string |
| Base::camelcase | -( | -- | $str | ) | -- |
Convert snakecase string to camelcase
| $str | string |
| Base::chain | -( | -- | $funcs, | -
| - | - | - | $args = NULL |
-
| - | ) | -- |
Execute specified callbacks in succession; Apply same arguments to all callbacks
| $funcs | array|string |
| $args | mixed |
| Base::checked | -( | -- | $key | ) | -- |
Return TRUE if hive variable is 'on'
| $key | string |
| Base::clean | -( | -- | $arg, | -
| - | - | - | $tags = NULL |
-
| - | ) | -- |
Remove HTML tags (except those enumerated) and non-printable characters to mitigate XSS/code injection attacks
| $arg | mixed |
| $tags | string |
| Base::clear | -( | -- | $key | ) | -- |
Unset hive key
| $key | string |
| Base::compile | -( | -- | $str | ) | -- |
Convert JS-style token to PHP expression
| $str | string |
| Base::concat | -( | -- | $key, | -
| - | - | - | $val | -
| - | ) | -- |
Concatenate string to hive string variable
| $key | string |
| $val | string |
| Base::config | -( | -- | $file | ) | -- |
Configure framework according to .ini-style file settings
| $file | string |
| Base::copy | -( | -- | $src, | -
| - | - | - | $dst | -
| - | ) | -- |
Copy contents of hive variable to another
| $src | string |
| $dst | string |
| Base::csv | -( | -array | -$args | ) | -- |
Flatten array values and return as CSV string
| $args | array |
| Base::decode | -( | -- | $str | ) | -- |
Convert HTML entities back to characters
| $str | string |
| Base::devoid | -( | -- | $key | ) | -- |
Return TRUE if hive key is empty and not cached
| $key | string |
| Base::dump | -( | -- | $expr | ) | -- |
Dump expression with syntax highlighting
| $expr | mixed |
| Base::encode | -( | -- | $str | ) | -- |
Convert special characters to HTML entities
| $str | string |
| 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)
| $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)
| $key | string |
| $val | mixed |
| Base::expire | -( | -- | $secs = 0 | ) | -- |
Send cache metadata to HTTP client
| $secs | int |
| Base::fixslashes | -( | -- | $str | ) | -- |
Convert backslashes to slashes
| $str | string |
| Base::flip | -( | -- | $key | ) | -- |
Swap keys and values of hive array variable
| $key | string |
| Base::format | -( | -) | -- |
Return locale-aware formatted string
| Base::get | -( | -- | $key, | -
| - | - | - | $args = NULL |
-
| - | ) | -- |
Retrieve contents of hive key
| $key | string |
| $args | string|array |
| Base::hash | -( | -- | $str | ) | -- |
Generate 64bit/base36 hash
| $str |
| Base::highlight | -( | -- | $text | ) | -- |
Apply syntax highlighting
| $text | string |
| Base::hive | -( | -) | -- |
Publish hive contents
| Base::ip | -( | -) | -- |
Sniff IP address
| Base::language | -( | -- | $code | ) | -- |
Assign/auto-detect language
| $code | string |
| Base::lexicon | -( | -- | $path | ) | -- |
Return lexicon entries
| $path | string |
| Base::map | -( | -- | $url, | -
| - | - | - | $class, | -
| - | - | - | $ttl = 0, |
-
| - | - | - | $kbps = 0 |
-
| - | ) | -- |
Provide ReST interface by mapping HTTP verb to class method
| $url | string |
| $class | string |
| $ttl | int |
| $kbps | int |
| Base::merge | -( | -- | $key, | -
| - | - | - | $src | -
| - | ) | -- |
Merge array with hive array variable
| $key | string |
| $src | string|array |
| Base::mock | -( | -- | $pattern, | -
| - | - | array | -$args = NULL, |
-
| - | - | array | -$headers = NULL, |
-
| - | - | - | $body = NULL |
-
| - | ) | -- |
Mock HTTP request
| $pattern | string |
| $args | array |
| $headers | array |
| $body | string |
| Base::mset | -( | -array | -$vars, | -
| - | - | - | $prefix = '', |
-
| - | - | - | $ttl = 0 |
-
| - | ) | -- |
Multi-variable assignment using associative array
| $vars | array |
| $prefix | string |
| $ttl | int |
| Base::mutex | -( | -- | $id, | -
| - | - | - | $func, | -
| - | - | - | $args = NULL |
-
| - | ) | -- |
Create mutex, invoke callback then drop ownership when done
| $id | string |
| $func | callback |
| $args | mixed |
| Base::offsetexists | -( | -- | $key | ) | -- |
Convenience method for checking hive key
| $key | string |
| & Base::offsetget | -( | -- | $key | ) | -- |
Convenience method for retrieving hive value
| $key | string |
| Base::offsetset | -( | -- | $key, | -
| - | - | - | $val | -
| - | ) | -- |
Convenience method for assigning hive value
| $key | string |
| $val | scalar |
| Base::offsetunset | -( | -- | $key | ) | -- |
Convenience method for removing hive key
| $key | string |
| Base::parse | -( | -- | $str | ) | -- |
Parse string containing key-value pairs
| $str | string |
| Base::pop | -( | -- | $key | ) | -- |
Remove last element of hive array variable
| $key | string |
| Base::push | -( | -- | $key, | -
| - | - | - | $val | -
| - | ) | -- |
Add element to the end of hive array variable
| $key | string |
| $val | mixed |
| Base::read | -( | -- | $file, | -
| - | - | - | $lf = FALSE |
-
| - | ) | -- |
Read file (with option to apply Unix LF as standard line ending)
| $file | string |
| $lf | bool |
| Base::recursive | -( | -- | $arg, | -
| - | - | - | $func, | -
| - | - | - | $stack = NULL |
-
| - | ) | -- |
Invoke callback recursively for all data types
| $arg | mixed |
| $func | callback |
| $stack | array |
| Base::redirect | -( | -- | $pattern, | -
| - | - | - | $url | -
| - | ) | -- |
Redirect a route to another URL
| $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
| $key | string |
| $add | bool |
| Base::rel | -( | -- | $url | ) | -- |
Return path relative to the base directory
| $url | string |
| Base::relay | -( | -- | $funcs, | -
| - | - | - | $args = NULL |
-
| - | ) | -- |
Execute specified callbacks in succession; Relay result of previous callback as argument to the next callback
| $funcs | array|string |
| $args | mixed |
| Base::reroute | -( | -- | $url, | -
| - | - | - | $permanent = FALSE |
-
| - | ) | -- |
Reroute to specified URI
| $url | string |
| $permanent | bool |
| Base::route | -( | -- | $pattern, | -
| - | - | - | $handler, | -
| - | - | - | $ttl = 0, |
-
| - | - | - | $kbps = 0 |
-
| - | ) | -- |
Bind handler to route pattern
| $pattern | string|array |
| $handler | callback |
| $ttl | int |
| $kbps | int |
| Base::run | -( | -) | -- |
Match routes against incoming URI
| Base::scrub | -( | -& | -$var, | -
| - | - | - | $tags = NULL |
-
| - | ) | -- |
Similar to clean(), except that variable is passed by reference
| $var | mixed |
| $tags | string |
| Base::serialize | -( | -- | $arg | ) | -- |
Return string representation of PHP value
| $arg | mixed |
| Base::set | -( | -- | $key, | -
| - | - | - | $val, | -
| - | - | - | $ttl = 0 |
-
| - | ) | -- |
Bind value to hive key
| $key | string |
| $val | mixed |
| $ttl | int |
| Base::shift | -( | -- | $key | ) | -- |
Remove first element of hive array variable
| $key | string |
| Base::sign | -( | -- | $num | ) | -- |
Return -1 if specified number is negative, 0 if zero, or 1 if the number is positive
| $num | mixed |
| Base::snakecase | -( | -- | $str | ) | -- |
Convert camelcase string to snakecase
| $str | string |
| Base::split | -( | -- | $str | ) | -- |
Split comma-, semi-colon, or pipe-separated string
| $str | string |
| Base::status | -( | -- | $code | ) | -- |
Send HTTP/1.1 status header; Return text equivalent of status code
| $code | int |
| Base::stringify | -( | -- | $arg, | -
| - | - | array | -$stack = NULL |
-
| - | ) | -- |
Convert PHP expression/value to compressed exportable string
| $arg | mixed |
| $stack | array |
| Base::sync | -( | -- | $key | ) | -- |
Sync PHP global with corresponding hive key
| $key | string |
| Base::unload | -( | -- | $cwd | ) | -- |
Execute framework/application shutdown sequence
| $cwd | string |
| Base::unserialize | -( | -- | $arg | ) | -- |
Return PHP value derived from string
| $arg | mixed |
| Base::unshift | -( | -- | $key, | -
| - | - | - | $val | -
| - | ) | -- |
Add element to the beginning of hive array variable
| $key | string |
| $val | mixed |
| Base::visible | -( | -- | $obj, | -
| - | - | - | $key | -
| - | ) | -- |
Return TRUE if property has public visibility
| $obj | object |
| $key | string |
| Base::write | -( | -- | $file, | -
| - | - | - | $data, | -
| - | - | - | $append = FALSE |
-
| - | ) | -- |
Exclusive file write
| $file | string |
| $data | mixed |
| $append | bool |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for Basket, including all inherited members.
-| $id | Basket | |
| $item | Basket | |
| $key | Basket | protected |
| __construct($key='basket') | Basket | |
| __get($key) | Magic | |
| __isset($key) | Magic | |
| __set($key, $val) | Magic | |
| __unset($key) | Magic | |
| checkout() | Basket | |
| clear($key) | Basket | |
| copyfrom($key) | Basket | |
| copyto($key) | Basket | |
| count() | Basket | |
| drop() | Basket | |
| dry() | Basket | |
| E_Field (defined in Basket) | Basket | |
| erase($key, $val) | Basket | |
| exists($key) | Basket | |
| find($key=NULL, $val=NULL) | Basket | |
| findone($key, $val) | Basket | |
| get($key) | Basket | |
| load($key, $val) | Basket | |
| offsetexists($key) | Magic | |
| offsetget($key) | Magic | |
| offsetset($key, $val) | Magic | |
| offsetunset($key) | Magic | |
| reset() | Basket | |
| save() | Basket | |
| set($key, $val) | Basket |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Session-based pseudo-mapper. - More...
-
Inheritance diagram for Basket:-Public Member Functions | |
| exists ($key) | |
| set ($key, $val) | |
| & | get ($key) |
| clear ($key) | |
| find ($key=NULL, $val=NULL) | |
| findone ($key, $val) | |
| load ($key, $val) | |
| dry () | |
| count () | |
| save () | |
| erase ($key, $val) | |
| reset () | |
| drop () | |
| copyfrom ($key) | |
| copyto ($key) | |
| checkout () | |
| __construct ($key='basket') | |
Public Member Functions inherited from Magic | |
| exists ($key) | |
| set ($key, $val) | |
| & | get ($key) |
| clear ($key) | |
| offsetexists ($key) | |
| offsetset ($key, $val) | |
| & | offsetget ($key) |
| offsetunset ($key) | |
| __isset ($key) | |
| __set ($key, $val) | |
| & | __get ($key) |
| __unset ($key) | |
-Public Attributes | |
| - | $id |
| Current item identifier. | |
| - | $item =array() |
| Current item contents. | |
| -const | E_Field ='Undefined field %s' |
-Protected Attributes | |
| - | $key |
| Session key. | |
Session-based pseudo-mapper.
-| Basket::__construct | -( | -- | $key = 'basket' | ) | -- |
Instantiate class
| $key | string |
| Basket::checkout | -( | -) | -- |
Check out basket contents
| Basket::clear | -( | -- | $key | ) | -- |
Delete field
| $key | string |
| Basket::copyfrom | -( | -- | $key | ) | -- |
Hydrate item using hive array variable
| $key | string |
| Basket::copyto | -( | -- | $key | ) | -- |
Populate hive array variable with item contents
| $key | string |
| Basket::count | -( | -) | -- |
Return number of items in basket
| Basket::drop | -( | -) | -- |
Empty basket
| Basket::dry | -( | -) | -- |
Return TRUE if current item is empty/undefined
| Basket::erase | -( | -- | $key, | -
| - | - | - | $val | -
| - | ) | -- |
Erase item matching key/value pair
| $key | string |
| $val | mixed |
| Basket::exists | -( | -- | $key | ) | -- |
Return TRUE if field is defined
| $key | string |
| Basket::find | -( | -- | $key = NULL, |
-
| - | - | - | $val = NULL |
-
| - | ) | -- |
Return items that match key/value pair; If no key/value pair specified, return all items
| $key | string |
| $val | mixed |
| Basket::findone | -( | -- | $key, | -
| - | - | - | $val | -
| - | ) | -- |
Return first item that matches key/value pair
| $key | string |
| $val | mixed |
| & Basket::get | -( | -- | $key | ) | -- |
Retrieve value of field
| $key | string |
| Basket::load | -( | -- | $key, | -
| - | - | - | $val | -
| - | ) | -- |
Map current item to matching key/value pair
| $key | string |
| $val | mixed |
| Basket::reset | -( | -) | -- |
Reset cursor
| Basket::save | -( | -) | -- |
Save current item
| Basket::set | -( | -- | $key, | -
| - | - | - | $val | -
| - | ) | -- |
Assign value to field
| $key | string |
| $val | scalar |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for Bcrypt, including all inherited members.
-| COST | Bcrypt | |
| E_CostArg (defined in Bcrypt) | Bcrypt | |
| E_SaltArg (defined in Bcrypt) | Bcrypt | |
| hash($pw, $salt=NULL, $cost=self::COST) | Bcrypt | |
| instance() | Prefab | static |
| needs_rehash($hash, $cost=self::COST) | Bcrypt | |
| verify($pw, $hash) | Bcrypt |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Lightweight password hashing library. - More...
-
Inheritance diagram for Bcrypt:-Public Member Functions | |
| hash ($pw, $salt=NULL, $cost=self::COST) | |
| needs_rehash ($hash, $cost=self::COST) | |
| verify ($pw, $hash) | |
-Public Attributes | |
| -const | COST =10 |
| Default cost. | |
| -const | E_CostArg ='Invalid cost parameter' |
| -const | E_SaltArg ='Salt must be at least 22 alphanumeric characters' |
-Additional Inherited Members | |
Static Public Member Functions inherited from Prefab | |
| static | instance () |
Lightweight password hashing library.
-| Bcrypt::hash | -( | -- | $pw, | -
| - | - | - | $salt = NULL, |
-
| - | - | - | $cost = self::COST |
-
| - | ) | -- |
Generate bcrypt hash of string
| $pw | string |
| $salt | string |
| $cost | int |
| Bcrypt::needs_rehash | -( | -- | $hash, | -
| - | - | - | $cost = self::COST |
-
| - | ) | -- |
Check if password is still strong enough
| $hash | string |
| $cost | int |
| Bcrypt::verify | -( | -- | $pw, | -
| - | - | - | $hash | -
| - | ) | -- |
Verify password against hash using timing attack resistant approach
| $pw | string |
| $hash | string |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for Cache, including all inherited members.
-| $dsn | Cache | protected |
| $prefix | Cache | |
| $ref | Cache | |
| __construct($dsn=FALSE) | Cache | |
| clear($key) | Cache | |
| exists($key, &$val=NULL) | Cache | |
| get($key) | Cache | |
| instance() | Prefab | static |
| load($dsn) | Cache | |
| reset($suffix=NULL, $lifetime=0) | Cache | |
| set($key, $val, $ttl=0) | Cache |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Cache engine. - More...
-
Inheritance diagram for Cache:-Public Member Functions | |
| exists ($key, &$val=NULL) | |
| set ($key, $val, $ttl=0) | |
| get ($key) | |
| clear ($key) | |
| reset ($suffix=NULL, $lifetime=0) | |
| load ($dsn) | |
| __construct ($dsn=FALSE) | |
-Public Attributes | |
| - | $prefix |
| Prefix for cache entries. | |
| - | $ref |
| MemCache or Redis object. | |
-Protected Attributes | |
| - | $dsn |
| Cache DSN. | |
-Additional Inherited Members | |
Static Public Member Functions inherited from Prefab | |
| static | instance () |
Cache engine.
-| Cache::__construct | -( | -- | $dsn = FALSE | ) | -- |
Class constructor
| $dsn | bool|string |
| Cache::clear | -( | -- | $key | ) | -- |
Delete cache entry
| $key | string |
| Cache::exists | -( | -- | $key, | -
| - | - | & | -$val = NULL |
-
| - | ) | -- |
Return timestamp and TTL of cache entry or FALSE if not found
| $key | string |
| $val | mixed |
| Cache::get | -( | -- | $key | ) | -- |
Retrieve value of cache entry
| $key | string |
| Cache::load | -( | -- | $dsn | ) | -- |
Load/auto-detect cache backend
| $dsn | bool|string |
| Cache::reset | -( | -- | $suffix = NULL, |
-
| - | - | - | $lifetime = 0 |
-
| - | ) | -- |
Clear contents of cache backend
| $suffix | string |
| $lifetime | int |
| Cache::set | -( | -- | $key, | -
| - | - | - | $val, | -
| - | - | - | $ttl = 0 |
-
| - | ) | -- |
Store value in cache
| $key | string |
| $val | mixed |
| $ttl | int |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for DB\Cursor, including all inherited members.
-|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Simple cursor implementation. - More...
-
Inheritance diagram for DB\Cursor:-Public Member Functions | |
| dbtype () | |
| fields () | |
| 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 () | |
| valid () | |
| save () | |
| erase () | |
| onload ($func) | |
| beforeinsert ($func) | |
| afterinsert ($func) | |
| oninsert ($func) | |
| beforeupdate ($func) | |
| afterupdate ($func) | |
| onupdate ($func) | |
| beforesave ($func) | |
| aftersave ($func) | |
| onsave ($func) | |
| beforeerase ($func) | |
| aftererase ($func) | |
| onerase ($func) | |
| reset () | |
Public Member Functions inherited from Magic | |
| exists ($key) | |
| set ($key, $val) | |
| & | get ($key) |
| clear ($key) | |
| offsetexists ($key) | |
| offsetset ($key, $val) | |
| & | offsetget ($key) |
| offsetunset ($key) | |
| __isset ($key) | |
| __set ($key, $val) | |
| & | __get ($key) |
| __unset ($key) | |
-Public Attributes | |
| - | $ptr =0 |
| Current position. | |
| - | $trigger =array() |
| Event listeners. | |
| -const | E_Field ='Undefined field %s' |
-Protected Attributes | |
| - | $query =array() |
| Query results. | |
Simple cursor implementation.
-| DB\Cursor::aftererase | -( | -- | $func | ) | -- |
Define aftererase trigger
| $func | callback |
| DB\Cursor::afterinsert | -( | -- | $func | ) | -- |
Define afterinsert trigger
| $func | callback |
| DB\Cursor::aftersave | -( | -- | $func | ) | -- |
Define aftersave trigger
| $func | callback |
| DB\Cursor::afterupdate | -( | -- | $func | ) | -- |
Define afterupdate trigger
| $func | callback |
| DB\Cursor::beforeerase | -( | -- | $func | ) | -- |
Define beforeerase trigger
| $func | callback |
| DB\Cursor::beforeinsert | -( | -- | $func | ) | -- |
Define beforeinsert trigger
| $func | callback |
| DB\Cursor::beforesave | -( | -- | $func | ) | -- |
Define beforesave trigger
| $func | callback |
| DB\Cursor::beforeupdate | -( | -- | $func | ) | -- |
Define beforeupdate trigger
| $func | callback |
-
|
- -abstract | -
Return fields of mapper object as an associative array
| $obj | object |
-
|
- -abstract | -
Hydrate mapper object using hive array variable
| $key | string |
| $func | callback |
-
|
- -abstract | -
Populate hive array variable with mapper fields
| $key | string |
-
|
- -abstract | -
Count records that match criteria
| $filter | array |
| $ttl | int |
-
|
- -abstract | -
Return database type
| DB\Cursor::dry | -( | -) | -- |
Get cursor's equivalent external iterator Causes a fatal error in PHP 5.3.5if uncommented return ArrayIterator Return TRUE if current cursor position is not mapped to any record
| DB\Cursor::erase | -( | -) | -- |
Delete current record
-
|
- -abstract | -
Return field names
-
|
- -abstract | -
Return records (array of mapper objects) that match criteria
| $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
| $filter | string|array |
| $options | array |
| $ttl | int |
| DB\Cursor::first | -( | -) | -- |
Map to first record in cursor
-
|
- -abstract | -
Insert new record
| DB\Cursor::last | -( | -) | -- |
Map to last record in cursor
| DB\Cursor::load | -( | -- | $filter = NULL, |
-
| - | - | array | -$options = NULL, |
-
| - | - | - | $ttl = 0 |
-
| - | ) | -- |
Map to first record that matches criteria
| $filter | string|array |
| $options | array |
| $ttl | int |
| DB\Cursor::loaded | -( | -) | -- |
Return the count of records loaded
| DB\Cursor::next | -( | -) | -- |
Map next record
| DB\Cursor::onerase | -( | -- | $func | ) | -- |
Define onerase trigger
| $func | callback |
| DB\Cursor::oninsert | -( | -- | $func | ) | -- |
Define oninsert trigger
| $func | callback |
| DB\Cursor::onload | -( | -- | $func | ) | -- |
Define onload trigger
| $func | callback |
| DB\Cursor::onsave | -( | -- | $func | ) | -- |
Define onsave trigger
| $func | callback |
| DB\Cursor::onupdate | -( | -- | $func | ) | -- |
Define onupdate trigger
| $func | callback |
| 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
| $pos | int |
| $size | int |
| $filter | string|array |
| $options | array |
| $ttl | int |
| DB\Cursor::prev | -( | -) | -- |
Map previous record
| DB\Cursor::reset | -( | -) | -- |
Reset cursor
| DB\Cursor::save | -( | -) | -- |
Save mapped record
| DB\Cursor::skip | -( | -- | $ofs = 1 | ) | -- |
Map to nth record relative to current cursor position
| $ofs | int |
-
|
- -abstract | -
Update current record
| DB\Cursor::valid | -( | -) | -- |
Return whether current iterator position is valid.
- -|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for DB\Jig, including all inherited members.
-| $data | DB\Jig | |
| $dir | DB\Jig | |
| $format | DB\Jig | |
| $log | DB\Jig | |
| $uuid | DB\Jig | protected |
| __construct($dir=NULL, $format=self::FORMAT_JSON) | DB\Jig | |
| dir() | DB\Jig | |
| drop() | DB\Jig | |
| FORMAT_JSON (defined in DB\Jig) | DB\Jig | |
| FORMAT_Serialized (defined in DB\Jig) | DB\Jig | |
| jot($frame) | DB\Jig | |
| log() | DB\Jig | |
| read($file) | DB\Jig | |
| uuid() | DB\Jig | |
| write($file, array $data=NULL) | DB\Jig |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
In-memory/flat-file DB wrapper. - More...
--Public Member Functions | |
| read ($file) | |
| write ($file, array $data=NULL) | |
| dir () | |
| uuid () | |
| log () | |
| jot ($frame) | |
| drop () | |
| __construct ($dir=NULL, $format=self::FORMAT_JSON) | |
-Public Attributes | |
| - | $dir |
| Storage location. | |
| - | $format |
| Current storage format. | |
| - | $log |
| Jig log. | |
| - | $data |
| Memory-held data. | |
| -const | FORMAT_JSON =0 |
| -const | FORMAT_Serialized =1 |
-Protected Attributes | |
| - | $uuid |
| UUID. | |
In-memory/flat-file DB wrapper.
-| DB\Jig::__construct | -( | -- | $dir = NULL, |
-
| - | - | - | $format = self::FORMAT_JSON |
-
| - | ) | -- |
Instantiate class
| $dir | string |
| $format | int |
| DB\Jig::dir | -( | -) | -- |
Return directory
| DB\Jig::drop | -( | -) | -- |
Clean storage
| DB\Jig::jot | -( | -- | $frame | ) | -- |
Jot down log entry
| $frame | string |
| DB\Jig::log | -( | -) | -- |
Return profiler results
| DB\Jig::read | -( | -- | $file | ) | -- |
Read data from memory/file
| $file | string |
| DB\Jig::uuid | -( | -) | -- |
Return UUID
| DB\Jig::write | -( | -- | $file, | -
| - | - | array | -$data = NULL |
-
| - | ) | -- |
Write data to memory/file
| $file | string |
| $data | array |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for DB\Jig\Mapper, including all inherited members.
-|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Flat-file DB mapper. - More...
-
Inheritance diagram for DB\Jig\Mapper:-Public Member Functions | |
| 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 () | |
| getiterator () | |
| __construct (\DB\Jig $db, $file) | |
Public Member Functions inherited from DB\Cursor | |
| dbtype () | |
| fields () | |
| 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 () | |
| valid () | |
| save () | |
| erase () | |
| onload ($func) | |
| beforeinsert ($func) | |
| afterinsert ($func) | |
| oninsert ($func) | |
| beforeupdate ($func) | |
| afterupdate ($func) | |
| onupdate ($func) | |
| beforesave ($func) | |
| aftersave ($func) | |
| onsave ($func) | |
| beforeerase ($func) | |
| aftererase ($func) | |
| onerase ($func) | |
| reset () | |
Public Member Functions inherited from Magic | |
| exists ($key) | |
| set ($key, $val) | |
| & | get ($key) |
| clear ($key) | |
| offsetexists ($key) | |
| offsetset ($key, $val) | |
| & | offsetget ($key) |
| offsetunset ($key) | |
| __isset ($key) | |
| __set ($key, $val) | |
| & | __get ($key) |
| __unset ($key) | |
-Public Attributes | |
| - | $file |
| Data file. | |
| - | $id |
| Document identifier. | |
| - | $document =array() |
| Document contents. | |
Public Attributes inherited from DB\Cursor | |
| - | $ptr =0 |
| Current position. | |
| - | $trigger =array() |
| Event listeners. | |
| -const | E_Field ='Undefined field %s' |
-Protected Member Functions | |
| factory ($id, $row) | |
-Protected Attributes | |
| - | $db |
| Flat-file DB wrapper. | |
Protected Attributes inherited from DB\Cursor | |
| - | $query =array() |
| Query results. | |
Flat-file DB mapper.
-| DB\Jig\Mapper::__construct | -( | -\DB\Jig | -$db, | -
| - | - | - | $file | -
| - | ) | -- |
Instantiate class
| $db | object |
| $file | string |
| DB\Jig\Mapper::cast | -( | -- | $obj = NULL | ) | -- |
Return fields of mapper object as an associative array
| $obj | object |
| DB\Jig\Mapper::clear | -( | -- | $key | ) | -- |
Delete field
| $key | string |
| DB\Jig\Mapper::copyfrom | -( | -- | $key, | -
| - | - | - | $func = NULL |
-
| - | ) | -- |
Hydrate mapper object using hive array variable
| $key | string |
| $func | callback |
| DB\Jig\Mapper::copyto | -( | -- | $key | ) | -- |
Populate hive array variable with mapper fields
| $key | string |
| DB\Jig\Mapper::count | -( | -- | $filter = NULL, |
-
| - | - | - | $ttl = 0 |
-
| - | ) | -- |
Count records that match criteria
| $filter | array |
| $ttl | int |
| DB\Jig\Mapper::dbtype | -( | -) | -- |
Return database type
| DB\Jig\Mapper::erase | -( | -- | $filter = NULL | ) | -- |
Delete current record
| $filter | array |
| DB\Jig\Mapper::exists | -( | -- | $key | ) | -- |
Return TRUE if field is defined
| $key | string |
-
|
- -protected | -
Convert array to mapper object
| $id | string |
| $row | array |
| DB\Jig\Mapper::fields | -( | -) | -- |
Return field names
| DB\Jig\Mapper::find | -( | -- | $filter = NULL, |
-
| - | - | array | -$options = NULL, |
-
| - | - | - | $ttl = 0, |
-
| - | - | - | $log = TRUE |
-
| - | ) | -- |
Return records that match criteria
| $filter | array |
| $options | array |
| $ttl | int |
| $log | bool |
| & DB\Jig\Mapper::get | -( | -- | $key | ) | -- |
Retrieve value of field
| $key | string |
| DB\Jig\Mapper::getiterator | -( | -) | -- |
Retrieve external iterator for fields
| DB\Jig\Mapper::insert | -( | -) | -- |
Insert new record
| DB\Jig\Mapper::reset | -( | -) | -- |
Reset cursor
| DB\Jig\Mapper::set | -( | -- | $key, | -
| - | - | - | $val | -
| - | ) | -- |
Assign value to field
| $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
| $ofs | int |
| DB\Jig\Mapper::token | -( | -- | $str | ) | -- |
Convert tokens in string expression to variable names
| $str | string |
| DB\Jig\Mapper::update | -( | -) | -- |
Update current record
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for DB\Jig\Session, including all inherited members.
-|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Jig-managed session handler. - More...
-
Inheritance diagram for DB\Jig\Session:-Public Member Functions | |
| open ($path, $name) | |
| close () | |
| read ($id) | |
| write ($id, $data) | |
| destroy ($id) | |
| cleanup ($max) | |
| csrf () | |
| ip () | |
| stamp () | |
| agent () | |
| __construct (\DB\Jig $db, $table='sessions') | |
Public Member Functions inherited from DB\Jig\Mapper | |
| 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 () | |
| getiterator () | |
| __construct (\DB\Jig $db, $file) | |
Public Member Functions inherited from DB\Cursor | |
| dbtype () | |
| fields () | |
| 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 () | |
| valid () | |
| save () | |
| erase () | |
| onload ($func) | |
| beforeinsert ($func) | |
| afterinsert ($func) | |
| oninsert ($func) | |
| beforeupdate ($func) | |
| afterupdate ($func) | |
| onupdate ($func) | |
| beforesave ($func) | |
| aftersave ($func) | |
| onsave ($func) | |
| beforeerase ($func) | |
| aftererase ($func) | |
| onerase ($func) | |
| reset () | |
Public Member Functions inherited from Magic | |
| exists ($key) | |
| set ($key, $val) | |
| & | get ($key) |
| clear ($key) | |
| offsetexists ($key) | |
| offsetset ($key, $val) | |
| & | offsetget ($key) |
| offsetunset ($key) | |
| __isset ($key) | |
| __set ($key, $val) | |
| & | __get ($key) |
| __unset ($key) | |
-Protected Attributes | |
| - | $sid |
| Session ID. | |
Protected Attributes inherited from DB\Jig\Mapper | |
| - | $db |
| Flat-file DB wrapper. | |
Protected Attributes inherited from DB\Cursor | |
| - | $query =array() |
| Query results. | |
-Additional Inherited Members | |
Public Attributes inherited from DB\Jig\Mapper | |
| - | $file |
| Data file. | |
| - | $id |
| Document identifier. | |
| - | $document =array() |
| Document contents. | |
Public Attributes inherited from DB\Cursor | |
| - | $ptr =0 |
| Current position. | |
| - | $trigger =array() |
| Event listeners. | |
| -const | E_Field ='Undefined field %s' |
Protected Member Functions inherited from DB\Jig\Mapper | |
| factory ($id, $row) | |
Jig-managed session handler.
-| DB\Jig\Session::__construct | -( | -\DB\Jig | -$db, | -
| - | - | - | $table = 'sessions' |
-
| - | ) | -- |
Instantiate class
| $db | object |
| $table | string |
| DB\Jig\Session::agent | -( | -) | -- |
Return HTTP user agent
| DB\Jig\Session::cleanup | -( | -- | $max | ) | -- |
Garbage collector
| $max | int |
| DB\Jig\Session::close | -( | -) | -- |
Close session
| DB\Jig\Session::csrf | -( | -) | -- |
Return anti-CSRF token
| DB\Jig\Session::destroy | -( | -- | $id | ) | -- |
Destroy session
| $id | string |
| DB\Jig\Session::ip | -( | -) | -- |
Return IP address
| DB\Jig\Session::open | -( | -- | $path, | -
| - | - | - | $name | -
| - | ) | -- |
Open session
| $path | string |
| $name | string |
| DB\Jig\Session::read | -( | -- | $id | ) | -- |
Return session data in serialized format
| $id | string |
| DB\Jig\Session::stamp | -( | -) | -- |
Return Unix timestamp
| DB\Jig\Session::write | -( | -- | $id, | -
| - | - | - | $data | -
| - | ) | -- |
Write session data
| $id | string |
| $data | string |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for DB\Mongo, including all inherited members.
-| $db | DB\Mongo | |
| $dsn | DB\Mongo | |
| $log | DB\Mongo | |
| $uuid | DB\Mongo | protected |
| __call($func, array $args) | DB\Mongo | |
| __construct($dsn, $dbname, array $options=NULL) | DB\Mongo | |
| drop() | DB\Mongo | |
| dsn() | DB\Mongo | |
| E_Profiler (defined in DB\Mongo) | DB\Mongo | |
| log() | DB\Mongo | |
| uuid() | DB\Mongo |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
MongoDB wrapper. - More...
--Public Member Functions | |
| dsn () | |
| uuid () | |
| log () | |
| drop () | |
| __call ($func, array $args) | |
| __construct ($dsn, $dbname, array $options=NULL) | |
-Public Attributes | |
| - | $dsn |
| Data source name. | |
| - | $db |
| MongoDB object. | |
| - | $log |
| MongoDB log. | |
| -const | E_Profiler ='MongoDB profiler is disabled' |
-Protected Attributes | |
| - | $uuid |
| UUID. | |
MongoDB wrapper.
-| DB\Mongo::__construct | -( | -- | $dsn, | -
| - | - | - | $dbname, | -
| - | - | array | -$options = NULL |
-
| - | ) | -- |
Instantiate class
| $dsn | string |
| $dbname | string |
| $options | array |
| DB\Mongo::__call | -( | -- | $func, | -
| - | - | array | -$args | -
| - | ) | -- |
Redirect call to MongoDB object
| $func | string |
| $args | array |
| DB\Mongo::drop | -( | -) | -- |
Intercept native call to re-enable profiler
| DB\Mongo::dsn | -( | -) | -- |
Return data source name
| DB\Mongo::log | -( | -) | -- |
Return MongoDB profiler results
| DB\Mongo::uuid | -( | -) | -- |
Return UUID
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for DB\Mongo\Mapper, including all inherited members.
-|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
MongoDB mapper. - More...
-
Inheritance diagram for DB\Mongo\Mapper:-Public Member Functions | |
| 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 () | |
| getiterator () | |
| __construct (\DB\Mongo $db, $collection) | |
Public Member Functions inherited from DB\Cursor | |
| dbtype () | |
| fields () | |
| 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 () | |
| valid () | |
| save () | |
| erase () | |
| onload ($func) | |
| beforeinsert ($func) | |
| afterinsert ($func) | |
| oninsert ($func) | |
| beforeupdate ($func) | |
| afterupdate ($func) | |
| onupdate ($func) | |
| beforesave ($func) | |
| aftersave ($func) | |
| onsave ($func) | |
| beforeerase ($func) | |
| aftererase ($func) | |
| onerase ($func) | |
| reset () | |
Public Member Functions inherited from Magic | |
| exists ($key) | |
| set ($key, $val) | |
| & | get ($key) |
| clear ($key) | |
| offsetexists ($key) | |
| offsetset ($key, $val) | |
| & | offsetget ($key) |
| offsetunset ($key) | |
| __isset ($key) | |
| __set ($key, $val) | |
| & | __get ($key) |
| __unset ($key) | |
-Public Attributes | |
| - | $collection |
| Mongo collection. | |
| - | $document =array() |
| Mongo document. | |
| - | $cursor |
| Mongo cursor. | |
Public Attributes inherited from DB\Cursor | |
| - | $ptr =0 |
| Current position. | |
| - | $trigger =array() |
| Event listeners. | |
| -const | E_Field ='Undefined field %s' |
-Protected Member Functions | |
| factory ($row) | |
-Protected Attributes | |
| - | $db |
| MongoDB wrapper. | |
Protected Attributes inherited from DB\Cursor | |
| - | $query =array() |
| Query results. | |
MongoDB mapper.
-| DB\Mongo\Mapper::__construct | -( | -\DB\Mongo | -$db, | -
| - | - | - | $collection | -
| - | ) | -- |
Instantiate class
| $db | object |
| $collection | string |
| DB\Mongo\Mapper::cast | -( | -- | $obj = NULL | ) | -- |
Return fields of mapper object as an associative array
| $obj | object |
| DB\Mongo\Mapper::clear | -( | -- | $key | ) | -- |
Delete field
| $key | string |
| DB\Mongo\Mapper::copyfrom | -( | -- | $key, | -
| - | - | - | $func = NULL |
-
| - | ) | -- |
Hydrate mapper object using hive array variable
| $key | string |
| $func | callback |
| DB\Mongo\Mapper::copyto | -( | -- | $key | ) | -- |
Populate hive array variable with mapper fields
| $key | string |
| DB\Mongo\Mapper::count | -( | -- | $filter = NULL, |
-
| - | - | - | $ttl = 0 |
-
| - | ) | -- |
Count records that match criteria
| $filter | array |
| $ttl | int |
| DB\Mongo\Mapper::cursor | -( | -) | -- |
Return the cursor from last query
| DB\Mongo\Mapper::dbtype | -( | -) | -- |
Return database type
| DB\Mongo\Mapper::erase | -( | -- | $filter = NULL | ) | -- |
Delete current record
| $filter | array |
| DB\Mongo\Mapper::exists | -( | -- | $key | ) | -- |
Return TRUE if field is defined
| $key | string |
-
|
- -protected | -
Convert array to mapper object
| $row | array |
| DB\Mongo\Mapper::fields | -( | -) | -- |
Return field names
| DB\Mongo\Mapper::find | -( | -- | $filter = NULL, |
-
| - | - | array | -$options = NULL, |
-
| - | - | - | $ttl = 0 |
-
| - | ) | -- |
Return records that match criteria
| $filter | array |
| $options | array |
| $ttl | int |
| & DB\Mongo\Mapper::get | -( | -- | $key | ) | -- |
Retrieve value of field
| $key | string |
| DB\Mongo\Mapper::getiterator | -( | -) | -- |
Retrieve external iterator for fields
| DB\Mongo\Mapper::insert | -( | -) | -- |
Insert new record
| DB\Mongo\Mapper::reset | -( | -) | -- |
Reset cursor
| DB\Mongo\Mapper::select | -( | -- | $fields = NULL, |
-
| - | - | - | $filter = NULL, |
-
| - | - | array | -$options = NULL, |
-
| - | - | - | $ttl = 0 |
-
| - | ) | -- |
Build query and execute
| $fields | string |
| $filter | array |
| $options | array |
| $ttl | int |
| DB\Mongo\Mapper::set | -( | -- | $key, | -
| - | - | - | $val | -
| - | ) | -- |
Assign value to field
| $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
| $ofs | int |
| DB\Mongo\Mapper::update | -( | -) | -- |
Update current record
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for DB\Mongo\Session, including all inherited members.
-|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
MongoDB-managed session handler. - More...
-
Inheritance diagram for DB\Mongo\Session:-Public Member Functions | |
| open ($path, $name) | |
| close () | |
| read ($id) | |
| write ($id, $data) | |
| destroy ($id) | |
| cleanup ($max) | |
| csrf () | |
| ip () | |
| stamp () | |
| agent () | |
| __construct (\DB\Mongo $db, $table='sessions') | |
Public Member Functions inherited from DB\Mongo\Mapper | |
| 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 () | |
| getiterator () | |
| __construct (\DB\Mongo $db, $collection) | |
Public Member Functions inherited from DB\Cursor | |
| dbtype () | |
| fields () | |
| 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 () | |
| valid () | |
| save () | |
| erase () | |
| onload ($func) | |
| beforeinsert ($func) | |
| afterinsert ($func) | |
| oninsert ($func) | |
| beforeupdate ($func) | |
| afterupdate ($func) | |
| onupdate ($func) | |
| beforesave ($func) | |
| aftersave ($func) | |
| onsave ($func) | |
| beforeerase ($func) | |
| aftererase ($func) | |
| onerase ($func) | |
| reset () | |
Public Member Functions inherited from Magic | |
| exists ($key) | |
| set ($key, $val) | |
| & | get ($key) |
| clear ($key) | |
| offsetexists ($key) | |
| offsetset ($key, $val) | |
| & | offsetget ($key) |
| offsetunset ($key) | |
| __isset ($key) | |
| __set ($key, $val) | |
| & | __get ($key) |
| __unset ($key) | |
-Protected Attributes | |
| - | $sid |
| Session ID. | |
Protected Attributes inherited from DB\Mongo\Mapper | |
| - | $db |
| MongoDB wrapper. | |
Protected Attributes inherited from DB\Cursor | |
| - | $query =array() |
| Query results. | |
-Additional Inherited Members | |
Public Attributes inherited from DB\Mongo\Mapper | |
| - | $collection |
| Mongo collection. | |
| - | $document =array() |
| Mongo document. | |
| - | $cursor |
| Mongo cursor. | |
Public Attributes inherited from DB\Cursor | |
| - | $ptr =0 |
| Current position. | |
| - | $trigger =array() |
| Event listeners. | |
| -const | E_Field ='Undefined field %s' |
Protected Member Functions inherited from DB\Mongo\Mapper | |
| factory ($row) | |
MongoDB-managed session handler.
-| DB\Mongo\Session::__construct | -( | -\DB\Mongo | -$db, | -
| - | - | - | $table = 'sessions' |
-
| - | ) | -- |
Instantiate class
| $db | object |
| $table | string |
| DB\Mongo\Session::agent | -( | -) | -- |
Return HTTP user agent
| DB\Mongo\Session::cleanup | -( | -- | $max | ) | -- |
Garbage collector
| $max | int |
| DB\Mongo\Session::close | -( | -) | -- |
Close session
| DB\Mongo\Session::csrf | -( | -) | -- |
Return anti-CSRF token
| DB\Mongo\Session::destroy | -( | -- | $id | ) | -- |
Destroy session
| $id | string |
| DB\Mongo\Session::ip | -( | -) | -- |
Return IP address
| DB\Mongo\Session::open | -( | -- | $path, | -
| - | - | - | $name | -
| - | ) | -- |
Open session
| $path | string |
| $name | string |
| DB\Mongo\Session::read | -( | -- | $id | ) | -- |
Return session data in serialized format
| $id | string |
| DB\Mongo\Session::stamp | -( | -) | -- |
Return Unix timestamp
| DB\Mongo\Session::write | -( | -- | $id, | -
| - | - | - | $data | -
| - | ) | -- |
Write session data
| $id | string |
| $data | string |
|
- Fat-Free Framework
- 3.4.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 | |
| $pdo | DB\SQL | |
| $rows | DB\SQL | |
| $trans | DB\SQL | |
| $uuid | DB\SQL | protected |
| __call($func, array $args) | DB\SQL | |
| __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 | |
| pdo() | 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 |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
PDO wrapper. - More...
--Public Member Functions | |
| 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 () | |
| pdo () | |
| driver () | |
| version () | |
| name () | |
| quotekey ($key) | |
| __call ($func, array $args) | |
| __construct ($dsn, $user=NULL, $pw=NULL, array $options=NULL) | |
-Public Attributes | |
| - | $pdo |
| Raw PDO. | |
| - | $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. | |
-Protected Attributes | |
| - | $uuid |
| UUID. | |
PDO wrapper.
-| DB\SQL::__construct | -( | -- | $dsn, | -
| - | - | - | $user = NULL, |
-
| - | - | - | $pw = NULL, |
-
| - | - | array | -$options = NULL |
-
| - | ) | -- |
Instantiate class
| $dsn | string |
| $user | string |
| $pw | string |
| $options | array |
| DB\SQL::__call | -( | -- | $func, | -
| - | - | array | -$args | -
| - | ) | -- |
Redirect call to MongoDB object
| $func | string |
| $args | array |
| DB\SQL::begin | -( | -) | -- |
Begin SQL transaction
| DB\SQL::commit | -( | -) | -- |
Commit SQL transaction
| DB\SQL::count | -( | -) | -- |
Return number of rows affected by last query
| DB\SQL::driver | -( | -) | -- |
Return database engine
| DB\SQL::exec | -( | -- | $cmds, | -
| - | - | - | $args = NULL, |
-
| - | - | - | $ttl = 0, |
-
| - | - | - | $log = TRUE |
-
| - | ) | -- |
Execute SQL statement(s)
| $cmds | string|array |
| $args | string|array |
| $ttl | int |
| $log | bool |
| DB\SQL::log | -( | -) | -- |
Return SQL profiler results
| DB\SQL::name | -( | -) | -- |
Return database name
| DB\SQL::pdo | -( | -) | -- |
Return parent object
| DB\SQL::quote | -( | -- | $val, | -
| - | - | - | $type = \PDO::PARAM_STR |
-
| - | ) | -- |
Quote string
| $val | mixed |
| $type | int |
| DB\SQL::quotekey | -( | -- | $key | ) | -- |
Return quoted identifier name
| $key |
| DB\SQL::rollback | -( | -) | -- |
Rollback SQL transaction
| DB\SQL::schema | -( | -- | $table, | -
| - | - | - | $fields = NULL, |
-
| - | - | - | $ttl = 0 |
-
| - | ) | -- |
Retrieve schema of SQL table
| $table | string |
| $fields | array|string |
| $ttl | int |
| DB\SQL::type | -( | -- | $val | ) | -- |
Map data type of argument to a PDO constant
| $val | scalar |
| DB\SQL::uuid | -( | -) | -- |
Return UUID
| DB\SQL::value | -( | -- | $type, | -
| - | - | - | $val | -
| - | ) | -- |
Cast value to PHP type
| $type | string |
| $val | scalar |
| DB\SQL::version | -( | -) | -- |
Return server version
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for DB\SQL\Mapper, including all inherited members.
-|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
SQL data mapper. - More...
-
Inheritance diagram for DB\SQL\Mapper:-Public Member Functions | |
| 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) | |
| getiterator () | |
| __construct (\DB\SQL $db, $table, $fields=NULL, $ttl=60) | |
Public Member Functions inherited from DB\Cursor | |
| dbtype () | |
| fields () | |
| 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 () | |
| valid () | |
| save () | |
| erase () | |
| onload ($func) | |
| beforeinsert ($func) | |
| afterinsert ($func) | |
| oninsert ($func) | |
| beforeupdate ($func) | |
| afterupdate ($func) | |
| onupdate ($func) | |
| beforesave ($func) | |
| aftersave ($func) | |
| onsave ($func) | |
| beforeerase ($func) | |
| aftererase ($func) | |
| onerase ($func) | |
| reset () | |
Public Member Functions inherited from Magic | |
| exists ($key) | |
| set ($key, $val) | |
| & | get ($key) |
| clear ($key) | |
| offsetexists ($key) | |
| offsetset ($key, $val) | |
| & | offsetget ($key) |
| offsetunset ($key) | |
| __isset ($key) | |
| __set ($key, $val) | |
| & | __get ($key) |
| __unset ($key) | |
-Public Attributes | |
| - | $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' |
Public Attributes inherited from DB\Cursor | |
| - | $ptr =0 |
| Current position. | |
| - | $trigger =array() |
| Event listeners. | |
| -const | E_Field ='Undefined field %s' |
-Protected Member Functions | |
| factory ($row) | |
-Protected Attributes | |
| - | $db |
| PDO wrapper. | |
Protected Attributes inherited from DB\Cursor | |
| - | $query =array() |
| Query results. | |
SQL data mapper.
-| DB\SQL\Mapper::__construct | -( | -\DB\SQL | -$db, | -
| - | - | - | $table, | -
| - | - | - | $fields = NULL, |
-
| - | - | - | $ttl = 60 |
-
| - | ) | -- |
Instantiate class
| $db | object |
| $table | string |
| $fields | array|string |
| $ttl | int |
| DB\SQL\Mapper::cast | -( | -- | $obj = NULL | ) | -- |
Return fields of mapper object as an associative array
| $obj | object |
| DB\SQL\Mapper::clear | -( | -- | $key | ) | -- |
Clear value of field
| $key | string |
| DB\SQL\Mapper::copyfrom | -( | -- | $key, | -
| - | - | - | $func = NULL |
-
| - | ) | -- |
Hydrate mapper object using hive array variable
| $key | string |
| $func | callback |
| DB\SQL\Mapper::copyto | -( | -- | $key | ) | -- |
Populate hive array variable with mapper fields
| $key | string |
| DB\SQL\Mapper::count | -( | -- | $filter = NULL, |
-
| - | - | - | $ttl = 0 |
-
| - | ) | -- |
Count records that match criteria
| $filter | string|array |
| $ttl | int |
| DB\SQL\Mapper::dbtype | -( | -) | -- |
Return database type
| DB\SQL\Mapper::erase | -( | -- | $filter = NULL | ) | -- |
Delete current record
| $filter | string|array |
| DB\SQL\Mapper::exists | -( | -- | $key | ) | -- |
Return TRUE if field is defined
| $key | string |
-
|
- -protected | -
Convert array to mapper object
| $row | array |
| DB\SQL\Mapper::fields | -( | -- | $adhoc = TRUE | ) | -- |
Return field names
| $adhoc | bool |
| DB\SQL\Mapper::find | -( | -- | $filter = NULL, |
-
| - | - | array | -$options = NULL, |
-
| - | - | - | $ttl = 0 |
-
| - | ) | -- |
Return records that match criteria
| $filter | string|array |
| $options | array |
| $ttl | int |
| & DB\SQL\Mapper::get | -( | -- | $key | ) | -- |
Retrieve value of field
| $key | string |
| DB\SQL\Mapper::getiterator | -( | -) | -- |
Retrieve external iterator for fields
| DB\SQL\Mapper::insert | -( | -) | -- |
Insert new record
| DB\SQL\Mapper::reset | -( | -) | -- |
Reset cursor
| DB\SQL\Mapper::schema | -( | -) | -- |
Return schema
| DB\SQL\Mapper::select | -( | -- | $fields, | -
| - | - | - | $filter = NULL, |
-
| - | - | array | -$options = NULL, |
-
| - | - | - | $ttl = 0 |
-
| - | ) | -- |
Build query string and execute
| $fields | string |
| $filter | string|array |
| $options | array |
| $ttl | int |
| DB\SQL\Mapper::set | -( | -- | $key, | -
| - | - | - | $val | -
| - | ) | -- |
Assign value to field
| $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
| $ofs | int |
| DB\SQL\Mapper::type | -( | -- | $pdo | ) | -- |
Get PHP type equivalent of PDO constant
| $pdo | string |
| DB\SQL\Mapper::update | -( | -) | -- |
Update current record
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for DB\SQL\Session, including all inherited members.
-|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
SQL-managed session handler. - More...
-
Inheritance diagram for DB\SQL\Session:-Public Member Functions | |
| 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) | |
Public Member Functions inherited from DB\SQL\Mapper | |
| 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) | |
| getiterator () | |
| __construct (\DB\SQL $db, $table, $fields=NULL, $ttl=60) | |
Public Member Functions inherited from DB\Cursor | |
| dbtype () | |
| fields () | |
| 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 () | |
| valid () | |
| save () | |
| erase () | |
| onload ($func) | |
| beforeinsert ($func) | |
| afterinsert ($func) | |
| oninsert ($func) | |
| beforeupdate ($func) | |
| afterupdate ($func) | |
| onupdate ($func) | |
| beforesave ($func) | |
| aftersave ($func) | |
| onsave ($func) | |
| beforeerase ($func) | |
| aftererase ($func) | |
| onerase ($func) | |
| reset () | |
Public Member Functions inherited from Magic | |
| exists ($key) | |
| set ($key, $val) | |
| & | get ($key) |
| clear ($key) | |
| offsetexists ($key) | |
| offsetset ($key, $val) | |
| & | offsetget ($key) |
| offsetunset ($key) | |
| __isset ($key) | |
| __set ($key, $val) | |
| & | __get ($key) |
| __unset ($key) | |
-Protected Attributes | |
| - | $sid |
| Session ID. | |
Protected Attributes inherited from DB\SQL\Mapper | |
| - | $db |
| PDO wrapper. | |
Protected Attributes inherited from DB\Cursor | |
| - | $query =array() |
| Query results. | |
-Additional Inherited Members | |
Public Attributes inherited from DB\SQL\Mapper | |
| - | $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' |
Public Attributes inherited from DB\Cursor | |
| - | $ptr =0 |
| Current position. | |
| - | $trigger =array() |
| Event listeners. | |
| -const | E_Field ='Undefined field %s' |
Protected Member Functions inherited from DB\SQL\Mapper | |
| factory ($row) | |
SQL-managed session handler.
-| DB\SQL\Session::__construct | -( | -\DB\SQL | -$db, | -
| - | - | - | $table = 'sessions', |
-
| - | - | - | $force = TRUE |
-
| - | ) | -- |
Instantiate class
| $db | object |
| $table | string |
| $force | bool |
| DB\SQL\Session::agent | -( | -) | -- |
Return HTTP user agent
| DB\SQL\Session::cleanup | -( | -- | $max | ) | -- |
Garbage collector
| $max | int |
| DB\SQL\Session::close | -( | -) | -- |
Close session
| DB\SQL\Session::csrf | -( | -) | -- |
Return anti-CSRF token
| DB\SQL\Session::destroy | -( | -- | $id | ) | -- |
Destroy session
| $id | string |
| DB\SQL\Session::ip | -( | -) | -- |
Return IP address
| DB\SQL\Session::open | -( | -- | $path, | -
| - | - | - | $name | -
| - | ) | -- |
Open session
| $path | string |
| $name | string |
| DB\SQL\Session::read | -( | -- | $id | ) | -- |
Return session data in serialized format
| $id | string |
| DB\SQL\Session::stamp | -( | -) | -- |
Return Unix timestamp
| DB\SQL\Session::write | -( | -- | $id, | -
| - | - | - | $data | -
| - | ) | -- |
Write session data
| $id | string |
| $data | string |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for F3, including all inherited members.
-| $fw | F3 | static |
| __callstatic($func, array $args) | F3 | static |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Legacy mode enabler. - More...
--Static Public Member Functions | |
| static | __callstatic ($func, array $args) |
-Static Public Attributes | |
| -static | $fw |
| Framework instance. | |
Legacy mode enabler.
-
-
|
- -static | -
Forward function calls to framework
| $func | callback |
| $args | array |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for ISO, including all inherited members.
-| CC_ad (defined in ISO) | ISO | |
| CC_ae (defined in ISO) | ISO | |
| CC_af (defined in ISO) | ISO | |
| CC_ag (defined in ISO) | ISO | |
| CC_ai (defined in ISO) | ISO | |
| CC_al (defined in ISO) | ISO | |
| CC_am (defined in ISO) | ISO | |
| CC_ao (defined in ISO) | ISO | |
| CC_aq (defined in ISO) | ISO | |
| CC_ar (defined in ISO) | ISO | |
| CC_as (defined in ISO) | ISO | |
| CC_at (defined in ISO) | ISO | |
| CC_au (defined in ISO) | ISO | |
| CC_aw (defined in ISO) | ISO | |
| CC_ax (defined in ISO) | ISO | |
| CC_az (defined in ISO) | ISO | |
| CC_ba (defined in ISO) | ISO | |
| CC_bb (defined in ISO) | ISO | |
| CC_bd (defined in ISO) | ISO | |
| CC_be (defined in ISO) | ISO | |
| CC_bf (defined in ISO) | ISO | |
| CC_bg (defined in ISO) | ISO | |
| CC_bh (defined in ISO) | ISO | |
| CC_bi (defined in ISO) | ISO | |
| CC_bj (defined in ISO) | ISO | |
| CC_bl (defined in ISO) | ISO | |
| CC_bm (defined in ISO) | ISO | |
| CC_bn (defined in ISO) | ISO | |
| CC_bo (defined in ISO) | ISO | |
| CC_bq (defined in ISO) | ISO | |
| CC_br (defined in ISO) | ISO | |
| CC_bs (defined in ISO) | ISO | |
| CC_bt (defined in ISO) | ISO | |
| CC_bv (defined in ISO) | ISO | |
| CC_bw (defined in ISO) | ISO | |
| CC_by (defined in ISO) | ISO | |
| CC_bz (defined in ISO) | ISO | |
| CC_ca (defined in ISO) | ISO | |
| CC_cc (defined in ISO) | ISO | |
| CC_cd (defined in ISO) | ISO | |
| CC_cf (defined in ISO) | ISO | |
| CC_cg (defined in ISO) | ISO | |
| CC_ch (defined in ISO) | ISO | |
| CC_ci (defined in ISO) | ISO | |
| CC_ck (defined in ISO) | ISO | |
| CC_cl (defined in ISO) | ISO | |
| CC_cm (defined in ISO) | ISO | |
| CC_cn (defined in ISO) | ISO | |
| CC_co (defined in ISO) | ISO | |
| CC_cr (defined in ISO) | ISO | |
| CC_cu (defined in ISO) | ISO | |
| CC_cv (defined in ISO) | ISO | |
| CC_cw (defined in ISO) | ISO | |
| CC_cx (defined in ISO) | ISO | |
| CC_cy (defined in ISO) | ISO | |
| CC_cz (defined in ISO) | ISO | |
| CC_de (defined in ISO) | ISO | |
| CC_dj (defined in ISO) | ISO | |
| CC_dk (defined in ISO) | ISO | |
| CC_dm (defined in ISO) | ISO | |
| CC_do (defined in ISO) | ISO | |
| CC_dz (defined in ISO) | ISO | |
| CC_ec (defined in ISO) | ISO | |
| CC_ee (defined in ISO) | ISO | |
| CC_eg (defined in ISO) | ISO | |
| CC_eh (defined in ISO) | ISO | |
| CC_er (defined in ISO) | ISO | |
| CC_es (defined in ISO) | ISO | |
| CC_et (defined in ISO) | ISO | |
| CC_fi (defined in ISO) | ISO | |
| CC_fj (defined in ISO) | ISO | |
| CC_fk (defined in ISO) | ISO | |
| CC_fm (defined in ISO) | ISO | |
| CC_fo (defined in ISO) | ISO | |
| CC_fr (defined in ISO) | ISO | |
| CC_ga (defined in ISO) | ISO | |
| CC_gb (defined in ISO) | ISO | |
| CC_gd (defined in ISO) | ISO | |
| CC_ge (defined in ISO) | ISO | |
| CC_gf (defined in ISO) | ISO | |
| CC_gg (defined in ISO) | ISO | |
| CC_gh (defined in ISO) | ISO | |
| CC_gi (defined in ISO) | ISO | |
| CC_gl (defined in ISO) | ISO | |
| CC_gm (defined in ISO) | ISO | |
| CC_gn (defined in ISO) | ISO | |
| CC_gp (defined in ISO) | ISO | |
| CC_gq (defined in ISO) | ISO | |
| CC_gr (defined in ISO) | ISO | |
| CC_gs (defined in ISO) | ISO | |
| CC_gt (defined in ISO) | ISO | |
| CC_gu (defined in ISO) | ISO | |
| CC_gw (defined in ISO) | ISO | |
| CC_gy (defined in ISO) | ISO | |
| CC_hk (defined in ISO) | ISO | |
| CC_hm (defined in ISO) | ISO | |
| CC_hn (defined in ISO) | ISO | |
| CC_hr (defined in ISO) | ISO | |
| CC_ht (defined in ISO) | ISO | |
| CC_hu (defined in ISO) | ISO | |
| CC_id (defined in ISO) | ISO | |
| CC_ie (defined in ISO) | ISO | |
| CC_il (defined in ISO) | ISO | |
| CC_im (defined in ISO) | ISO | |
| CC_in (defined in ISO) | ISO | |
| CC_io (defined in ISO) | ISO | |
| CC_iq (defined in ISO) | ISO | |
| CC_ir (defined in ISO) | ISO | |
| CC_is (defined in ISO) | ISO | |
| CC_it (defined in ISO) | ISO | |
| CC_je (defined in ISO) | ISO | |
| CC_jm (defined in ISO) | ISO | |
| CC_jo (defined in ISO) | ISO | |
| CC_jp (defined in ISO) | ISO | |
| CC_ke (defined in ISO) | ISO | |
| CC_kg (defined in ISO) | ISO | |
| CC_kh (defined in ISO) | ISO | |
| CC_ki (defined in ISO) | ISO | |
| CC_km (defined in ISO) | ISO | |
| CC_kn (defined in ISO) | ISO | |
| CC_kp (defined in ISO) | ISO | |
| CC_kr (defined in ISO) | ISO | |
| CC_kw (defined in ISO) | ISO | |
| CC_ky (defined in ISO) | ISO | |
| CC_kz (defined in ISO) | ISO | |
| CC_la (defined in ISO) | ISO | |
| CC_lb (defined in ISO) | ISO | |
| CC_lc (defined in ISO) | ISO | |
| CC_li (defined in ISO) | ISO | |
| CC_lk (defined in ISO) | ISO | |
| CC_lr (defined in ISO) | ISO | |
| CC_ls (defined in ISO) | ISO | |
| CC_lt (defined in ISO) | ISO | |
| CC_lu (defined in ISO) | ISO | |
| CC_lv (defined in ISO) | ISO | |
| CC_ly (defined in ISO) | ISO | |
| CC_ma (defined in ISO) | ISO | |
| CC_mc (defined in ISO) | ISO | |
| CC_md (defined in ISO) | ISO | |
| CC_me (defined in ISO) | ISO | |
| CC_mf (defined in ISO) | ISO | |
| CC_mg (defined in ISO) | ISO | |
| CC_mh (defined in ISO) | ISO | |
| CC_mk (defined in ISO) | ISO | |
| CC_ml (defined in ISO) | ISO | |
| CC_mm (defined in ISO) | ISO | |
| CC_mn (defined in ISO) | ISO | |
| CC_mo (defined in ISO) | ISO | |
| CC_mp (defined in ISO) | ISO | |
| CC_mq (defined in ISO) | ISO | |
| CC_mr (defined in ISO) | ISO | |
| CC_ms (defined in ISO) | ISO | |
| CC_mt (defined in ISO) | ISO | |
| CC_mu (defined in ISO) | ISO | |
| CC_mv (defined in ISO) | ISO | |
| CC_mw (defined in ISO) | ISO | |
| CC_mx (defined in ISO) | ISO | |
| CC_my (defined in ISO) | ISO | |
| CC_mz (defined in ISO) | ISO | |
| CC_na (defined in ISO) | ISO | |
| CC_nc (defined in ISO) | ISO | |
| CC_ne (defined in ISO) | ISO | |
| CC_nf (defined in ISO) | ISO | |
| CC_ng (defined in ISO) | ISO | |
| CC_ni (defined in ISO) | ISO | |
| CC_nl (defined in ISO) | ISO | |
| CC_no (defined in ISO) | ISO | |
| CC_np (defined in ISO) | ISO | |
| CC_nr (defined in ISO) | ISO | |
| CC_nu (defined in ISO) | ISO | |
| CC_nz (defined in ISO) | ISO | |
| CC_om (defined in ISO) | ISO | |
| CC_pa (defined in ISO) | ISO | |
| CC_pe (defined in ISO) | ISO | |
| CC_pf (defined in ISO) | ISO | |
| CC_pg (defined in ISO) | ISO | |
| CC_ph (defined in ISO) | ISO | |
| CC_pk (defined in ISO) | ISO | |
| CC_pl (defined in ISO) | ISO | |
| CC_pm (defined in ISO) | ISO | |
| CC_pn (defined in ISO) | ISO | |
| CC_pr (defined in ISO) | ISO | |
| CC_ps (defined in ISO) | ISO | |
| CC_pt (defined in ISO) | ISO | |
| CC_pw (defined in ISO) | ISO | |
| CC_py (defined in ISO) | ISO | |
| CC_qa (defined in ISO) | ISO | |
| CC_re (defined in ISO) | ISO | |
| CC_ro (defined in ISO) | ISO | |
| CC_rs (defined in ISO) | ISO | |
| CC_ru (defined in ISO) | ISO | |
| CC_rw (defined in ISO) | ISO | |
| CC_sa (defined in ISO) | ISO | |
| CC_sb (defined in ISO) | ISO | |
| CC_sc (defined in ISO) | ISO | |
| CC_sd (defined in ISO) | ISO | |
| CC_se (defined in ISO) | ISO | |
| CC_sg (defined in ISO) | ISO | |
| CC_sh (defined in ISO) | ISO | |
| CC_si (defined in ISO) | ISO | |
| CC_sj (defined in ISO) | ISO | |
| CC_sk (defined in ISO) | ISO | |
| CC_sl (defined in ISO) | ISO | |
| CC_sm (defined in ISO) | ISO | |
| CC_sn (defined in ISO) | ISO | |
| CC_so (defined in ISO) | ISO | |
| CC_sr (defined in ISO) | ISO | |
| CC_ss (defined in ISO) | ISO | |
| CC_st (defined in ISO) | ISO | |
| CC_sv (defined in ISO) | ISO | |
| CC_sx (defined in ISO) | ISO | |
| CC_sy (defined in ISO) | ISO | |
| CC_sz (defined in ISO) | ISO | |
| CC_tc (defined in ISO) | ISO | |
| CC_td (defined in ISO) | ISO | |
| CC_tf (defined in ISO) | ISO | |
| CC_tg (defined in ISO) | ISO | |
| CC_th (defined in ISO) | ISO | |
| CC_tj (defined in ISO) | ISO | |
| CC_tk (defined in ISO) | ISO | |
| CC_tl (defined in ISO) | ISO | |
| CC_tm (defined in ISO) | ISO | |
| CC_tn (defined in ISO) | ISO | |
| CC_to (defined in ISO) | ISO | |
| CC_tr (defined in ISO) | ISO | |
| CC_tt (defined in ISO) | ISO | |
| CC_tv (defined in ISO) | ISO | |
| CC_tw (defined in ISO) | ISO | |
| CC_tz (defined in ISO) | ISO | |
| CC_ua (defined in ISO) | ISO | |
| CC_ug (defined in ISO) | ISO | |
| CC_um (defined in ISO) | ISO | |
| CC_us (defined in ISO) | ISO | |
| CC_uy (defined in ISO) | ISO | |
| CC_uz (defined in ISO) | ISO | |
| CC_va (defined in ISO) | ISO | |
| CC_vc (defined in ISO) | ISO | |
| CC_ve (defined in ISO) | ISO | |
| CC_vg (defined in ISO) | ISO | |
| CC_vi (defined in ISO) | ISO | |
| CC_vn (defined in ISO) | ISO | |
| CC_vu (defined in ISO) | ISO | |
| CC_wf (defined in ISO) | ISO | |
| CC_ws (defined in ISO) | ISO | |
| CC_ye (defined in ISO) | ISO | |
| CC_yt (defined in ISO) | ISO | |
| CC_za (defined in ISO) | ISO | |
| CC_zm (defined in ISO) | ISO | |
| CC_zw (defined in ISO) | ISO | |
| constants($prefix) | ISO | protected |
| countries() | ISO | |
| instance() | Prefab | static |
| languages() | ISO | |
| LC_af (defined in ISO) | ISO | |
| LC_am (defined in ISO) | ISO | |
| LC_ar (defined in ISO) | ISO | |
| LC_as (defined in ISO) | ISO | |
| LC_ba (defined in ISO) | ISO | |
| LC_be (defined in ISO) | ISO | |
| LC_bg (defined in ISO) | ISO | |
| LC_bn (defined in ISO) | ISO | |
| LC_bo (defined in ISO) | ISO | |
| LC_br (defined in ISO) | ISO | |
| LC_ca (defined in ISO) | ISO | |
| LC_co (defined in ISO) | ISO | |
| LC_cs (defined in ISO) | ISO | |
| LC_cy (defined in ISO) | ISO | |
| LC_da (defined in ISO) | ISO | |
| LC_de (defined in ISO) | ISO | |
| LC_dv (defined in ISO) | ISO | |
| LC_el (defined in ISO) | ISO | |
| LC_en (defined in ISO) | ISO | |
| LC_es (defined in ISO) | ISO | |
| LC_et (defined in ISO) | ISO | |
| LC_eu (defined in ISO) | ISO | |
| LC_fa (defined in ISO) | ISO | |
| LC_fi (defined in ISO) | ISO | |
| LC_fo (defined in ISO) | ISO | |
| LC_fr (defined in ISO) | ISO | |
| LC_gd (defined in ISO) | ISO | |
| LC_gl (defined in ISO) | ISO | |
| LC_gu (defined in ISO) | ISO | |
| LC_he (defined in ISO) | ISO | |
| LC_hi (defined in ISO) | ISO | |
| LC_hr (defined in ISO) | ISO | |
| LC_hu (defined in ISO) | ISO | |
| LC_hy (defined in ISO) | ISO | |
| LC_id (defined in ISO) | ISO | |
| LC_ig (defined in ISO) | ISO | |
| LC_is (defined in ISO) | ISO | |
| LC_it (defined in ISO) | ISO | |
| LC_ja (defined in ISO) | ISO | |
| LC_ka (defined in ISO) | ISO | |
| LC_kk (defined in ISO) | ISO | |
| LC_km (defined in ISO) | ISO | |
| LC_kn (defined in ISO) | ISO | |
| LC_ko (defined in ISO) | ISO | |
| LC_lb (defined in ISO) | ISO | |
| LC_lo (defined in ISO) | ISO | |
| LC_lt (defined in ISO) | ISO | |
| LC_lv (defined in ISO) | ISO | |
| LC_mi (defined in ISO) | ISO | |
| LC_ml (defined in ISO) | ISO | |
| LC_mr (defined in ISO) | ISO | |
| LC_ms (defined in ISO) | ISO | |
| LC_mt (defined in ISO) | ISO | |
| LC_ne (defined in ISO) | ISO | |
| LC_nl (defined in ISO) | ISO | |
| LC_no (defined in ISO) | ISO | |
| LC_oc (defined in ISO) | ISO | |
| LC_or (defined in ISO) | ISO | |
| LC_pl (defined in ISO) | ISO | |
| LC_ps (defined in ISO) | ISO | |
| LC_pt (defined in ISO) | ISO | |
| LC_qu (defined in ISO) | ISO | |
| LC_ro (defined in ISO) | ISO | |
| LC_ru (defined in ISO) | ISO | |
| LC_rw (defined in ISO) | ISO | |
| LC_sa (defined in ISO) | ISO | |
| LC_si (defined in ISO) | ISO | |
| LC_sk (defined in ISO) | ISO | |
| LC_sl (defined in ISO) | ISO | |
| LC_sq (defined in ISO) | ISO | |
| LC_sv (defined in ISO) | ISO | |
| LC_ta (defined in ISO) | ISO | |
| LC_te (defined in ISO) | ISO | |
| LC_th (defined in ISO) | ISO | |
| LC_tk (defined in ISO) | ISO | |
| LC_tr (defined in ISO) | ISO | |
| LC_tt (defined in ISO) | ISO | |
| LC_uk (defined in ISO) | ISO | |
| LC_ur (defined in ISO) | ISO | |
| LC_vi (defined in ISO) | ISO | |
| LC_wo (defined in ISO) | ISO | |
| LC_yo (defined in ISO) | ISO | |
| LC_zh (defined in ISO) | ISO |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
ISO language/country codes. - More...
-
Inheritance diagram for ISO:-Public Member Functions | |
| languages () | |
| countries () | |
-Protected Member Functions | |
| constants ($prefix) | |
-Additional Inherited Members | |
Static Public Member Functions inherited from Prefab | |
| static | instance () |
ISO language/country codes.
-
-
|
- -protected | -
Convert class constants to array
| $prefix | string |
| ISO::countries | -( | -) | -- |
Return list of countries indexed by ISO 3166-1 country code
| ISO::languages | -( | -) | -- |
Return list of languages indexed by ISO 639-1 language code
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for Image, including all inherited members.
-| $count | Image | |
| $data | Image | |
| $file | Image | protected |
| $flag | Image | |
| __construct($file=NULL, $flag=FALSE, $path='') | Image | |
| __destruct() | Image | |
| blur($selective=FALSE) | Image | |
| brightness($level) | Image | |
| captcha($font, $size=24, $len=5, $key=NULL, $path='', $fg=0xFFFFFF, $bg=0x000000) | Image | |
| contrast($level) | Image | |
| crop($x1, $y1, $x2, $y2) | Image | |
| dump() | Image | |
| E_Color (defined in Image) | Image | |
| E_Font (defined in Image) | Image | |
| E_Length (defined in Image) | Image | |
| emboss() | Image | |
| grayscale() | Image | |
| height() | Image | |
| hflip() | Image | |
| identicon($str, $size=64, $blocks=4) | Image | |
| invert() | Image | |
| load($str) | Image | |
| overlay(Image $img, $align=NULL, $alpha=100) | Image | |
| pixelate($size) | Image | |
| POS_Bottom (defined in Image) | Image | |
| POS_Center (defined in Image) | Image | |
| POS_Left (defined in Image) | Image | |
| POS_Middle (defined in Image) | Image | |
| POS_Right (defined in Image) | Image | |
| POS_Top (defined in Image) | Image | |
| render() | Image | |
| resize($width, $height, $crop=TRUE, $enlarge=TRUE) | Image | |
| restore($state=1) | Image | |
| rgb($color) | Image | |
| rotate($angle) | Image | |
| save() | Image | |
| sepia() | Image | |
| sketch() | Image | |
| smooth($level) | Image | |
| undo() | Image | |
| vflip() | Image | |
| width() | Image |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Image manipulation tools. - More...
--Public Member Functions | |
| rgb ($color) | |
| invert () | |
| brightness ($level) | |
| contrast ($level) | |
| grayscale () | |
| smooth ($level) | |
| emboss () | |
| sepia () | |
| pixelate ($size) | |
| blur ($selective=FALSE) | |
| sketch () | |
| hflip () | |
| vflip () | |
| crop ($x1, $y1, $x2, $y2) | |
| resize ($width, $height, $crop=TRUE, $enlarge=TRUE) | |
| rotate ($angle) | |
| overlay (Image $img, $align=NULL, $alpha=100) | |
| identicon ($str, $size=64, $blocks=4) | |
| captcha ($font, $size=24, $len=5, $key=NULL, $path='', $fg=0xFFFFFF, $bg=0x000000) | |
| width () | |
| height () | |
| render () | |
| dump () | |
| save () | |
| restore ($state=1) | |
| undo () | |
| load ($str) | |
| __construct ($file=NULL, $flag=FALSE, $path='') | |
| __destruct () | |
-Public Attributes | |
| - | $data |
| Image resource. | |
| - | $flag =FALSE |
| Enable/disable history. | |
| - | $count =0 |
| Filter count. | |
| -const | E_Color ='Invalid color specified: %s' |
| -const | E_Font ='CAPTCHA font not found' |
| -const | E_Length ='Invalid CAPTCHA length: %s' |
| -const | POS_Left =1 |
| -const | POS_Center =2 |
| -const | POS_Right =4 |
| -const | POS_Top =8 |
| -const | POS_Middle =16 |
| -const | POS_Bottom =32 |
-Protected Attributes | |
| - | $file |
| Source filename. | |
Image manipulation tools.
-| Image::__construct | -( | -- | $file = NULL, |
-
| - | - | - | $flag = FALSE, |
-
| - | - | - | $path = '' |
-
| - | ) | -- |
Instantiate image
| $file | string |
| $flag | bool |
| $path | string |
| Image::__destruct | -( | -) | -- |
Wrap-up
| Image::blur | -( | -- | $selective = FALSE | ) | -- |
Blur the image using Gaussian filter
| $selective | bool |
| Image::brightness | -( | -- | $level | ) | -- |
Adjust brightness (range:-255 to 255)
| $level | int |
| Image::captcha | -( | -- | $font, | -
| - | - | - | $size = 24, |
-
| - | - | - | $len = 5, |
-
| - | - | - | $key = NULL, |
-
| - | - | - | $path = '', |
-
| - | - | - | $fg = 0xFFFFFF, |
-
| - | - | - | $bg = 0x000000 |
-
| - | ) | -- |
Generate CAPTCHA image
| $font | string |
| $size | int |
| $len | int |
| $key | string |
| $path | string |
| $fg | int |
| $bg | int |
| Image::contrast | -( | -- | $level | ) | -- |
Adjust contrast (range:-100 to 100)
| $level | int |
| Image::crop | -( | -- | $x1, | -
| - | - | - | $y1, | -
| - | - | - | $x2, | -
| - | - | - | $y2 | -
| - | ) | -- |
Crop the image
| $x1 | int |
| $y1 | int |
| $x2 | int |
| $y2 | int |
| Image::dump | -( | -) | -- |
Return image as a string
| Image::emboss | -( | -) | -- |
Emboss the image
| Image::grayscale | -( | -) | -- |
Convert to grayscale
| Image::height | -( | -) | -- |
Return image height
| Image::hflip | -( | -) | -- |
Flip on horizontal axis
| Image::identicon | -( | -- | $str, | -
| - | - | - | $size = 64, |
-
| - | - | - | $blocks = 4 |
-
| - | ) | -- |
Generate identicon
| $str | string |
| $size | int |
| $blocks | int |
| Image::invert | -( | -) | -- |
Invert image
| Image::load | -( | -- | $str | ) | -- |
Load string
| $str | string |
| Image::overlay | -( | -Image | -$img, | -
| - | - | - | $align = NULL, |
-
| - | - | - | $alpha = 100 |
-
| - | ) | -- |
Apply an image overlay
| $img | object |
| $align | int|array |
| $alpha | int |
| Image::pixelate | -( | -- | $size | ) | -- |
Pixelate the image
| $size | int |
| Image::render | -( | -) | -- |
Send image to HTTP client
| Image::resize | -( | -- | $width, | -
| - | - | - | $height, | -
| - | - | - | $crop = TRUE, |
-
| - | - | - | $enlarge = TRUE |
-
| - | ) | -- |
Resize image (Maintain aspect ratio); Crop relative to center if flag is enabled; Enlargement allowed if flag is enabled
| $width | int |
| $height | int |
| $crop | bool |
| $enlarge | bool |
| Image::restore | -( | -- | $state = 1 | ) | -- |
Revert to specified state
| $state | int |
| Image::rgb | -( | -- | $color | ) | -- |
Convert RGB hex triad to array
| $color | int |
| Image::rotate | -( | -- | $angle | ) | -- |
Rotate image
| $angle | int |
| Image::save | -( | -) | -- |
Save current state
| Image::sepia | -( | -) | -- |
Apply sepia effect
| Image::sketch | -( | -) | -- |
Apply sketch effect
| Image::smooth | -( | -- | $level | ) | -- |
Adjust smoothness
| $level | int |
| Image::undo | -( | -) | -- |
Undo most recently applied filter
| Image::vflip | -( | -) | -- |
Flip on vertical axis
| Image::width | -( | -) | -- |
Return image width
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for Log, including all inherited members.
-| $file | Log | protected |
| __construct($file) | Log | |
| erase() | Log | |
| write($text, $format='r') | Log |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Custom logger. - More...
--Public Member Functions | |
| write ($text, $format='r') | |
| erase () | |
| __construct ($file) | |
-Protected Attributes | |
| - | $file |
| File name. | |
Custom logger.
-| Log::__construct | -( | -- | $file | ) | -- |
Instantiate class
| $file | string |
| Log::erase | -( | -) | -- |
Erase log
| Log::write | -( | -- | $text, | -
| - | - | - | $format = 'r' |
-
| - | ) | -- |
Write specified text to log file
| $text | string |
| $format | string |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for Magic, including all inherited members.
-| __get($key) | Magic | |
| __isset($key) | Magic | |
| __set($key, $val) | Magic | |
| __unset($key) | Magic | |
| clear($key) | Magic | |
| exists($key) | Magic | |
| get($key) | Magic | |
| offsetexists($key) | Magic | |
| offsetget($key) | Magic | |
| offsetset($key, $val) | Magic | |
| offsetunset($key) | Magic | |
| set($key, $val) | Magic |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
PHP magic wrapper. - More...
-
Inheritance diagram for Magic:-Public Member Functions | |
| exists ($key) | |
| set ($key, $val) | |
| & | get ($key) |
| clear ($key) | |
| offsetexists ($key) | |
| offsetset ($key, $val) | |
| & | offsetget ($key) |
| offsetunset ($key) | |
| __isset ($key) | |
| __set ($key, $val) | |
| & | __get ($key) |
| __unset ($key) | |
PHP magic wrapper.
-| & Magic::__get | -( | -- | $key | ) | -- |
Alias for offsetget()
| $key | string |
| Magic::__isset | -( | -- | $key | ) | -- |
Alias for offsetexists()
| $key | string |
| Magic::__set | -( | -- | $key, | -
| - | - | - | $val | -
| - | ) | -- |
Alias for offsetset()
| $key | string |
| $val | scalar |
| Magic::__unset | -( | -- | $key | ) | -- |
Alias for offsetunset()
| $key | string |
-
|
- -abstract | -
Unset key
| $key | string |
-
|
- -abstract | -
Return TRUE if key is not empty
| $key | string |
-
|
- -abstract | -
Retrieve contents of key
| $key | string |
| Magic::offsetexists | -( | -- | $key | ) | -- |
Convenience method for checking property value
| $key | string |
| & Magic::offsetget | -( | -- | $key | ) | -- |
Convenience method for retrieving property value
| $key | string |
| Magic::offsetset | -( | -- | $key, | -
| - | - | - | $val | -
| - | ) | -- |
Convenience method for assigning property value
| $key | string |
| $val | scalar |
| Magic::offsetunset | -( | -- | $key | ) | -- |
Convenience method for removing property value
| $key | string |
-
|
- -abstract | -
Bind value to key
| $key | string |
| $val | mixed |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for Markdown, including all inherited members.
-| $blocks | Markdown | protected |
| $special | Markdown | |
| _a($str) | Markdown | protected |
| _atx($type, $str) | Markdown | protected |
| _auto($str) | Markdown | protected |
| _blockquote($str) | Markdown | protected |
| _code($str) | Markdown | protected |
| _fence($hint, $str) | Markdown | protected |
| _hr() | Markdown | protected |
| _img($str) | Markdown | protected |
| _li($str) | Markdown | protected |
| _p($str) | Markdown | protected |
| _pre($str) | Markdown | protected |
| _raw($str) | Markdown | protected |
| _setext($str, $type) | Markdown | protected |
| _text($str) | Markdown | protected |
| build($str) | Markdown | protected |
| convert($txt) | Markdown | |
| esc($str) | Markdown | |
| instance() | Prefab | static |
| scan($str) | Markdown | |
| snip($str) | Markdown | protected |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Markdown-to-HTML converter. - More...
-
Inheritance diagram for Markdown:-Public Member Functions | |
| esc ($str) | |
| scan ($str) | |
| convert ($txt) | |
-Public Attributes | |
| - | $special |
| Special characters. | |
-Protected Member Functions | |
| _blockquote ($str) | |
| _pre ($str) | |
| _fence ($hint, $str) | |
| _hr () | |
| _atx ($type, $str) | |
| _setext ($str, $type) | |
| _li ($str) | |
| _raw ($str) | |
| _p ($str) | |
| _text ($str) | |
| _img ($str) | |
| _a ($str) | |
| _auto ($str) | |
| _code ($str) | |
| snip ($str) | |
| build ($str) | |
-Protected Attributes | |
| - | $blocks |
| Parsing rules. | |
-Additional Inherited Members | |
Static Public Member Functions inherited from Prefab | |
| static | instance () |
Markdown-to-HTML converter.
-
-
|
- -protected | -
Process anchor span
| $str | string |
-
|
- -protected | -
Process atx-style heading
| $type | string |
| $str | string |
-
|
- -protected | -
Auto-convert links
| $str | string |
-
|
- -protected | -
Process blockquote
| $str | string |
-
|
- -protected | -
Process code span
| $str | string |
-
|
- -protected | -
Process fenced code block
| $hint | string |
| $str | string |
-
|
- -protected | -
Process horizontal rule
-
|
- -protected | -
Process image span
| $str | string |
-
|
- -protected | -
Process ordered/unordered list
| $str | string |
-
|
- -protected | -
Process paragraph
| $str | string |
-
|
- -protected | -
Process whitespace-prefixed code block
| $str | string |
-
|
- -protected | -
Ignore raw HTML
| $str | string |
-
|
- -protected | -
Process setext-style heading
| $str | string |
| $type | string |
-
|
- -protected | -
Process strong/em/strikethrough spans
| $str | string |
-
|
- -protected | -
Assemble blocks
| $str | string |
| Markdown::convert | -( | -- | $txt | ) | -- |
Render HTML equivalent of markdown
| $txt | string |
| Markdown::esc | -( | -- | $str | ) | -- |
Convert characters to HTML entities
| $str | string |
| Markdown::scan | -( | -- | $str | ) | -- |
Scan line for convertible spans
| $str | string |
-
|
- -protected | -
Reduce multiple line feeds
| $str | string |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for Matrix, including all inherited members.
-| calendar($date='now', $first=0) | Matrix | |
| changekey(array &$var, $old, $new) | Matrix | |
| instance() | Prefab | static |
| pick(array $var, $col) | Matrix | |
| sort(array &$var, $col, $order=SORT_ASC) | Matrix | |
| transpose(array &$var) | Matrix |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Generic array utilities. - More...
-
Inheritance diagram for Matrix:-Public Member Functions | |
| pick (array $var, $col) | |
| transpose (array &$var) | |
| sort (array &$var, $col, $order=SORT_ASC) | |
| changekey (array &$var, $old, $new) | |
| calendar ($date='now', $first=0) | |
-Additional Inherited Members | |
Static Public Member Functions inherited from Prefab | |
| static | instance () |
Generic array utilities.
-| Matrix::calendar | -( | -- | $date = 'now', |
-
| - | - | - | $first = 0 |
-
| - | ) | -- |
Return month calendar of specified date, with optional setting for first day of week (0 for Sunday)
| $date | string |
| $first | int |
| Matrix::changekey | -( | -array & | -$var, | -
| - | - | - | $old, | -
| - | - | - | $new | -
| - | ) | -- |
Change the key of a two-dimensional array element
| $var | array |
| $old | string |
| $new | string |
| Matrix::pick | -( | -array | -$var, | -
| - | - | - | $col | -
| - | ) | -- |
Retrieve values from a specified column of a multi-dimensional array variable
| $var | array |
| $col | mixed |
| Matrix::sort | -( | -array & | -$var, | -
| - | - | - | $col, | -
| - | - | - | $order = SORT_ASC |
-
| - | ) | -- |
Sort a multi-dimensional array variable on a specified column
| $var | array |
| $col | mixed |
| $order | int |
| Matrix::transpose | -( | -array & | -$var | ) | -- |
Rotate a two-dimensional array variable
| $var | array |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for Prefab, including all inherited members.
-| instance() | Prefab | static |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Factory class for single-instance objects. - More...
-
Inheritance diagram for Prefab:-Static Public Member Functions | |
| static | instance () |
Factory class for single-instance objects.
-
-
|
- -static | -
Return class instance
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for Preview, including all inherited members.
-| $level | View | |
| $mime | Preview | protected |
| $trigger | View | |
| $view | View | protected |
| afterrender($func) | View | |
| alias($key, $arg=null) | View | |
| build($node) | Preview | protected |
| esc($arg) | View | |
| instance() | Prefab | static |
| raw($arg) | View | |
| render($file, $mime='text/html', array $hive=NULL, $ttl=0) | Preview | |
| resolve($str, array $hive=NULL) | Preview | |
| sandbox(array $hive=NULL) | View | protected |
| token($str) | Preview |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Lightweight template engine. - More...
-
Inheritance diagram for Preview:-Public Member Functions | |
| token ($str) | |
| resolve ($str, array $hive=NULL) | |
| render ($file, $mime='text/html', array $hive=NULL, $ttl=0) | |
Public Member Functions inherited from View | |
| esc ($arg) | |
| raw ($arg) | |
| alias ($key, $arg=null) | |
| render ($file, $mime='text/html', array $hive=NULL, $ttl=0) | |
| afterrender ($func) | |
-Protected Member Functions | |
| build ($node) | |
Protected Member Functions inherited from View | |
| sandbox (array $hive=NULL) | |
-Protected Attributes | |
| - | $mime |
| MIME type. | |
Protected Attributes inherited from View | |
| - | $view |
| Template file. | |
-Additional Inherited Members | |
Static Public Member Functions inherited from Prefab | |
| static | instance () |
Public Attributes inherited from View | |
| - | $trigger |
| post-rendering handler | |
| - | $level =0 |
| Nesting level. | |
Lightweight template engine.
-
-
|
- -protected | -
Assemble markup
| $node | string |
| Preview::render | -( | -- | $file, | -
| - | - | - | $mime = 'text/html', |
-
| - | - | array | -$hive = NULL, |
-
| - | - | - | $ttl = 0 |
-
| - | ) | -- |
Render template
| $file | string |
| $mime | string |
| $hive | array |
| $ttl | int |
| Preview::resolve | -( | -- | $str, | -
| - | - | array | -$hive = NULL |
-
| - | ) | -- |
Render template string
| $str | string |
| $hive | array |
| Preview::token | -( | -- | $str | ) | -- |
Convert token to variable
| $str | string |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for Registry, including all inherited members.
-| clear($key) | Registry | static |
| exists($key) | Registry | static |
| get($key) | Registry | static |
| set($key, $obj) | Registry | static |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Container for singular object instances. - More...
--Static Public Member Functions | |
| static | exists ($key) |
| static | set ($key, $obj) |
| static | get ($key) |
| static | clear ($key) |
Container for singular object instances.
-
-
|
- -static | -
Delete object from catalog
| $key | string |
-
|
- -static | -
Return TRUE if object exists in catalog
| $key | string |
-
|
- -static | -
Retrieve object from catalog
| $key | string |
-
|
- -static | -
Add object to catalog
| $key | string |
| $obj | object |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for SMTP, including all inherited members.
-| $attachments | SMTP | |
| $headers | SMTP | protected |
| $host | SMTP | |
| $log | SMTP | |
| $port | SMTP | |
| $pw | SMTP | |
| $scheme | SMTP | |
| $socket | SMTP | |
| $user | SMTP | |
| __construct($host, $port, $scheme, $user, $pw) | SMTP | |
| __get($key) | Magic | |
| __isset($key) | Magic | |
| __set($key, $val) | Magic | |
| __unset($key) | Magic | |
| attach($file, $alias=NULL) | SMTP | |
| clear($key) | SMTP | |
| dialog($cmd=NULL, $log=TRUE) | SMTP | protected |
| E_Attach (defined in SMTP) | SMTP | |
| E_Blank (defined in SMTP) | SMTP | |
| E_Header (defined in SMTP) | SMTP | |
| exists($key) | SMTP | |
| fixheader($key) | SMTP | protected |
| get($key) | SMTP | |
| log() | SMTP | |
| offsetexists($key) | Magic | |
| offsetget($key) | Magic | |
| offsetset($key, $val) | Magic | |
| offsetunset($key) | Magic | |
| send($message, $log=TRUE) | SMTP | |
| set($key, $val) | SMTP |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
SMTP plug-in. - More...
-
Inheritance diagram for SMTP:-Public Member Functions | |
| exists ($key) | |
| set ($key, $val) | |
| & | get ($key) |
| clear ($key) | |
| log () | |
| attach ($file, $alias=NULL) | |
| send ($message, $log=TRUE) | |
| __construct ($host, $port, $scheme, $user, $pw) | |
Public Member Functions inherited from Magic | |
| exists ($key) | |
| set ($key, $val) | |
| & | get ($key) |
| clear ($key) | |
| offsetexists ($key) | |
| offsetset ($key, $val) | |
| & | offsetget ($key) |
| offsetunset ($key) | |
| __isset ($key) | |
| __set ($key, $val) | |
| & | __get ($key) |
| __unset ($key) | |
-Public Attributes | |
| - | $attachments |
| E-mail attachments. | |
| - | $host |
| SMTP host. | |
| - | $port |
| SMTP port. | |
| - | $scheme |
| TLS/SSL. | |
| - | $user |
| User ID. | |
| - | $pw |
| Password. | |
| - | $socket |
| TCP/IP socket. | |
| - | $log |
| Server-client conversation. | |
| -const | E_Header ='%s: header is required' |
| -const | E_Blank ='Message must not be blank' |
| -const | E_Attach ='Attachment %s not found' |
-Protected Member Functions | |
| fixheader ($key) | |
| dialog ($cmd=NULL, $log=TRUE) | |
-Protected Attributes | |
| - | $headers |
| Message properties. | |
SMTP plug-in.
-| SMTP::__construct | -( | -- | $host, | -
| - | - | - | $port, | -
| - | - | - | $scheme, | -
| - | - | - | $user, | -
| - | - | - | $pw | -
| - | ) | -- |
Instantiate class
| $host | string |
| $port | int |
| $scheme | string |
| $user | string |
| $pw | string |
| SMTP::attach | -( | -- | $file, | -
| - | - | - | $alias = NULL |
-
| - | ) | -- |
Add e-mail attachment
| $file | |
| $alias |
| SMTP::clear | -( | -- | $key | ) | -- |
Remove header
| $key | string |
-
|
- -protected | -
Send SMTP command and record server response
| $cmd | string |
| $log | bool |
| SMTP::exists | -( | -- | $key | ) | -- |
Return TRUE if header exists
| $key |
-
|
- -protected | -
Fix header
| $key | string |
| & SMTP::get | -( | -- | $key | ) | -- |
Return value of e-mail header
| $key | string |
| SMTP::log | -( | -) | -- |
Return client-server conversation history
| SMTP::send | -( | -- | $message, | -
| - | - | - | $log = TRUE |
-
| - | ) | -- |
Transmit message
| $message | string |
| $log | bool |
| SMTP::set | -( | -- | $key, | -
| - | - | - | $val | -
| - | ) | -- |
Bind value to e-mail header
| $key | string |
| $val | string |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for Session, including all inherited members.
-| $sid | Session | protected |
| __construct() | Session | |
| agent() | Session | |
| cleanup($max) | Session | |
| close() | Session | |
| csrf() | Session | |
| destroy($id) | Session | |
| ip() | Session | |
| open($path, $name) | Session | |
| read($id) | Session | |
| stamp() | Session | |
| write($id, $data) | Session |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Cache-based session handler. - More...
--Public Member Functions | |
| open ($path, $name) | |
| close () | |
| read ($id) | |
| write ($id, $data) | |
| destroy ($id) | |
| cleanup ($max) | |
| csrf () | |
| ip () | |
| stamp () | |
| agent () | |
| __construct () | |
-Protected Attributes | |
| - | $sid |
| Session ID. | |
Cache-based session handler.
-| Session::__construct | -( | -) | -- |
Instantiate class
| Session::agent | -( | -) | -- |
Return HTTP user agent
| Session::cleanup | -( | -- | $max | ) | -- |
Garbage collector
| $max | int |
| Session::close | -( | -) | -- |
Close session
| Session::csrf | -( | -) | -- |
Return anti-CSRF token
| Session::destroy | -( | -- | $id | ) | -- |
Destroy session
| $id | string |
| Session::ip | -( | -) | -- |
Return IP address
| Session::open | -( | -- | $path, | -
| - | - | - | $name | -
| - | ) | -- |
Open session
| $path | string |
| $name | string |
| Session::read | -( | -- | $id | ) | -- |
Return session data in serialized format
| $id | string |
| Session::stamp | -( | -) | -- |
Return Unix timestamp
| Session::write | -( | -- | $id, | -
| - | - | - | $data | -
| - | ) | -- |
Write session data
| $id | string |
| $data | string |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for Template, including all inherited members.
-| $custom | Template | |
| $level | View | |
| $mime | Preview | protected |
| $tags | Template | protected |
| $trigger | View | |
| $view | View | protected |
| __call($func, array $args) | Template | |
| __construct() | Template | |
| _case(array $node) | Template | protected |
| _check(array $node) | Template | protected |
| _default(array $node) | Template | protected |
| _exclude() | Template | protected |
| _false(array $node) | Template | protected |
| _ignore(array $node) | Template | protected |
| _include(array $node) | Template | protected |
| _loop(array $node) | Template | protected |
| _repeat(array $node) | Template | protected |
| _set(array $node) | Template | protected |
| _switch(array $node) | Template | protected |
| _true(array $node) | Template | protected |
| afterrender($func) | View | |
| alias($key, $arg=null) | View | |
| build($node) | Template | protected |
| E_Method (defined in Template) | Template | |
| esc($arg) | View | |
| extend($tag, $func) | Template | |
| instance() | Prefab | static |
| parse($text) | Template | |
| raw($arg) | View | |
| render($file, $mime='text/html', array $hive=NULL, $ttl=0) | Preview | |
| resolve($str, array $hive=NULL) | Preview | |
| sandbox(array $hive=NULL) | View | protected |
| token($str) | Preview |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
XML-style template engine. - More...
-
Inheritance diagram for Template:-Public Member Functions | |
| extend ($tag, $func) | |
| __call ($func, array $args) | |
| parse ($text) | |
| __construct () | |
Public Member Functions inherited from Preview | |
| token ($str) | |
| resolve ($str, array $hive=NULL) | |
| render ($file, $mime='text/html', array $hive=NULL, $ttl=0) | |
Public Member Functions inherited from View | |
| esc ($arg) | |
| raw ($arg) | |
| alias ($key, $arg=null) | |
| render ($file, $mime='text/html', array $hive=NULL, $ttl=0) | |
| afterrender ($func) | |
-Public Attributes | |
| - | $custom =array() |
| Custom tag handlers. | |
| -const | E_Method ='Call to undefined method %s()' |
Public Attributes inherited from View | |
| - | $trigger |
| post-rendering handler | |
| - | $level =0 |
| Nesting level. | |
-Protected Member Functions | |
| _set (array $node) | |
| _include (array $node) | |
| _exclude () | |
| _ignore (array $node) | |
| _loop (array $node) | |
| _repeat (array $node) | |
| _check (array $node) | |
| _true (array $node) | |
| _false (array $node) | |
| _switch (array $node) | |
| _case (array $node) | |
| _default (array $node) | |
| build ($node) | |
Protected Member Functions inherited from Preview | |
| build ($node) | |
Protected Member Functions inherited from View | |
| sandbox (array $hive=NULL) | |
-Protected Attributes | |
| - | $tags |
| Template tags. | |
Protected Attributes inherited from Preview | |
| - | $mime |
| MIME type. | |
Protected Attributes inherited from View | |
| - | $view |
| Template file. | |
-Additional Inherited Members | |
Static Public Member Functions inherited from Prefab | |
| static | instance () |
XML-style template engine.
-| Template::__construct | -( | -) | -- |
Class constructor return object
- -| Template::__call | -( | -- | $func, | -
| - | - | array | -$args | -
| - | ) | -- |
Call custom tag handler
| $func | callback |
| $args | array |
-
|
- -protected | -
Template -case- tag handler
| $node | array |
-
|
- -protected | -
Template -check- tag handler
| $node | array |
-
|
- -protected | -
Template -default- tag handler
| $node | array |
-
|
- -protected | -
Template -exclude- tag handler
-
|
- -protected | -
Template -false- tag handler
| $node | array |
-
|
- -protected | -
Template -ignore- tag handler
| $node | array |
-
|
- -protected | -
Template -include- tag handler
| $node | array |
-
|
- -protected | -
Template -loop- tag handler
| $node | array |
-
|
- -protected | -
Template -repeat- tag handler
| $node | array |
-
|
- -protected | -
Template -set- tag handler
| $node | array |
-
|
- -protected | -
Template -switch- tag handler
| $node | array |
-
|
- -protected | -
Template -true- tag handler
| $node | array |
-
|
- -protected | -
Assemble markup
| $node | array|string |
| Template::extend | -( | -- | $tag, | -
| - | - | - | $func | -
| - | ) | -- |
Extend template with custom tag
| $tag | string |
| $func | callback |
| Template::parse | -( | -- | $text | ) | -- |
Parse string for template directives and tokens
| $text | string |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for Test, including all inherited members.
-| $data | Test | protected |
| __construct($level=self::FLAG_Both) | Test | |
| expect($cond, $text=NULL) | Test | |
| FLAG_Both (defined in Test) | Test | |
| FLAG_False (defined in Test) | Test | |
| FLAG_True (defined in Test) | Test | |
| message($text) | Test | |
| results() | Test |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Unit test kit. - More...
--Public Member Functions | |
| results () | |
| expect ($cond, $text=NULL) | |
| message ($text) | |
| __construct ($level=self::FLAG_Both) | |
-Public Attributes | |
| -const | FLAG_False =0 |
| -const | FLAG_True =1 |
| -const | FLAG_Both =2 |
-Protected Attributes | |
| - | $data =array() |
| Test results. | |
Unit test kit.
-| Test::__construct | -( | -- | $level = self::FLAG_Both | ) | -- |
Class constructor
| $level | int |
| Test::expect | -( | -- | $cond, | -
| - | - | - | $text = NULL |
-
| - | ) | -- |
Evaluate condition and save test result
| $cond | bool |
| $text | string |
| Test::message | -( | -- | $text | ) | -- |
Append message to test results
| $text | string |
| Test::results | -( | -) | -- |
Return test results
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for UTF, including all inherited members.
-| bom() | UTF | |
| emojify($str) | UTF | |
| instance() | Prefab | static |
| ltrim($str) | UTF | |
| rtrim($str) | UTF | |
| stripos($stack, $needle, $ofs=0) | UTF | |
| stristr($stack, $needle, $before=FALSE) | UTF | |
| strlen($str) | UTF | |
| strpos($stack, $needle, $ofs=0, $case=FALSE) | UTF | |
| strrev($str) | UTF | |
| strstr($stack, $needle, $before=FALSE, $case=FALSE) | UTF | |
| substr($str, $start, $len=0) | UTF | |
| substr_count($stack, $needle) | UTF | |
| translate($str) | UTF | |
| trim($str) | UTF |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Unicode string manager. - More...
-
Inheritance diagram for UTF:-Public Member Functions | |
| strlen ($str) | |
| strrev ($str) | |
| stripos ($stack, $needle, $ofs=0) | |
| strpos ($stack, $needle, $ofs=0, $case=FALSE) | |
| stristr ($stack, $needle, $before=FALSE) | |
| strstr ($stack, $needle, $before=FALSE, $case=FALSE) | |
| substr ($str, $start, $len=0) | |
| substr_count ($stack, $needle) | |
| ltrim ($str) | |
| rtrim ($str) | |
| trim ($str) | |
| bom () | |
| translate ($str) | |
| emojify ($str) | |
-Additional Inherited Members | |
Static Public Member Functions inherited from Prefab | |
| static | instance () |
Unicode string manager.
-| UTF::bom | -( | -) | -- |
Return UTF-8 byte order mark
| UTF::emojify | -( | -- | $str | ) | -- |
Translate emoji tokens to Unicode font-supported symbols
| $str | string |
| UTF::ltrim | -( | -- | $str | ) | -- |
Strip whitespaces from the beginning of a string
| $str | string |
| UTF::rtrim | -( | -- | $str | ) | -- |
Strip whitespaces from the end of a string
| $str | string |
| UTF::stripos | -( | -- | $stack, | -
| - | - | - | $needle, | -
| - | - | - | $ofs = 0 |
-
| - | ) | -- |
Find position of first occurrence of a string (case-insensitive)
| $stack | string |
| $needle | string |
| $ofs | int |
| UTF::stristr | -( | -- | $stack, | -
| - | - | - | $needle, | -
| - | - | - | $before = FALSE |
-
| - | ) | -- |
Returns part of haystack string from the first occurrence of needle to the end of haystack (case-insensitive)
| $stack | string |
| $needle | string |
| $before | bool |
| UTF::strlen | -( | -- | $str | ) | -- |
Get string length
| $str | string |
| UTF::strpos | -( | -- | $stack, | -
| - | - | - | $needle, | -
| - | - | - | $ofs = 0, |
-
| - | - | - | $case = FALSE |
-
| - | ) | -- |
Find position of first occurrence of a string
| $stack | string |
| $needle | string |
| $ofs | int |
| $case | bool |
| UTF::strrev | -( | -- | $str | ) | -- |
Reverse a string
| $str | string |
| UTF::strstr | -( | -- | $stack, | -
| - | - | - | $needle, | -
| - | - | - | $before = FALSE, |
-
| - | - | - | $case = FALSE |
-
| - | ) | -- |
Returns part of haystack string from the first occurrence of needle to the end of haystack
| $stack | string |
| $needle | string |
| $before | bool |
| $case | bool |
| UTF::substr | -( | -- | $str, | -
| - | - | - | $start, | -
| - | - | - | $len = 0 |
-
| - | ) | -- |
Return part of a string
| $str | string |
| $start | int |
| $len | int |
| UTF::substr_count | -( | -- | $stack, | -
| - | - | - | $needle | -
| - | ) | -- |
Count the number of substring occurrences
| $stack | string |
| $needle | string |
| UTF::translate | -( | -- | $str | ) | -- |
Convert code points to Unicode symbols
| $str | string |
| UTF::trim | -( | -- | $str | ) | -- |
Strip whitespaces from the beginning and end of a string
| $str | string |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for View, including all inherited members.
-| $level | View | |
| $trigger | View | |
| $view | View | protected |
| afterrender($func) | View | |
| alias($key, $arg=null) | View | |
| esc($arg) | View | |
| instance() | Prefab | static |
| raw($arg) | View | |
| render($file, $mime='text/html', array $hive=NULL, $ttl=0) | View | |
| sandbox(array $hive=NULL) | View | protected |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
View handler. - More...
-
Inheritance diagram for View:-Public Member Functions | |
| esc ($arg) | |
| raw ($arg) | |
| alias ($key, $arg=null) | |
| render ($file, $mime='text/html', array $hive=NULL, $ttl=0) | |
| afterrender ($func) | |
-Public Attributes | |
| - | $trigger |
| post-rendering handler | |
| - | $level =0 |
| Nesting level. | |
-Protected Member Functions | |
| sandbox (array $hive=NULL) | |
-Protected Attributes | |
| - | $view |
| Template file. | |
-Additional Inherited Members | |
Static Public Member Functions inherited from Prefab | |
| static | instance () |
View handler.
-| View::afterrender | -( | -- | $func | ) | -- |
post rendering handler
| $func | callback |
| View::alias | -( | -- | $key, | -
| - | - | - | $arg = null |
-
| - | ) | -- |
build an url from alias name
| $key | string |
| $arg | string |
| View::esc | -( | -- | $arg | ) | -- |
Encode characters to equivalent HTML entities
| $arg | mixed |
| View::raw | -( | -- | $arg | ) | -- |
Decode HTML entities to equivalent characters
| $arg | mixed |
| View::render | -( | -- | $file, | -
| - | - | - | $mime = 'text/html', |
-
| - | - | array | -$hive = NULL, |
-
| - | - | - | $ttl = 0 |
-
| - | ) | -- |
Render template
| $file | string |
| $mime | string |
| $hive | array |
| $ttl | int |
-
|
- -protected | -
Create sandbox for template execution
| $hive | array |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for Web, including all inherited members.
-| $wrapper | Web | protected |
| _curl($url, $options) | Web | protected |
| _socket($url, $options) | Web | protected |
| _stream($url, $options) | Web | protected |
| acceptable($list=NULL) | Web | |
| E_Request (defined in Web) | Web | |
| engine($arg='curl') | Web | |
| filler($count=1, $max=20, $std=TRUE) | Web | |
| instance() | Prefab | static |
| mime($file) | Web | |
| minify($files, $mime=NULL, $header=TRUE, $path='') | Web | |
| progress($id) | Web | |
| receive($func=NULL, $overwrite=FALSE, $slug=TRUE) | Web | |
| request($url, array $options=NULL) | Web | |
| rss($url, $max=10, $tags=NULL) | Web | |
| send($file, $mime=NULL, $kbps=0, $force=TRUE) | Web | |
| slug($text) | Web | |
| subst(array &$old, $new) | Web | |
| whois($addr, $server='whois.internic.net') | Web |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Wrapper for various HTTP utilities. - More...
-
Inheritance diagram for Web:-Public Member Functions | |
| mime ($file) | |
| acceptable ($list=NULL) | |
| send ($file, $mime=NULL, $kbps=0, $force=TRUE) | |
| receive ($func=NULL, $overwrite=FALSE, $slug=TRUE) | |
| progress ($id) | |
| engine ($arg='curl') | |
| subst (array &$old, $new) | |
| request ($url, array $options=NULL) | |
| minify ($files, $mime=NULL, $header=TRUE, $path='') | |
| rss ($url, $max=10, $tags=NULL) | |
| whois ($addr, $server='whois.internic.net') | |
| slug ($text) | |
| filler ($count=1, $max=20, $std=TRUE) | |
-Public Attributes | |
| -const | E_Request ='No suitable HTTP request engine found' |
-Protected Member Functions | |
| _curl ($url, $options) | |
| _stream ($url, $options) | |
| _socket ($url, $options) | |
-Protected Attributes | |
| - | $wrapper |
| HTTP request engine. | |
-Additional Inherited Members | |
Static Public Member Functions inherited from Prefab | |
| static | instance () |
Wrapper for various HTTP utilities.
-
-
|
- -protected | -
HTTP request via cURL
| $url | string |
| $options | array |
-
|
- -protected | -
HTTP request via low-level TCP/IP socket
| $url | string |
| $options | array |
-
|
- -protected | -
HTTP request via PHP stream wrapper
| $url | string |
| $options | array |
| Web::acceptable | -( | -- | $list = NULL | ) | -- |
Return the MIME types stated in the HTTP Accept header as an array; If a list of MIME types is specified, return the best match; or FALSE if none found
| $list | string|array |
| Web::engine | -( | -- | $arg = 'curl' | ) | -- |
Specify the HTTP request engine to use; If not available, fall back to an applicable substitute
| $arg | string |
| Web::filler | -( | -- | $count = 1, |
-
| - | - | - | $max = 20, |
-
| - | - | - | $std = TRUE |
-
| - | ) | -- |
Return chunk of text from standard Lorem Ipsum passage
| $count | int |
| $max | int |
| $std | bool |
| Web::mime | -( | -- | $file | ) | -- |
Detect MIME type using file extension
| $file | string |
| Web::minify | -( | -- | $files, | -
| - | - | - | $mime = NULL, |
-
| - | - | - | $header = TRUE, |
-
| - | - | - | $path = '' |
-
| - | ) | -- |
Strip Javascript/CSS files of extraneous whitespaces and comments; Return combined output as a minified string
| $files | string|array |
| $mime | string |
| $header | bool |
| $path | string |
| Web::progress | -( | -- | $id | ) | -- |
Return upload progress in bytes, FALSE on failure
| $id | string |
| Web::receive | -( | -- | $func = NULL, |
-
| - | - | - | $overwrite = FALSE, |
-
| - | - | - | $slug = TRUE |
-
| - | ) | -- |
Receive file(s) from HTTP client
| $func | callback |
| $overwrite | bool |
| $slug | callback|bool |
| Web::request | -( | -- | $url, | -
| - | - | array | -$options = NULL |
-
| - | ) | -- |
Submit HTTP request; Use HTTP context options (described in http://www.php.net/manual/en/context.http.php) if specified; Cache the page as instructed by remote server
| $url | string |
| $options | array |
| Web::rss | -( | -- | $url, | -
| - | - | - | $max = 10, |
-
| - | - | - | $tags = NULL |
-
| - | ) | -- |
Retrieve RSS feed and return as an array
| $url | string |
| $max | int |
| $tags | string |
| Web::send | -( | -- | $file, | -
| - | - | - | $mime = NULL, |
-
| - | - | - | $kbps = 0, |
-
| - | - | - | $force = TRUE |
-
| - | ) | -- |
Transmit file to HTTP client; Return file size if successful, FALSE otherwise
| $file | string |
| $mime | string |
| $kbps | int |
| $force | bool |
| Web::slug | -( | -- | $text | ) | -- |
Return a URL/filesystem-friendly version of string
| $text | string |
| Web::subst | -( | -array & | -$old, | -
| - | - | - | $new | -
| - | ) | -- |
Replace old headers with new elements
| $old | array |
| $new | string|array |
| Web::whois | -( | -- | $addr, | -
| - | - | - | $server = 'whois.internic.net' |
-
| - | ) | -- |
Retrieve information from whois server
| $addr | string |
| $server | string |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for Web\Geo, including all inherited members.
-| instance() | Prefab | static |
| location($ip=NULL) | Web\Geo | |
| tzinfo($zone) | Web\Geo | |
| weather($latitude, $longitude) | Web\Geo |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Geo plug-in. - More...
-
Inheritance diagram for Web\Geo:-Public Member Functions | |
| tzinfo ($zone) | |
| location ($ip=NULL) | |
| weather ($latitude, $longitude) | |
-Additional Inherited Members | |
Static Public Member Functions inherited from Prefab | |
| static | instance () |
Geo plug-in.
-| Web\Geo::location | -( | -- | $ip = NULL | ) | -- |
Return geolocation data based on specified/auto-detected IP address
| $ip | string |
| Web\Geo::tzinfo | -( | -- | $zone | ) | -- |
Return information about specified Unix time zone
| $zone | string |
| Web\Geo::weather | -( | -- | $latitude, | -
| - | - | - | $longitude | -
| - | ) | -- |
Return weather data based on specified latitude/longitude
| $latitude | float |
| $longitude | float |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for Web\Google\StaticMap, including all inherited members.
-| $query | Web\Google\StaticMap | protected |
| __call($func, array $args) | Web\Google\StaticMap | |
| dump() | Web\Google\StaticMap | |
| URL_Static | Web\Google\StaticMap |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Google Static Maps API v2 plug-in. - More...
--Public Member Functions | |
| __call ($func, array $args) | |
| dump () | |
-Public Attributes | |
| -const | URL_Static ='http://maps.googleapis.com/maps/api/staticmap' |
| API URL. | |
-Protected Attributes | |
| - | $query =array() |
| Query arguments. | |
Google Static Maps API v2 plug-in.
-| Web\Google\StaticMap::__call | -( | -- | $func, | -
| - | - | array | -$args | -
| - | ) | -- |
Specify API key-value pair via magic call
| $func | string |
| $args | array |
| Web\Google\StaticMap::dump | -( | -) | -- |
Generate map
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for Web\OpenID, including all inherited members.
-| $args | Web\OpenID | |
| $url | Web\OpenID | protected |
| __get($key) | Magic | |
| __isset($key) | Magic | |
| __set($key, $val) | Magic | |
| __unset($key) | Magic | |
| auth($proxy=NULL, $attr=array(), array $reqd=NULL) | Web\OpenID | |
| clear($key) | Web\OpenID | |
| discover($proxy) | Web\OpenID | protected |
| exists($key) | Web\OpenID | |
| get($key) | Web\OpenID | |
| offsetexists($key) | Magic | |
| offsetget($key) | Magic | |
| offsetset($key, $val) | Magic | |
| offsetunset($key) | Magic | |
| response() | Web\OpenID | |
| set($key, $val) | Web\OpenID | |
| verified($proxy=NULL) | Web\OpenID |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
OpenID consumer. - More...
-
Inheritance diagram for Web\OpenID:-Public Member Functions | |
| auth ($proxy=NULL, $attr=array(), array $reqd=NULL) | |
| verified ($proxy=NULL) | |
| response () | |
| exists ($key) | |
| set ($key, $val) | |
| & | get ($key) |
| clear ($key) | |
Public Member Functions inherited from Magic | |
| exists ($key) | |
| set ($key, $val) | |
| & | get ($key) |
| clear ($key) | |
| offsetexists ($key) | |
| offsetset ($key, $val) | |
| & | offsetget ($key) |
| offsetunset ($key) | |
| __isset ($key) | |
| __set ($key, $val) | |
| & | __get ($key) |
| __unset ($key) | |
-Public Attributes | |
| - | $args =array() |
| HTTP request parameters. | |
-Protected Member Functions | |
| discover ($proxy) | |
-Protected Attributes | |
| - | $url |
| OpenID provider endpoint URL. | |
OpenID consumer.
-| Web\OpenID::auth | -( | -- | $proxy = NULL, |
-
| - | - | - | $attr = array(), |
-
| - | - | array | -$reqd = NULL |
-
| - | ) | -- |
Initiate OpenID authentication sequence; Return FALSE on failure or redirect to OpenID provider URL
| $proxy | string |
| $attr | array |
| $reqd | string|array |
| Web\OpenID::clear | -( | -- | $key | ) | -- |
Remove OpenID request parameter
| $key |
-
|
- -protected | -
Determine OpenID provider
| $proxy | string |
| Web\OpenID::exists | -( | -- | $key | ) | -- |
Return TRUE if OpenID request parameter exists
| $key | string |
| & Web\OpenID::get | -( | -- | $key | ) | -- |
Return value of OpenID request parameter
| $key | string |
| Web\OpenID::response | -( | -) | -- |
Return OpenID response fields
| Web\OpenID::set | -( | -- | $key, | -
| - | - | - | $val | -
| - | ) | -- |
Bind value to OpenID request parameter
| $key | string |
| $val | string |
| Web\OpenID::verified | -( | -- | $proxy = NULL | ) | -- |
Return TRUE if OpenID verification was successful
| $proxy | string |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
This is the complete list of members for Web\Pingback, including all inherited members.
-| $log | Web\Pingback | protected |
| __construct() | Web\Pingback | |
| enabled($url) | Web\Pingback | protected |
| inspect($source) | Web\Pingback | |
| instance() | Prefab | static |
| listen($func, $path=NULL) | Web\Pingback | |
| log() | Web\Pingback |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
Pingback 1.0 protocol (client and server) implementation. - More...
-
Inheritance diagram for Web\Pingback:-Public Member Functions | |
| inspect ($source) | |
| listen ($func, $path=NULL) | |
| log () | |
| __construct () | |
-Protected Member Functions | |
| enabled ($url) | |
-Protected Attributes | |
| - | $log |
| Transaction history. | |
-Additional Inherited Members | |
Static Public Member Functions inherited from Prefab | |
| static | instance () |
Pingback 1.0 protocol (client and server) implementation.
-| Web\Pingback::__construct | -( | -) | -- |
Instantiate class
-
|
- -protected | -
Return TRUE if URL points to a pingback-enabled resource
| $url |
| Web\Pingback::inspect | -( | -- | $source | ) | -- |
Load local page contents, parse HTML anchor tags, find permalinks, and send XML-RPC calls to corresponding pingback servers
| $source | string |
| Web\Pingback::listen | -( | -- | $func, | -
| - | - | - | $path = NULL |
-
| - | ) | -- |
Receive ping, check if local page is pingback-enabled, verify source contents, and return XML-RPC response
| $func | callback |
| $path | string |
| Web\Pingback::log | -( | -) | -- |
Return transaction history
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
| |
| Audit | |
| Auth | |
| |
| Base | |
| Basket | |
| Bcrypt | |
| |
| Cache | |
| Cursor (DB) | |
| |
| F3 | |
| |
| Web\Geo | |
| |
| Image | |
| ISO | |
| |
| Jig (DB) | |
| |
| Log | |
| |
| Magic | |
| Mongo\Mapper (DB) | |
| SQL\Mapper (DB) | |
| Jig\Mapper (DB) | |
| Markdown | |
| Matrix | |
| Mongo (DB) | |
| |
| Web\OpenID | |
| |
| Web\Pingback | |
| Prefab | |
| Preview | |
| |
| Registry | |
| |
| Session | |
| SQL\Session (DB) | |
| Mongo\Session (DB) | |
| Jig\Session (DB) | |
| SMTP | |
| SQL (DB) | |
| StaticMap (Web\Google) | |
| |
| Template | |
| Test | |
| |
| UTF | |
| |
| View | |
| |
| Web | |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
-Directories | |
| directory | |
-Files | |
| file | geo.php |
| file | openid.php |
| file | pingback.php |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
-Directories | |
| directory | jig |
| directory | mongo |
| directory | sql |
-Files | |
| file | cursor.php |
| file | jig.php |
| file | mongo.php |
| file | sql.php |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.2.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.3.1
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.3.1
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
| ▼CArrayAccess | |
| CBase | Base structure |
| ▼CMagic | PHP magic wrapper |
| CBasket | Session-based pseudo-mapper |
| ▼CDB\Cursor | Simple cursor implementation |
| ▼CDB\Jig\Mapper | Flat-file DB mapper |
| CDB\Jig\Session | Jig-managed session handler |
| ▼CDB\Mongo\Mapper | MongoDB mapper |
| CDB\Mongo\Session | MongoDB-managed session handler |
| ▼CDB\SQL\Mapper | SQL data mapper |
| CDB\SQL\Session | SQL-managed session handler |
| CSMTP | SMTP plug-in |
| CWeb\OpenID | OpenID consumer |
| CAuth | Authorization/authentication plug-in |
| CF3 | Legacy mode enabler |
| CImage | Image manipulation tools |
| ▼CIteratorAggregate | |
| CDB\Cursor | Simple cursor implementation |
| CDB\Jig | In-memory/flat-file DB wrapper |
| CLog | Custom logger |
| CDB\Mongo | MongoDB wrapper |
| ▼CPrefab | Factory class for single-instance objects |
| CAudit | Data validator |
| CBase | Base structure |
| CBcrypt | Lightweight password hashing library |
| CCache | Cache engine |
| CISO | ISO language/country codes |
| CMarkdown | Markdown-to-HTML converter |
| CMatrix | Generic array utilities |
| CUTF | Unicode string manager |
| ▼CView | View handler |
| ▼CPreview | Lightweight template engine |
| CTemplate | XML-style template engine |
| CWeb | Wrapper for various HTTP utilities |
| CWeb\Geo | Geo plug-in |
| CWeb\Pingback | Pingback 1.0 protocol (client and server) implementation |
| CRegistry | Container for singular object instances |
| CSession | Cache-based session handler |
| CDB\SQL | PDO wrapper |
| CWeb\Google\StaticMap | Google Static Maps API v2 plug-in |
| CTest | Unit test kit |
|
- Fat-Free Framework
- 3.4.0
-
-
- |
-
A powerful yet easy-to-use PHP micro-framework designed to help you build dynamic and robust Web applications - fast!
-Condensed in a single ~50KB file, F3 (as we fondly call it) gives you solid foundation, a mature code base, and a no-nonsense approach to writing Web applications. Under the hood is an easy-to-use Web development tool kit, a high-performance URL routing and cache engine, built-in code highlighting, and support for multilingual applications. It's lightweight, easy-to-use, and fast. Most of all, it doesn't get in your way.
-Whether you're a novice or an expert PHP programmer, F3 will get you up and running in no time. No unnecessary and painstaking installation procedures. No complex configuration required. No convoluted directory structures. There's no better time to start developing Web applications the easy way than right now!
-F3 supports both SQL and NoSQL databases off-the-shelf: MySQL, SQLite, MSSQL/Sybase, PostgreSQL, DB2, and MongoDB. It also comes with powerful object-relational mappers for data abstraction and modeling that are just as lightweight as the framework. No configuration needed.
-Unlike other frameworks, F3 aims to be usable - not usual.
-The philosophy behind the framework and its approach to software architecture is towards minimalism in structural components, avoiding application complexity and striking a balance between code elegance, application performance and programmer productivity.
-| t |