PDO搜索脚本不显示模板系统的结果

I'm a bit new to PHP so this has got me a bit confused. I assume it's not an error within the code but rather the code logic.

There are two template files at use here:

Search - Which displays the search page. search_item - Which is formatting for the returned results of the search.

I have dumped the execution of the query and it is returning true so this leads me to believe the query is successful and has received data from the form.

Below is the function for the Search.php page. (Displayed in the url as index.php?action=search from the controller)

public function handleAction() {

    global $user, $config;

    $database = Database::getDatabase();
    $driver = $database->getDriver();
    $search = $_POST['keywords'];
    $stmt = $driver->prepare('SELECT * FROM clansoc_clans WHERE clan_name LIKE :keywords');
    $stmt->bindValue(':keywords', '%' . $search . '%');
    $stmt->execute();

    $results = array();

    while($row = $stmt->fetch(PDO::FETCH_ASSOC)) {

        $results[] = array(
            'id' => $row['id'],
            'clan_name' => htmlspecialchars($row['clan_name'], ENT_QUOTES),
            'short_desc' => htmlspecialchars($row['clan_short_desc'], ENT_QUOTES),
            'clan_avatar' => $row['clan_avatar']
        );

    }

    $results_list_registry = new ViewRegistry();
    $results_list = new View('Results List', $results_list_registry, false);
    $results_list_contents = "";
    //$i = $offset;

    foreach($results as $result) {

        $results_list_result_registry = new ViewRegistry();
        $this->view->getViewRegistry()->setVariable('id', $result['id']);
        $this->view->getViewRegistry()->setVariable('name', $result['clan_name']);
        $this->view->getViewRegistry()->setVariable('desc', $result['short_desc']);
        $this->view->getViewRegistry()->setVariable('avatar', $result['clan_avatar']);
        $results_list_result = new View('Results List Result', $results_list_result_registry);
        $results_list_result->setView('search_item');
        $results_list_contents .= $results_list_result->export(false);
    }

    $results_list->setView($results_list_contents);
    $this->view->getViewRegistry()->setVariable('results', $results_list);

}

My question in simpler terms:

Why is the script not displaying the results of the query?