Example #1
0
<?php

namespace App;

Response::done(array('footer' => CoreUtils::getFooterGitInfo()));
Example #2
0
 /**
  * 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));
 }