public function resetPage() {
		
		$this->page = 1;

		// the cookie about persistent state
		$cookieName = Application::getCookiePrefix() . ucfirst($this->module) . ucfirst($this->action);
		
		// unset the persistent state
		if (isset($_COOKIE[$cookieName])) {
			unset($_COOKIE[$cookieName]);
			setcookie($cookieName, '', -1, '/');
		}
		
	}
public function resetPage() {
		
		$this->page = 1;

		// the cookie about persistent state
		$cookieName = Application::getCookiePrefix() . ucfirst($this->module) . ucfirst($this->action);
		
		// unset the persistent state
		if (isset($_COOKIE[$cookieName])) {
			unset($_COOKIE[$cookieName]);
			setcookie($cookieName, '', -1, '/');
		}
		
	}
public function resetPage ( ) { $ this -> page = 1 ; // the cookie about persistent state $ cookieName = Application :: getCookiePrefix ( ) . ucfirst ( $ this -> module ) . ucfirst ( $ this -> action ) ; // unset the persistent state if ( isset ( $ _COOKIE [ $ cookieName ] ) ) { unset ( $ _COOKIE [ $ cookieName ] ) ; setcookie ( $ cookieName , '' , - 1 , '/' ) ; } }
Reset page number to 1.
Reset page number to 1 .