Broadcast on Broadcast off
The Documentation for Project Zero has moved. Please update your bookmarks to: http://www.projectzero.org/documentation/
Table of
Contents...
Hide
 

Additional PHP functions

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 sections of this article provide information about functions that are typically specific to or related to Project Zero application development.

Developing a Project Zero application

These functions require the following extension declaration in the config/php.ini:
extension = zero.php.ZeroExtension
DOCROOT Zero specific
cond_get Zero specific
fire_event Zero specific
getVFile Zero specific
listFiles Zero specific
render_view Zero specific
zcontains Zero specific
zdelete Zero specific
zdump Zero specific
zget Zero specific
zlist Zero specific
zlist_all Zero specific
zpost Zero specific
zput Zero specific

Using Project Zero Active Content Filtering (ACF) programmatically

These functions require the following extension declaration in the config/php.ini:
extension = zero.php.ACFExtension
acf_process Project Zero security
acf_process_stream Project Zero security
acf_validate Project Zero security
acf_validate_stream Project Zero security

Using Project Zero Cross Site Request Forgery (CSRF) programmatically

These functions require the following extension declaration in the config/php.ini:
extension = zero.php.CSRFExtension
csrf_protected_form_field Project Zero security
csrf_protected_uri Project Zero security

Using Project Zero security programmatically

These functions require the following extension declaration in the config/php.ini:
extension = zero.php.LoginServiceExtension
login Project Zero security
logout Project Zero security

Working with HTTP resources

These functions require the following extension declaration in the config/php.ini:
extension = zero.php.ConnectionExtension
connection_get HTTP requests
connection_post HTTP requests

Working with HTTP response headers

These functions require the following extension declaration in the config/php.ini:
extension = zero.php.NetworkExtension
header HTTP response headers
headers_list HTTP response headers
headers_sent HTTP response headers
setcookie HTTP response headers
setrawcookie HTTP response headers

Working with JSON data

These functions require the following extension declaration in the config/php.ini:
extension = zero.php.JSONExtension
json_decode JSON
json_encode JSON

Working with XML

These functions require the following extension declaration in the config/php.ini:
extension = zero.php.XMLExtension
xml_decode XML
xml_encode XML

Working with data access

These functions require the following extension declaration in the config/php.ini:
extension = zero.data.php.QueryExtension
dataBeginTransaction Data access
dataBlobGetBytes Data access
dataBlobLength Data access
dataBlobSetBytes Data access
dataClobGetString Data access
dataClobLength Data access
dataCommitTransaction Data access
dataExec Data access
dataExecOpt Data access
dataInsert Data access
dataIteratorHasNext Data access
dataIteratorNext Data access
dataIteratorRemove Data access
dataLastError Data access
dataManager Data access
dataNewResultHandler Data access
dataQuery Data access
dataQueryArray Data access
dataQueryArrayByFactory Data access
dataQueryFirst Data access
dataQueryFirstByFactory Data access
dataQueryIterator Data access
dataQueryIteratorByFactory Data access
dataQueryResults Data access
dataResultSetAbsolute Data access
dataResultSetClose Data access
dataResultSetGetColumnCount Data access
dataResultSetGetColumnName Data access
dataResultSetGetObject Data access
dataResultSetGetRow Data access
dataResultSetNext Data access
dataResultSetPrevious Data access
dataRollbackTransaction Data access
dataSource Data access
dataStringAsByteArray Data access
dataTransaction Data access
dataUpdate Data access
dataUpdateMany Data access

r32 - 05 Feb 2008 - 03:08:48 - zerodocgen
Syndicate this site RSS ATOM
Copyright 2007 © IBM Corporation | Privacy | Terms of Use | About this site