public function emitHTML($operation, $page, $preload) { if (isset($_REQUEST["value"]) && $preload == PRELOAD) { $where_values = array($this->entity->fields[0]->name => $_REQUEST['value']); $this->entity->retrieveAndLink($where_values); } return parent::emitHTML($operation, $page, $preload); }