why this don't work?
function getResults() {
$iPageLength = 5;
$dos = DataObject::get('Problema');
$dos->setPageLength($iPageLength);
//echo $dos->TotalPages();
$i=5;
$dos->getRange($i*$iPageLength,$iPageLength);
}
this code place in dataobjectmanager... i need a controler? in my dataobjectmanager?