root/branches/99-toolbar/code/site/components/com_default/controllers/default.php

23102530
20
class ComDefaultControllerDefault extends KControllerView
20
class ComDefaultControllerDefault extends KControllerView
21
{
21
{
22
	/**
22
	/**
23
	 * Set the request information
24
	 * 
25
	 * This function translates 'limitstart' to 'offset' for compatibility with Joomla
26
	 *
27
	 * @param array	An associative array of request information
28
	 * @return KControllerBread
29
	 */
30
	public function setRequest(array $request = array())
31
	{
32
		if(isset($request['limitstart'])) {
33
			$request['offset'] = $request['limitstart'];
34
		}
35
		
36
		$this->_request = new KConfig($request);
37
		return $this;
38
	}
39
	
40
	/**
23
	 * Browse a list of items
41
	 * Browse a list of items
24
	 *
42
	 *
25
	 * @return void
43
	 * @return void