From 114ab0988e20ac6be39ad363ff897a1a3b85e565 Mon Sep 17 00:00:00 2001
From: Razican 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. Permits you to manually set the final output string. Usage example: Permits you to manually set the final output string. Usage example: 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: 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(). Appends data onto the output string. Usage example: Appends data onto the output string. Usage example:Output Class
-$this->output->set_output();
-$this->output->set_output($data);
@@ -95,7 +95,7 @@ $this->output
$this->output->get_output();
-$string = $this->output->get_output();
$this->output->append_output();
-$this->output->append_output($data);
@@ -112,7 +112,7 @@ CodeIgniter functions like $this->load->view().
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");
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.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.
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.
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.
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. Permits you to manually set the final output string. Usage example: Permits you to manually set the final output string. Usage example: 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: 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(). Appends data onto the output string. Usage example: Appends data onto the output string. Usage example:$this->output->parse_exec_vars = FALSE;
--
cgit v1.2.3-24-g4f1b
From 4b9c62980599228f070b401c7673dce8085b0c61 Mon Sep 17 00:00:00 2001
From: Derek Jones Output Class
-$this->output->set_output();
-$this->output->set_output($data);
@@ -95,7 +95,7 @@ $this->output
$this->output->get_output();
-$string = $this->output->get_output();
$this->output->append_output();
-$this->output->append_output($data);
@@ -112,7 +112,7 @@ CodeIgniter functions like $this->load->view().
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");
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.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.
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.
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