Hello,
I'm a new user of fabrik.
I try to get to create my own visalization plugin.
In my function here, I want to get all records in the variable alldata,
in fact I get only the first 5 , 10 lines according the pagination.
How can I get by code alldatas ?
Here my function,
I'm a new user of fabrik.
I try to get to create my own visalization plugin.
In my function here, I want to get all records in the variable alldata,
in fact I get only the first 5 , 10 lines according the pagination.
How can I get by code alldatas ?
Here my function,
PHP:
private function getTableDataPays()
{
if (!isset($this->tableDataPays))
{
$tmodels = array();
$params = $this->getParams();
$lid = $params->get('programme_pays_table');
$listModel = null;
$listModel = JModel::getInstance('List', 'FabrikFEModel');
$listModel->setId($lid);
$list = $listModel->getTable();
$form = $listModel->getForm();
$listModel->unsetPluginQueryWhere('programme');
$listModel->setLimits();
$listModel->getPagination(0, 0, 0);
$listModel->render();
$alldata = $listModel->getData();
$cals = $listModel->getCalculations();
echo 'RecordCount : ' . count($alldata) . '<br>' ;
}
return $alldata;
}