PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

OAuth::setCAPath

(PECL OAuth >= 0.99.8)

OAuth::setCAPathSet CA path and info

Description

public mixed OAuth::setCAPath ([ string $ca_path [, string $ca_info ]] )

Sets the Certificate Authority (CA), both for path and info.

Warning

This function is currently not documented; only its argument list is available.

Parameters

ca_path

The CA Path being set.

ca_info

The CA Info being set.

Return Values

Returns TRUE on success, or FALSE if either ca_path or ca_info are considered invalid.

Changelog

Version Description
1.0.0 Previously returned NULL on failure, instead of FALSE.

See Also

PHP Manual