|
7 | 7 | | |
8 | 8 | | These are core functions necessary to run the nano-framework: |
9 | 9 | | |
10 | | -| 1. url_path() - retrieves the URL path substring separated by '/' |
11 | | -| 2. route_rpc() - JSON-RPC v2.0 compatibility layer |
12 | | -| 3. route_auto() - automatic routing of URL path to Class and method |
13 | | -| 4. route_class() - routes URL path request to Controllers |
14 | | -| 5. view() - passes data and renders the View |
15 | | -| 6. pdo_conn() - PHP Data Objects (PDO) database connection |
16 | | -| 7. api_response() - handles API response |
17 | | -| 8. api_call() - handles API call |
18 | | -| 9. firewall() - web application firewall |
19 | | -| 10. force_ssl() - force application to use SSL |
20 | | -| 11. esc() - uses htmlspecialchars() to prevent XSS |
21 | | -| 12. csrf_token() - uses sessions to create per request CSRF token |
22 | | -| 13. encrypt() - encrypt data using AES-CBC-HMAC |
23 | | -| 14. decrypt() - decrypt data using AES-CBC-HMAC |
| 10 | +| 1. url_path() - retrieves the URL path substring separated by '/' |
| 11 | +| 2. route_rpc() - JSON-RPC v2.0 compatibility layer |
| 12 | +| 3. route_auto() - automatic routing of URL path to Class and method |
| 13 | +| 4. route_class() - routes URL path request to Controllers |
| 14 | +| 5. view() - passes data and renders the View |
| 15 | +| 6. pdo_conn() - PHP Data Objects (PDO) database connection |
| 16 | +| 7. api_response() - handles API response |
| 17 | +| 8. api_call() - handles API call |
| 18 | +| 9. firewall() - web application firewall |
| 19 | +| 10. force_ssl() - force application to use SSL |
| 20 | +| 11. esc() - uses htmlspecialchars() to prevent XSS |
| 21 | +| 12. csrf_token() - uses sessions to create per request CSRF token |
| 22 | +| 13. encrypt() - encrypt data using AES-CBC-HMAC |
| 23 | +| 14. decrypt() - decrypt data using AES-CBC-HMAC |
24 | 24 | | |
25 | 25 | */ |
26 | 26 |
|
|
0 commit comments