Files
wordpress-preseed/wp-content/plugins/all-in-one-event-calendar/lib/http/response/render/abstract.php
Adrian Nöthlich 290736650a Add upstream plugins
Signed-off-by: Adrian Nöthlich <git@promasu.tech>
2019-10-25 22:42:20 +02:00

36 lines
743 B
PHP

<?php
/**
* Abstract strategy class to render the Request.
*
* @author Time.ly Network Inc.
* @since 2.0
*
* @package AI1EC
* @subpackage AI1EC.Http.Response.Render
*/
abstract class Ai1ec_Http_Response_Render_Strategy extends Ai1ec_Base {
/**
* Dump output buffers before starting output
*
* @return bool True unless an error occurs
*/
protected function _dump_buffers() {
$this->_registry->get( 'dbi.dbi' )->disable_debug();
return $this
->_registry
->get( 'compatibility.ob' )
->end_clean_all();
}
/**
* Render the output.
*
* @param array $params
*/
abstract public function render( array $params );
}