Construct

<?php
require_once('Services/CamelotHerald.php');

$cacheDir = '/tmp/';
$lifeTime = 10800;

$herald = new Services_CamelotHerald($cacheDir, $lifeTime);

?>

Set cache directory, cache life-time (default is not use cache) and create class obj.

Services_CamelotHerald use cache in the case of find method, not use search.



Add comment