<?php namespace App; Response::done(array('footer' => CoreUtils::getFooterGitInfo()));
/** * Respond to paginated result requests * * @param string $output The HTML of the paginated content * @param string $update The CSS selector specifying which element to place $output in */ function respond($output, $update) { $RQURI = rtrim(preg_replace(new RegExp('js=true(?:&|$)'), '', $_SERVER['REQUEST_URI']), '?'); Response::done(array('output' => $output, 'update' => $update, 'pagination' => $this->HTML, 'page' => $this->page, 'request_uri' => $RQURI)); }