public function ExportData::setPage in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/ExportData.php \AKlump\LoftDataGrids\ExportData::setPage()
Set the current page
It's possible to store multiple pages or grids in one object, use this to designate the current page to write data to.
Parameters
mixed $page_id:
Return value
$this
Overrides ExportDataInterface::setPage
3 calls to ExportData::setPage()
- ExportData::__construct in vendor/
aklump/ loft_data_grids/ src/ AKlump/ LoftDataGrids/ ExportData.php - Constructor
- ScheduleData::addStatsPage in vendor/
aklump/ loft_data_grids/ src/ AKlump/ LoftDataGrids/ ScheduleData.php - ScheduleData::setDatePage in vendor/
aklump/ loft_data_grids/ src/ AKlump/ LoftDataGrids/ ScheduleData.php - Set a page based on a datetime object.
File
- vendor/
aklump/ loft_data_grids/ src/ AKlump/ LoftDataGrids/ ExportData.php, line 217
Class
Namespace
AKlump\LoftDataGridsCode
public function setPage($page_id) {
$this->current_page = $page_id;
return $this;
}