From 114ab0988e20ac6be39ad363ff897a1a3b85e565 Mon Sep 17 00:00:00 2001 From: Razican Date: Mon, 25 Apr 2011 17:26:45 +0200 Subject: Fixed double-space typo. --- user_guide/libraries/output.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'user_guide/libraries/output.html') diff --git a/user_guide/libraries/output.html b/user_guide/libraries/output.html index 4d1f8d97a..8846e15ff 100644 --- a/user_guide/libraries/output.html +++ b/user_guide/libraries/output.html @@ -58,7 +58,7 @@ Output Class

Output Class

-

The Output class is a small class with one main function: To send the finalized web page to the requesting browser. It is +

The Output class is a small class with one main function: To send the finalized web page to the requesting browser. It is also responsible for caching your web pages, if you use that feature.

Note: This class is initialized automatically by the system so there is no need to do it manually.

@@ -70,7 +70,7 @@ It is possible, however, for you to manually intervene with the output if you ne

$this->output->set_output();

-

Permits you to manually set the final output string. Usage example:

+

Permits you to manually set the final output string. Usage example:

$this->output->set_output($data); @@ -95,7 +95,7 @@ $this->output

$this->output->get_output();

-

Permits you to manually retrieve any output that has been sent for storage in the output class. Usage example:

+

Permits you to manually retrieve any output that has been sent for storage in the output class. Usage example:

$string = $this->output->get_output();

Note that data will only be retrievable from this function if it has been previously sent to the output class by one of the @@ -104,7 +104,7 @@ CodeIgniter functions like $this->load->view().

$this->output->append_output();

-

Appends data onto the output string. Usage example:

+

Appends data onto the output string. Usage example:

$this->output->append_output($data); @@ -112,7 +112,7 @@ CodeIgniter functions like $this->load->view().

$this->output->set_header();

-

Permits you to manually set server headers, which the output class will send for you when outputting the final rendered display. Example:

+

Permits you to manually set server headers, which the output class will send for you when outputting the final rendered display. Example:

$this->output->set_header("HTTP/1.0 200 OK");
@@ -125,10 +125,10 @@ $this->output->set_header("Pragma: no-cache");

$this->output->set_status_header(code, 'text');

-

Permits you to manually set a server status header. Example:

+

Permits you to manually set a server status header. Example:

$this->output->set_status_header('401');
-// Sets the header as: Unauthorized
+// Sets the header as: Unauthorized

See here for a full list of headers.

@@ -147,14 +147,14 @@ at the bottom of your pages for debugging and optimization purposes.

$this->output->set_profiler_sections();

-

Permits you to enable/disable specific sections of the Profiler when enabled. Please refer to the Profiler documentation for further information.

+

Permits you to enable/disable specific sections of the Profiler when enabled. Please refer to the Profiler documentation for further information.

$this->output->cache();

-

The CodeIgniter output library also controls caching. For more information, please see the caching documentation.

+

The CodeIgniter output library also controls caching. For more information, please see the caching documentation.

Parsing Execution Variables

-

CodeIgniter will parse the pseudo-variables {elapsed_time} and {memory_usage} in your output by default. To disable this, set the $parse_exec_vars class property to FALSE in your controller. +

CodeIgniter will parse the pseudo-variables {elapsed_time} and {memory_usage} in your output by default. To disable this, set the $parse_exec_vars class property to FALSE in your controller. $this->output->parse_exec_vars = FALSE; -- cgit v1.2.3-24-g4f1b