Inheritances
Files
Overview
FRAMES
NO FRAMES

Class Zend_InfoCard_Adapter_Default

The default InfoCard component Adapter which serves as a pass-thru placeholder
for developers. Initially developed to provide a callback mechanism to store and retrieve
assertions as part of the validation process it can be used anytime callback facilities
are necessary
CategoryZend
PackageZend_InfoCard
SubpackageZend_InfoCard_Adapter
CopyrightCopyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
Licensehttp://framework.zend.com/license/new-bsd New BSD License

Summary

Instance methods
+ removeAssertion() Remove an assertion (pass-thru does nothing)
+ retrieveAssertion() Retrieve an assertion (pass-thru does nothing)
+ storeAssertion() Store the assertion (pass-thru does nothing)

Details

Instance methods

removeAssertion()
public function removeAssertion( $assertionURI
$assertionID
)
Remove an assertion (pass-thru does nothing)
Parameters
string $assertionURI The assertion type URI
string $assertionID The assertion ID to remove
Returns bool Always returns true (false on removal failure)
retrieveAssertion()
public function retrieveAssertion( $assertionURI
$assertionID
)
Retrieve an assertion (pass-thru does nothing)
Parameters
string $assertionURI The assertion type URI
string $assertionID The assertion ID to retrieve
Returns mixed False if the assertion ID was not found for that URI, or an array of
conditions associated with that assertion if found (always returns false)
storeAssertion()
public function storeAssertion( $assertionURI
$assertionID
$conditions
)
Store the assertion (pass-thru does nothing)
Parameters
string $assertionURI The assertion type URI
string $assertionID The specific assertion ID
array $conditions An array of claims to store associated with the assertion
Returns bool Always returns true (would return false on store failure)