Answer the question
In order to leave comments, you need to log in
How to organize a search by multiple parameters TV modx revolution?
How to organize a search by multiple parameters TV modx revolution?
Answer the question
In order to leave comments, you need to log in
Snippet using xPDO
$res = $modx->getObject('modResource', 1);
$tvs = $res->getMany('TemplateVarResources');
foreach ($tvs as $k => $tv) {
$tvs[$k] = $tv->toArray();
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question