Sorry for continuing to pre-solve my own goofups, but I did it again! 🙂
What I had to do was to take the contents of SearchHandler::displayInternsListHTML() and SearchHandler::displayContactsListHTML() and move them into a new class, ListView, which happens to now be an object property of SearchHandler, so I wind up doing this:
if (method_exists($this->searchHandler, 'display' . ucfirst($section) . 'ListHTML'))
eval('$html .= $this->searchHandler->display'. ucfirst($section) . 'ListHTML($result, \'\', \'isFromSearchPerformer\');');
class SearchHandler extends MethodGeneratorForActionPerformer {
function displayInternsListHTML($result, $willShowAllInfo, $isFromSearchPerformer) {
return $this->list->displayInternsListHTML($result, $willShowAllInfo, $isFromSearchPerformer, $this);
}
}
class ListView extends PagOptionsView {
function &displayInternsListHTML($result, $willShowAllInfo, $isFromSearchPerformer, $searchHandlerObj) {
// DO STUFF
}
}
You're an amazing creature if you could keep up with that.
Phil