/** * Start buffering output. */ public static function startBuffer() { if (!self::$_bufferLevel) { self::$_contentSent = self::contentSent(); } ++self::$_bufferLevel; ob_start(); }