/** * Sets the page number reading it from the data source * @return P4A_Table */ public function syncPageWithSource() { $this->setCurrentPageNumber($this->data->getNumPage()); return $this; }