Hi, everyone ! I try to comebine 2 data sets into one paginator. For example:
$result1 = modelName1::find();
$result2 = modelName2::find();
$result = $result1 + $result2;
$paginator = new Phalcon\Paginator\Adapter\Model(array( "data" => $result, "limit" => 12, "page" => $numberPage ));
Could anyone help me to do that? Thank you very much !