There are additional functions available to PHP developers through extensions that can be specified in the php.ini file. These functions are categorized by the extension that provides the function. The following reference tables show the defined paths to available attributes in the global context zones.
These functions require the following extension declaration in the config/php.ini:
extension = zero.php.ACFExtension
| acf_process | Security |
| acf_process_stream | Security |
| acf_validate | Security |
| acf_validate_stream | Security |
These functions require the following extension declaration in the config/php.ini:
extension = zero.php.CSRFExtension
| csrf_protected_form_field | Security |
| csrf_protected_uri | Security |
These functions require the following extension declaration in the config/php.ini:
extension = zero.php.ConnectionExtension
| connection_get | HTTP requests |
| connection_post | HTTP requests |
These functions require the following extension declaration in the config/php.ini:
extension = zero.php.LoginServiceExtension
| zero_login | Security |
| zero_logout | Security |
These functions require the following extension declaration in the config/php.ini:
extension = zero.data.php.QueryExtension
These functions require the following extension declaration in the config/php.ini:
extension = zero.php.URIUtilsExtension
| get_absolute_uri | WebSphere sMash specific |
| get_relative_uri | WebSphere sMash specific |
| get_requested_uri | WebSphere sMash specific |
These functions require the following extension declaration in the config/php.ini:
extension = zero.php.XMLExtension
| xml_decode | XML |
| xml_encode | XML |
These functions require the following extension declaration in the config/php.ini:
extension = zero.php.ZeroExtension
| DOCROOT | WebSphere sMash specific |
| fire_event | WebSphere sMash specific |
| getVFile | WebSphere sMash specific |
| listFiles | WebSphere sMash specific |
| render_view | WebSphere sMash specific |
| zcontains | WebSphere sMash specific |
| zdelete | WebSphere sMash specific |
| zdump | WebSphere sMash specific |
| zget | WebSphere sMash specific |
| zlist | WebSphere sMash specific |
| zlist_all | WebSphere sMash specific |
| zpost | WebSphere sMash specific |
| zput | WebSphere sMash specific |
These functions require the following extension declaration in the config/php.ini:
extension = com.ibm.p8.engine.xapi.groovy.GroovyExtensionLibrary
| groovy_create_closure | WebSphere sMash specific |
| groovy_eval | WebSphere sMash specific |
| groovy_import | WebSphere sMash specific |
| java_import | WebSphere sMash specific |
These functions require the following extension declaration in the config/php.ini:
extension = zero.php.JSONExtension
| json_decode | Working with RESTful services |
| json_encode | Working with RESTful services |