Skip to content

Commit 37f4ac0

Browse files
author
Alex Russell
committed
Fixed a bunch of typos
Mainly unencoded ampersands, "it's" -> "its", other typos
1 parent 7a82075 commit 37f4ac0

28 files changed

+55
-55
lines changed

classes/asset/advanced.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ <h3>Advanced usage</h3>
5454

5555
<p>
5656
The Asset class supports the use of multiple instances. This might prove useful if you are using themes, where
57-
every theme has it's own set of assets, or you are developing a modular application where each module provides
58-
it's own set of assets.
57+
every theme has its own set of assets, or you are developing a modular application where each module provides
58+
its own set of assets.
5959
</p>
6060
<p>
6161
In these cases, it would not be handy to have only a single instance and use search paths, since the chances of

classes/autoloader.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ <h4 class="method" id="method_add_core_namespace">add_core_namespace($namespace,
385385

386386
<article>
387387
<h4 class="method" id="method_load">load($class)</h4>
388-
<p>The <strong>load</strong> method tries to find the class, load it, and fire it's _init function if exists.</p>
388+
<p>The <strong>load</strong> method tries to find the class, load it, and fire its _init function if exists.</p>
389389
<table class="method">
390390
<tbody>
391391
<tr>

classes/database/usage.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ <h2>Database Usage</h2>
5050
Normal database interactions are to go through the <a href="./db.html">DB class</a>.
5151
The following examples will give you a feel for how to go about using databases in Fuel.
5252
</p>
53-
<p>Database usage is devided into a couple of segments:</p>
53+
<p>Database usage is divided into a couple of segments:</p>
5454

5555
<ul>
5656
<li><a href="#running-queries">Running queries</a></li>
@@ -144,7 +144,7 @@ <h3 id="selecting">Selection data</h3>
144144
<h3 id="results">Results</h3>
145145
<p>
146146
Executing a select query will generate a result object containing the requested database records.
147-
By default the result is fetched as associative arrays. Here is an exaple how to influence this
147+
By default the result is fetched as associative arrays. Here is an example how to influence this
148148
behaviour.
149149
</p>
150150
<pre class="php"><code>// Will fetch the result as an associative array.
@@ -162,7 +162,7 @@ <h3 id="results">Results</h3>
162162
// Just count the results, it returns an int.
163163
$num_rows = count($result);
164164
</code></pre>
165-
<p>To access these results you eighter loop through the result object directly, or get the result array.</p>
165+
<p>To access these results you either loop through the result object directly, or get the result array.</p>
166166
<pre class="php"><code>$result = DB::select()->from('users')->execute();
167167
foreach($result as $item)
168168
{
@@ -182,7 +182,7 @@ <h3 id="results">Results</h3>
182182
foreach($on_key as $id => $item)
183183
{
184184
// $id will contain the records id
185-
// do something with $item or it's $id
185+
// do something with $item or its $id
186186
}
187187

188188
$key_value = $result->as_array('id', 'email');
@@ -313,7 +313,7 @@ <h3 id="updating">Updating</h3>
313313
<h3 id="inserting">Inserting</h3>
314314
<p>
315315
For inserting data we use <a href="./db.html#method_insert">DB::insert</a>.
316-
If succesfully executed an insert query will return an array containing a
316+
If successfully executed an insert query will return an array containing a
317317
list of insert id and rows created.
318318
</p>
319319
<pre class="php"><code>// Will execute INSERT INTO `users`(`name`,`email`,`password`)
@@ -324,7 +324,7 @@ <h3 id="inserting">Inserting</h3>
324324
'password' => 's0_s3cr3t',
325325
))->execute();
326326
</code></pre>
327-
<p>You can also set the columns and values seperatly</p>
327+
<p>You can also set the columns and values separately</p>
328328

329329
<pre class="php"><code>// Will execute INSERT INTO `users`(`name`,`email`,`password`)
330330
// VALUES ("John Random", "[email protected]", "s0_s3cr3t")
@@ -373,9 +373,9 @@ <h3 id="joins">Joins</h3>
373373
<h3 id="escaping">Escaping</h3>
374374

375375
<p>Fields and values in database calls are escaped by default. In some cases you'll want to not escape data. The DB class provides a method to create <em>database expressions</em>, <a href="./db.html#method_expr">DB::expr</a>. If you don't want a value to get escaped, just wrap it in a database expression.</p>
376-
<p>Database expressions are especially helpful when dealing with thing like MySQL's native function (like <em>COUNT</em>) and predefined constands (like <em>DEFAULT</em>).</p>
376+
<p>Database expressions are especially helpful when dealing with thing like MySQL's native function (like <em>COUNT</em>) and predefined constants (like <em>DEFAULT</em>).</p>
377377

378-
<pre class="php"><code>// Set a field to it's default
378+
<pre class="php"><code>// Set a field to its default
379379
DB::update('users')->where('id', '=', 1)->set(array(
380380
'some_column' => DB::expr('DEFAULT'),
381381
))->execute();

classes/fieldset.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ <h1>
4848
<h2>Fieldset Class</h2>
4949

5050
<p>
51-
The Fieldset class is used to create a form and handle its' validation in an object oriented way. It uses the Form
51+
The Fieldset class is used to create a form and handle its validation in an object oriented way. It uses the Form
5252
and Validation classes. This class itself is only meant to model the fieldset and its fields while the other
5353
two classes do the real work.
5454
</p>
@@ -609,7 +609,7 @@ <h4 class="method" id="method_populate">populate($input, $repopulate = false)</h
609609
<tr>
610610
<th><kbd>$repopulate</kbd></th>
611611
<td><code>false</code></td>
612-
<td>Use the repopulate() method after inital populating</td>
612+
<td>Use the repopulate() method after initial populating</td>
613613
</tr>
614614
</tbody>
615615
</table>

