Introduction   Getting Started   Upgrading   Function Reference   Changelog   Support and Feedback

search_cache_store

Usage: array search_cache_store (string searchfor[, bool exact])
Purpose: Lists all available cache stores.
Availability: IPB SDK 1.0

Searches the board's cache store for all values containng the term searchfor. If exact is set to 1, only exact matches will be returned. Results are returned in a multi-dimensional array similar to the following structure:

Array (
      [csite_fav_contents] => Array (
            [cs_key] => csite_fav_contents
            [cs_value] => <a href="http://www.ibplanet.com">IBPlanet0rz</a><br /><a href="http://www.com">IPB</a><br /><a href="http://www.tucows.com">Tucows</a>
            [cs_extra] =>
      )
      [ibplanet] => Array (
            [cs_key] => ibplanet
            [cs_value] => ibplanet rocks :)
            [cs_extra] =>
      )
)

// Get all cache stores containing the term "IBPlanet"
$results = $SDK->search_cache_store("IBPlanet");

// Get all cache stores with the exact value ""Foobar"
$results = $SDK->search_cache_store("Foobar", 1);



User Contributed Notes

There are currently no user contributed notes for this page.

Documentation Generated at Sat, 16 Apr 2005 07:36:35 -0700
Find the latest version at http://ipbsdk.sourceforge.net