From c644128fdd49a47d791240e0e38b54cd22412bc5 Mon Sep 17 00:00:00 2001
From: Derek Allard
The Benchmark class can be used within your controllers, views, or your Models. The process for usage is this: +
The Benchmark class can be used within your controllers, views, or your Models. The process for usage is this:
+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
diff --git a/user_guide/libraries/calendar.html b/user_guide/libraries/calendar.html index c9779081f..01b90fbd0 100644 --- a/user_guide/libraries/calendar.html +++ b/user_guide/libraries/calendar.html @@ -246,7 +246,7 @@ Previous Topic: Benchmarking Class Top of Page · User Guide Home · Next Topic: Config Class -+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
diff --git a/user_guide/libraries/config.html b/user_guide/libraries/config.html index 350831e0d..5ab85cc14 100644 --- a/user_guide/libraries/config.html +++ b/user_guide/libraries/config.html @@ -99,7 +99,7 @@ so you will only need to load a config file if you have created your own.If you need to load multiple config files normally they will be merged into one master config array. Name collisions can occur, however, if you have identically named array indexes in different config files. To avoid collisions you can set the second parameter to TRUE -and each config file will be stored in an array index corresponding to the name of the config file. Example: +and each config file will be stored in an array index corresponding to the name of the config file. Example:
// Stored in an array with this prototype: $this->config['blog_settings'] = $config
@@ -111,10 +111,8 @@ $this->config->load('blog_settings', TRUE);
$this->config->load('blog_settings', FALSE, TRUE);
-
-
-If you find that you need a particular config file globally, you can have it loaded automatically by the system. To do this, open the autoload.php file, located at application/config/autoload.php, and add your config file as @@ -136,7 +134,7 @@ indicated in the file.
The function returns FALSE (boolean) if the item you are trying to fetch does not exist.
If you are using the second parameter of the $this->config->load function in order to assign your config items to a specific index -you can retrieve it by specifying the index name in the second parameter of the $this->config->item() function. Example: +you can retrieve it by specifying the index name in the second parameter of the $this->config->item() function. Example:
// Loads a config file named blog_settings.php and assigns it to an index named "blog_settings"
@@ -180,7 +178,7 @@ Previous Topic: Calendaring Class
Top of Page ·
User Guide Home ·
Next Topic: Database Class
-
+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
diff --git a/user_guide/libraries/email.html b/user_guide/libraries/email.html
index 190dadbdb..cd163c63d 100644
--- a/user_guide/libraries/email.html
+++ b/user_guide/libraries/email.html
@@ -271,7 +271,7 @@ $this->email->send();
If you have word wrapping enabled (recommended to comply with RFC 822) and you have a very long link in your email it can get wrapped too, causing it to become un-clickable by the person receiving it. CodeIgniter lets you manually override -word wrapping within part of your message like this: +word wrapping within part of your message like this:
The text of your email that
gets wrapped normally.
@@ -281,7 +281,7 @@ gets wrapped normally.
More text that will be
wrapped normally.
-Place the item you do not want word-wrapped between: {unwrap} {/unwrap} +
Place the item you do not want word-wrapped between: {unwrap} {/unwrap}
@@ -295,7 +295,7 @@ Previous Topic: Database Class Top of Page · User Guide Home · Next Topic: Encryption Class -+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
diff --git a/user_guide/libraries/encryption.html b/user_guide/libraries/encryption.html index e3a9762b5..c197dc5de 100644 --- a/user_guide/libraries/encryption.html +++ b/user_guide/libraries/encryption.html @@ -140,7 +140,7 @@ $plaintext_string = $this->encrypt->decode($encrypted_string);Permits you to set an Mcrypt cipher. By default it uses MCRYPT_RIJNDAEL_256. Example: +
Permits you to set an Mcrypt cipher. By default it uses MCRYPT_RIJNDAEL_256. Example:
$this->encrypt->set_cipher(MCRYPT_BLOWFISH);
Please visit php.net for a list of available ciphers.
@@ -150,7 +150,7 @@ $plaintext_string = $this->encrypt->decode($encrypted_string);Permits you to set an Mcrypt mode. By default it uses MCRYPT_MODE_ECB. Example: +
Permits you to set an Mcrypt mode. By default it uses MCRYPT_MODE_ECB. Example:
$this->encrypt->set_mode(MCRYPT_MODE_CFB);
Please visit php.net for a list of available modes.
@@ -179,7 +179,7 @@ Previous Topic: Email Class Top of Page · User Guide Home · Next Topic: File Uploading Class -+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
diff --git a/user_guide/libraries/file_uploading.html b/user_guide/libraries/file_uploading.html index 21fd2a6ba..d9a993a74 100644 --- a/user_guide/libraries/file_uploading.html +++ b/user_guide/libraries/file_uploading.html @@ -89,26 +89,27 @@ preferences, restricting the type and size of the files. folder: -You'll notice we are using a form helper to create the opening form tag. File uploads require a multipart form, so the helper creates the proper syntax for you. You'll also notice we have an $error variable. This is so we can show error messages in the event @@ -120,24 +121,24 @@ the user does something wrong.
Using a text editor, create a form called upload_success.php. In it, place this code and save it to your applications/views/ folder:
-=anchor('upload', 'Upload Another File!'); ?>
+<p><?=anchor('upload', 'Upload Another File!'); ?></p> - -+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
diff --git a/user_guide/libraries/ftp.html b/user_guide/libraries/ftp.html index 9db0021a7..c9d1888ad 100644 --- a/user_guide/libraries/ftp.html +++ b/user_guide/libraries/ftp.html @@ -300,7 +300,7 @@ Previous Topic: File Uploading ClassTop of Page · User Guide Home · Next Topic: HTML Table Class -+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
diff --git a/user_guide/libraries/image_lib.html b/user_guide/libraries/image_lib.html index 04bd46f8c..d3fbe27a4 100644 --- a/user_guide/libraries/image_lib.html +++ b/user_guide/libraries/image_lib.html @@ -288,14 +288,14 @@ preferences have no effect on cropping. The "availability" column indicates whi+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
diff --git a/user_guide/libraries/input.html b/user_guide/libraries/input.html index f810029ab..b6747135c 100644 --- a/user_guide/libraries/input.html +++ b/user_guide/libraries/input.html @@ -108,7 +108,7 @@ Note: This function should only be used to deal with data upon submission. It's$data = $this->input->xss_clean($data);
If you want the filter to run automatically every time it encounters POST or COOKIE data you can enable it by opening your -application/config/config.php file and setting this: +application/config/config.php file and setting this:
$config['global_xss_filtering'] = TRUE;
@@ -122,7 +122,7 @@ Note: This function should only be used to deal with data upon submission. It's
CodeIgniter comes with three helper functions that let you fetch POST, COOKIE or SERVER items. The main advantage of using the provided functions rather then fetching an item directly ($_POST['something']) is that the functions will check to see if the item is set and return false (boolean) if not. This lets you conveniently use data without having to test whether an item exists first. -In other words, normally you might do something like this: +In other words, normally you might do something like this:
if ( ! isset($_POST['something']))
@@ -211,7 +211,7 @@ Previous Topic: Image Manipulation Class
Top of Page ·
User Guide Home ·
Next Topic: Loader Class
-
+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
diff --git a/user_guide/libraries/language.html b/user_guide/libraries/language.html
index 71dc0b976..6a74cc963 100644
--- a/user_guide/libraries/language.html
+++ b/user_guide/libraries/language.html
@@ -132,7 +132,7 @@ Previous Topic: Loader Class
Top of Page ·
User Guide Home ·
Next Topic: Output Class
-
+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
diff --git a/user_guide/libraries/loader.html b/user_guide/libraries/loader.html
index 98bfd1b07..4b4ec4ceb 100644
--- a/user_guide/libraries/loader.html
+++ b/user_guide/libraries/loader.html
@@ -85,7 +85,7 @@ Note: We use the terms "class" and "library" interchangeably.
Each library is described in detail in its own page, so please read the information regarding each one you would like to use.
-Parameters can be passed to the library via an array in the second parameter.
+
Parameters can be passed to the library via an array in the second parameter.
$this->load->view('file_name', $data, true/false)
@@ -164,7 +164,7 @@ Previous Topic: Input Class
Top of Page ·
User Guide Home ·
Next Topic: Language Class
-
+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
diff --git a/user_guide/libraries/output.html b/user_guide/libraries/output.html
index 40858751e..10d59026b 100644
--- a/user_guide/libraries/output.html
+++ b/user_guide/libraries/output.html
@@ -75,7 +75,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);
@@ -85,7 +85,7 @@ For example, if you build a page in one of your controller functions, don't set
$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
@@ -94,7 +94,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");
@@ -131,7 +131,7 @@ Previous Topic: Language Class
Top of Page ·
User Guide Home ·
Next Topic: Pagination Class
-
+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
diff --git a/user_guide/libraries/pagination.html b/user_guide/libraries/pagination.html
index fafeb6cfc..edb112d35 100644
--- a/user_guide/libraries/pagination.html
+++ b/user_guide/libraries/pagination.html
@@ -99,7 +99,7 @@ minimum you need the three shown. Here is a description of what those items rep
- per_page The number of items you intend to show per page. In the above example, you would be showing 20 items per page.
-The create_links() function returns an empty string when there is no pagination to show.
+
The create_links() function returns an empty string when there is no pagination to show.
Setting preferences in a config file
@@ -210,7 +210,7 @@ Previous Topic: Output Class
Top of Page ·
User Guide Home ·
Next Topic: Session Class
-
+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
diff --git a/user_guide/libraries/parser.html b/user_guide/libraries/parser.html
index 24bb89ffc..e7b7add11 100644
--- a/user_guide/libraries/parser.html
+++ b/user_guide/libraries/parser.html
@@ -207,7 +207,7 @@ Previous Topic: Trackback Class
Top of Page ·
User Guide Home ·
Next Topic: Unit Testing Class
-
+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
diff --git a/user_guide/libraries/sessions.html b/user_guide/libraries/sessions.html
index 5a3c4ae21..30e26263f 100644
--- a/user_guide/libraries/sessions.html
+++ b/user_guide/libraries/sessions.html
@@ -286,7 +286,7 @@ Previous Topic: Pagination Class
Top of Page ·
User Guide Home ·
Next Topic: Trackback Class
-
+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
diff --git a/user_guide/libraries/table.html b/user_guide/libraries/table.html
index 28fc76d27..330a3da20 100644
--- a/user_guide/libraries/table.html
+++ b/user_guide/libraries/table.html
@@ -119,7 +119,7 @@ $this->table->add_row('John', 'Green', 'Medium');
echo $this->table->generate();
-Here is the same example, except instead of individual parameters, arrays are used:
+
Here is the same example, except instead of individual parameters, arrays are used:
$this->load->library('table');
@@ -289,7 +289,7 @@ Previous Topic: FTP Class &mi
Top of Page ·
User Guide Home ·
Next Topic: Image Manipulation Class
-
+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
diff --git a/user_guide/libraries/trackback.html b/user_guide/libraries/trackback.html
index c54417c86..3dfb20375 100644
--- a/user_guide/libraries/trackback.html
+++ b/user_guide/libraries/trackback.html
@@ -78,7 +78,7 @@ Trackback Class
Sending Trackbacks
-A Trackback can be sent from any of your controller functions using code similar to this example:
+
A Trackback can be sent from any of your controller functions using code similar to this example:
$this->load->library('trackback');
@@ -243,7 +243,7 @@ Previous Topic: Session Class
Top of Page ·
User Guide Home ·
Next Topic: Template Parser Class
-
+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
diff --git a/user_guide/libraries/unit_testing.html b/user_guide/libraries/unit_testing.html
index bdd64d04b..568bf6c6a 100644
--- a/user_guide/libraries/unit_testing.html
+++ b/user_guide/libraries/unit_testing.html
@@ -202,7 +202,7 @@ Previous Topic: Template Parser Class
Top of Page ·
User Guide Home ·
Next Topic: URI Class
-
+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
diff --git a/user_guide/libraries/uri.html b/user_guide/libraries/uri.html
index ec7770570..7efca6dd1 100644
--- a/user_guide/libraries/uri.html
+++ b/user_guide/libraries/uri.html
@@ -105,7 +105,7 @@ else
$this->uri->rsegment(n)
This function is identical to the previous one, except that it lets you retrieve a specific segment from your
-re-routed URI in the event you are using CodeIgniter's URI Routing feature.
+re-routed URI in the event you are using CodeIgniter's URI Routing feature.
$this->uri->slash_segment(n)
@@ -129,7 +129,7 @@ $this->uri->slash_segment(3, 'both');
$this->uri->slash_rsegment(n)
This function is identical to the previous one, except that it lets you add slashes a specific segment from your
-re-routed URI in the event you are using CodeIgniter's URI Routing feature.
+re-routed URI in the event you are using CodeIgniter's URI Routing feature.
@@ -173,8 +173,7 @@ $array = $this->uri->uri_to_assoc(3, $default);
$this->uri->ruri_to_assoc(n)
This function is identical to the previous one, except that it creates an associative array using the
-re-routed URI in the event you are using CodeIgniter's URI Routing feature.
-
+re-routed URI in the event you are using CodeIgniter's URI Routing feature.
$this->uri->assoc_to_uri()
@@ -203,7 +202,7 @@ $str = $this->uri->assoc_to_uri($array);
$this->uri->ruri_string(n)
This function is identical to the previous one, except that it returns the
-re-routed URI in the event you are using CodeIgniter's URI Routing feature.
+re-routed URI in the event you are using CodeIgniter's URI Routing feature.
@@ -215,7 +214,7 @@ re-routed URI in the event you are using CodeIgniter's URI Routing feature.
+re-routed URI in the event you are using CodeIgniter's URI Routing feature.
@@ -250,7 +249,7 @@ Previous Topic: Unit Testing Class
Top of Page ·
User Guide Home ·
Next Topic: User Agent Class
-
+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
diff --git a/user_guide/libraries/user_agent.html b/user_guide/libraries/user_agent.html
index e9f6b715b..5bb87a76b 100644
--- a/user_guide/libraries/user_agent.html
+++ b/user_guide/libraries/user_agent.html
@@ -81,7 +81,7 @@ various user agent arrays if needed.
Example
When the User Agent class is initialized it will attempt to determine whether the user agent browsing your site is
-a web browser, a mobile device, or a robot. It will also gather the platform information if it is available.
+a web browser, a mobile device, or a robot. It will also gather the platform information if it is available.
@@ -110,9 +110,6 @@ echo $this->agent->platform(); // Platform info (Windows, Linux, Mac, etc.)
-
-
-
Function Reference
@@ -170,7 +167,7 @@ very efficient. If you find that some bots that commonly visit your site are mis
if ($this->agent->accept_lang('en'))
{
echo 'You accept English!';
-}
+}
Note: This function is not typically very reliable
since some browsers do not provide language info, and even among those that do, it is not always accurate.
@@ -183,7 +180,7 @@ since some browsers do not provide language info, and even among those that do,
if ($this->agent->accept_charset('utf-8'))
{
echo 'You browser supports UTF-8!';
-}
+}
Note: This function is not typically very reliable
since some browsers do not provide character-set info, and even among those that do, it is not always accurate.
@@ -201,7 +198,7 @@ Previous Topic: URI Class
Top of Page ·
User Guide Home ·
Next Topic: Validation Class
-
+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
diff --git a/user_guide/libraries/validation.html b/user_guide/libraries/validation.html
index 8ba45ba4b..cd239ea40 100644
--- a/user_guide/libraries/validation.html
+++ b/user_guide/libraries/validation.html
@@ -77,7 +77,7 @@ Form Validation
- Check for required data.
- Verify that the data is of the correct type, and meets the correct criteria. (For example, if a username is submitted
it must be validated to contain only permitted characters. It must be of a minimum length,
-and not exceed a maximum length. The username can't be someone else's existing username, or perhaps even a reserved word. Etc.)
+and not exceed a maximum length. The username can't be someone else's existing username, or perhaps even a reserved word. Etc.)
- Sanitize the data for security.
- Pre-format the data if needed (Does the data need to be trimmed? HTML encoded? Etc.)
- Prep the data for insertion in the database.
@@ -109,34 +109,35 @@ It also removes all control structures from your form HTML, permitting it to be
folder:
-
-
-My Form
-
-
+<html>
+<head>
+<title>My Form</title>
+</head>
+<body>
-=$this->validation->error_string; ?>
+<?=$this->validation->error_string; ?>
-=form_open('form'); ?>
+<?=form_open('form'); ?>
-Username
-
+<h5>Username</h5>
+<input type="text" name="username" value="" size="50" />
-Password
-
+<h5>Password</h5>
+<input type="text" name="password" value="" size="50" />
-Password Confirm
-
+<h5>Password Confirm</h5>
+<input type="text" name="passconf" value="" size="50" />
-Email Address
-
+<h5>Email Address</h5>
+<input type="text" name="email" value="" size="50" />
-
+<div><input type="submit" value="Submit" /></div>
-
+</form>
-
-
+</body>
+</html>
+
The Success Page
@@ -146,18 +147,20 @@ folder:
folder:
-
-
-My Form
-
-
+
+<html>
+<head>
+<title>My Form</title>
+</head>
+<body>
-Your form was successfully submitted!
+<h3>Your form was successfully submitted!</h3>
-=anchor('form', 'Try it again!'); ?>
+<p><?=anchor('form', 'Try it again!'); ?></p>
-
-
+</body>
+</html>
+
The Controller
@@ -166,7 +169,7 @@ folder:
folder:
-<?php
class Form extends Controller {
@@ -314,7 +317,7 @@ $rules['email'] = "required|valid_email";
In addition to the validation functions like the ones we used above, you can also prep your data in various ways. -For example, you can set up rules like this: +For example, you can set up rules like this:
$rules['username'] = "trim|required|min_length[5]|max_length[12]|xss_clean";
$rules['password'] = "trim|required|matches[passconf]|md5";
@@ -451,34 +454,36 @@ error message.
Now open your myform.php view file and update the value in each field so that it has an object corresponding to its name:
-
-
-My Form
-
-
+
+<html>
+<head>
+<title>My Form</title>
+</head>
+<body>
-=$this->validation->error_string; ?>
+<?=$this->validation->error_string; ?>
-=form_open('form'); ?>
+<?=form_open('form'); ?>
-Username
-
+<h5>Username</h5>
+<input type="text" name="username" value="<?=$this->validation->username;?>" size="50" />
-Password
-
+<h5>Password</h5>
+<input type="text" name="password" value="<?=$this->validation->password;?>" size="50" />
-Password Confirm
-
+<h5>Password Confirm</h5>
+<input type="text" name="passconf" value="<?=$this->validation->passconf;?>" size="50" />
-Email Address
-
+<h5>Email Address</h5>
+<input type="text" name="email" value="<?=$this->validation->email;?>" size="50" />
-
+<div><input type="submit" value="Submit" /></div>
-
+</form>
-
-
+</body>
+</html>
+
Now reload your page and submit the form so that it triggers an error. Your form fields should be populated
@@ -491,22 +496,22 @@ and the error messages will contain a more relevant field name.
If you prefer to show an error message next to each form field, rather than as a list, you can change your form so that it looks like this:
-
-Username
-=$this->validation->username_error; ?>
-
+<textarea class="textarea" style="width:100%" cols="50" rows="20">
+<h5>Username</h5>
+<?=$this->validation->username_error; ?>
+<input type="text" name="username" value="<?=$this->validation->username;?>" size="50" />
-Password
-=$this->validation->password_error; ?>
-
+<h5>Password</h5>
+<?=$this->validation->password_error; ?>
+<input type="text" name="password" value="<?=$this->validation->password;?>" size="50" />
-Password Confirm
-=$this->validation->passconf_error; ?>
-
+<h5>Password Confirm</h5>
+<?=$this->validation->passconf_error; ?>
+<input type="text" name="passconf" value="<?=$this->validation->passconf;?>" size="50" />
-Email Address
-=$this->validation->email_error; ?>
-
+<h5>Email Address</h5>
+<?=$this->validation->email_error; ?>
+<input type="text" name="email" value="<?=$this->validation->email;?>" size="50" /></textarea>
If there are no errors, nothing will be shown. If there is an error, the message will appear, wrapped in the delimiters you
have set (<p> tags by default).
@@ -589,16 +594,13 @@ For example, your "username" error will be available at:
$this->valida
Returns FALSE if the form element does not contain a valid email address.
Note: These rules can also be called as discreet functions. For example:
@@ -714,7 +716,7 @@ Previous Topic: User Agent Class Top of Page · User Guide Home · Next Topic: XML-RPC Class -+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
diff --git a/user_guide/libraries/xmlrpc.html b/user_guide/libraries/xmlrpc.html index 5d9b9ee64..ba70e11a8 100644 --- a/user_guide/libraries/xmlrpc.html +++ b/user_guide/libraries/xmlrpc.html @@ -88,11 +88,11 @@ Once processed, the server will then send back a response message.Like most other classes in CodeIgniter, the XML-RPC and XML-RPCS classes are initialized in your controller using the $this->load->library function:
-To load the XML-RPC class you will use: +
To load the XML-RPC class you will use:
$this->load->library('xmlrpc');
Once loaded, the xml-rpc library object will be available using: $this->xmlrpc
-To load the XML-RPC Server class you will use: +
To load the XML-RPC Server class you will use:
$this->load->library('xmlrpc');
$this->load->library('xmlrpcs');
@@ -193,7 +193,7 @@ $this->xmlrpcs->initialize($config);
$this->xmlrpcs->serve();
The above example contains an array specifying two method requests that the Server allows. -The allowed methods are on the left side of the array. When either of those are received, they will be mapped to the class and method on the right. +The allowed methods are on the left side of the array. When either of those are received, they will be mapped to the class and method on the right.
In other words, if an XML-RPC Client sends a request for the new_post method, your server will load the My_blog class and call the new_entry function. @@ -223,7 +223,7 @@ to exist with this prototype:
The $request variable is an object compiled by the Server, which contains the data sent by the XML-RPC Client. Using this object you will have access to the request parameters enabling you to process the request. When -you are done you will send a Response back to the Client.
+you are done you will send a Response back to the Client.
Below is a real-world example, using the Blogger API. One of the methods in the Blogger API is getUserInfo(). Using this method, an XML-RPC Client can send the Server a username and password, in return the Server sends @@ -486,7 +486,7 @@ Previous Topic: Validation Class Top of Page · User Guide Home · Next Topic: Zip Encoding Class -
+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
diff --git a/user_guide/libraries/zip.html b/user_guide/libraries/zip.html index e1692234f..f92443b54 100644 --- a/user_guide/libraries/zip.html +++ b/user_guide/libraries/zip.html @@ -165,7 +165,7 @@ $this->zip->download('my_backup.zip');If you would like the Zip archive to maintain the directory structure the file is in, pass TRUE (boolean) in the -second parameter. Example: +second parameter. Example:
@@ -275,7 +275,7 @@ Previous Topic: XML-RPC Class
Top of Page ·
User Guide Home ·
Next Topic: Array Helper
-
+
CodeIgniter · Copyright © 2007 · Ellislab, Inc.
--
cgit v1.2.3-24-g4f1b