classes/file/handlers.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ <h3 id="usage">Usage</h3>
8585
$file = \File::get(DOCROOT.'/here_is_my/textfile.txt');
8686
</code></pre>
8787

88-
<p>Now we've got the file handler, we can use it's methods to get something done.</p>
88+
<p>Now we've got the file handler, we can use its methods to get something done.</p>
8989

9090
<pre class="code"><code>// Let's rename rename it.
9191
$file->rename('new_name');

classes/form.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ <h4 class="method" id="method_close">close()</h4>
137137
<article>
138138
<h4 class="method" id="method_input">input($field, $value = null, $attributes = array())</h4>
139139
<p>
140-
Creates an html input element. It can be set using the fieldname, it's value and tag attributes or all
140+
Creates an html input element. It can be set using the fieldname, its value and tag attributes or all
141141
in one array as the first argument.
142142
</p>
143143
<table class="method">
@@ -191,7 +191,7 @@ <h4 class="method" id="method_input">input($field, $value = null, $attributes =
191191
<article>
192192
<h4 class="method" id="method_button">button($field, $value = null, $attributes = array())</h4>
193193
<p>
194-
Creates an html button element. It can be set using the fieldname, it's value and tag attributes or all
194+
Creates an html button element. It can be set using the fieldname, its value and tag attributes or all
195195
in one array as the first argument.
196196
</p>
197197
<table class="method">
@@ -391,7 +391,7 @@ <h4 class="method" id="method_submit">submit($field, $value = null, $attributes
391391

392392
<article>
393393
<h4 class="method" id="method_textarea">textarea($field, $value = null, $attributes = array())</h4>
394-
<p>Creates an html textarea element. It can be set using the fieldname, it's value and tag attributes or all
394+
<p>Creates an html textarea element. It can be set using the fieldname, its value and tag attributes or all
395395
in one attribute for the first argument.</p>
396396
<table class="method">
397397
<tbody>
@@ -443,7 +443,7 @@ <h4 class="method" id="method_textarea">textarea($field, $value = null, $attribu
443443

444444
<article>
445445
<h4 class="method" id="method_select">select($field, $values = null, $options = array(), $attributes = array())</h4>
446-
<p>Creates an html select element. It can be set using the fieldname, it's selected value(s), it's options
446+
<p>Creates an html select element. It can be set using the fieldname, its selected value(s), its options
447447
and tag attributes or all in one attribute for the first argument.</p>
448448
<table class="method">
449449
<tbody>
@@ -475,7 +475,7 @@ <h4 class="method" id="method_select">select($field, $values = null, $options =
475475
<th><kbd>$options</kbd></th>
476476
<td><pre class="php"><code>array()</code></pre></td>
477477
<td>Associative array of value=>label pairs, may also contain option groups as
478-
opt_name=>array() where the array contains it's set of value=>label pairs.</td>
478+
opt_name=>array() where the array contains its set of value=>label pairs.</td>
479479
</tr>
480480
<tr>
481481
<th><kbd>$attributes</kbd></th>

classes/html.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,12 +229,12 @@ <h4 class="method" id="method_mail_to_safe">mail_to_safe($email, $text, $subject
229229
<th>Example</th>
230230
<td>
231231
<pre class="php"><code>//returns
232-
//&lt;script type="text/javascript"&gt
232+
//&lt;script type="text/javascript"&gt;
233233
// var user = "name";
234234
// var at = "@";
235235
// var server = "domain.com";
236-
// document.write('&lt;a href="' + 'mail' + 'to:' + user + at + server + '"&gtName&lt;/a&gt');
237-
//&lt;/script&gt
236+
// document.write('&lt;a href="' + 'mail' + 'to:' + user + at + server + '"&gt;Name&lt;/a&gt;');
237+
//&lt;/script&gt;
238238
echo Html::mail_to_safe('[email protected]', 'Name');</code></pre>
239239
</td>
240240
</tr>

classes/mongo/methods.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ <h2>Mongo_Db Class Methods</h2>
4949

5050
<p>
5151
The Mongo_Db class allows you to interact with MongoDB databases. While in some cases it's
52-
simular to interacting with databases like MySQL there are some distinct differences.
52+
similar to interacting with databases like MySQL there are some distinct differences.
5353
</p>
5454

5555
<p class="note">

classes/theme/introduction.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ <h3 id="intro">Introduction</h3>
5656
</p>
5757
<p>
5858
Like modules and packages, themes can be stored in multiple locations. You can define the paths to these locations in the
59-
configuration file, or add them to the theme instance at runtime. A theme is identified by it's name, which must be equal
59+
configuration file, or add them to the theme instance at runtime. A theme is identified by its name, which must be equal
6060
to the name of the theme folder used in one of the theme locations. If the theme is defined in multiple locations,
6161
the first one found will be used.
6262
</p>

classes/theme/methods.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ <h4 class="method" id="method_active">active($theme = null)</h4>
554554
<pre class="php"><code>// Get the default instance
555555
$theme = \Theme::instance();
556556

557-
// set the active theme to 'darkglow', and return it's definition
557+
// set the active theme to 'darkglow', and return its definition
558558
$active = $theme->active('darkglow');
559559
</code></pre>
560560
</td>
@@ -607,7 +607,7 @@ <h4 class="method" id="method_fallback">fallback($theme = null)</h4>
607607
<pre class="php"><code>// Get the default instance
608608
$theme = \Theme::instance();
609609

610-
// set the fallback theme to 'basic', and return it's definition
610+
// set the fallback theme to 'basic', and return its definition
611611
$fallback = $theme->fallback('basic');
612612
</code></pre>
613613
</td>

0 commit comments

Comments
 (0)