public function setPage($number) {

		$number = (int)$number;
		
		$this->page = $number;

		// the cookie about persistent state
		$cookieName = Application::getCookiePrefix() . ucfirst($this->module) . ucfirst($this->action);
		
		// set the persistent state
		setcookie($cookieName, $number, NULL, '/');
		
	}
public function setPage($number) {

		$number = (int)$number;
		
		$this->page = $number;

		// the cookie about persistent state
		$cookieName = Application::getCookiePrefix() . ucfirst($this->module) . ucfirst($this->action);
		
		// set the persistent state
		setcookie($cookieName, $number, NULL, '/');
		
	}
public function setPage ( $ number ) { $ number = ( int ) $ number ; $ this -> page = $ number ; // the cookie about persistent state $ cookieName = Application :: getCookiePrefix ( ) . ucfirst ( $ this -> module ) . ucfirst ( $ this -> action ) ; // set the persistent state setcookie ( $ cookieName , $ number , NULL , '/' ) ; }
Set a persistent state as current pagination index.

@param	int		Page number.
Set a persistent state as current pagination index .