Location: PHPKode > scripts > Calendar Solution > convissor-calendar_solution-ff69243/calendar/benchmark/title-limit10.php
<html>
<head>
<title>Calendar Solution Benchmark: Title, Page 1, Limit 10</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>

<?php

/**
 * Script for benchmarking Title List, Page 1, Limit 10
 *
 * @package CalendarSolution_Test
 */

/**
 * Obtain the Calendar Solution's settings and autoload function
 *
 * @internal Uses dirname(__FILE__) because "./" can be stripped by PHP's
 * safety settings and __DIR__ was introduced in PHP 5.3.
 */
require dirname(__FILE__) . '/../../include/calendar_solution_settings.php';

try {
	$calendar = new CalendarSolution_List_Title;
	$calendar->set_from('2011-02-01');
	$calendar->set_to('2011-02-28');
	$calendar->set_page_id(1);
	$calendar->set_limit(10, false);
	echo $calendar->get_rendering();
} catch (Exception $e) {
	die('EXCEPTION: ' . $e->getMessage());
}


?>

</body>
</html>
Return current item: Calendar Solution