Skip to content

Commit 6e7c765

Browse files
author
Maxime Buquet
committed
Replaced 'it's' by 'its' where needed and vice-versa
1 parent 31e04eb commit 6e7c765

File tree

22 files changed

+31
-31
lines changed

22 files changed

+31
-31
lines changed

classes/arr.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,7 @@ <h4 id="method_filter_keys" class="method">filter_keys($array, $keys, $remove =
977977

978978
<article>
979979
<h4 id="method_filter_recursive" class="method">filter_recursive($array, $callback = null)</h4>
980-
<p>The <strong>filter_recursive</strong> method provides a recursive version of PHP's array_filter() function. Like it's counterpart, you can optionally pass a callback function to determine what should be filtered.</p>
980+
<p>The <strong>filter_recursive</strong> method provides a recursive version of PHP's array_filter() function. Like its counterpart, you can optionally pass a callback function to determine what should be filtered.</p>
981981
<table class="method">
982982
<tbody>
983983
<tr>

classes/database/dbutil.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ <h4 class="method" id="method_drop_index">drop_index($table, $index_name, $db =
964964

965965
<article>
966966
<h4 class="method" id="method_add_foregin_key">add_foregin_key($table, $foreign_key)</h4>
967-
<p>The <strong>add_foreign_key</strong> method allows you to add a foreign key to a table after it's creation.</p>
967+
<p>The <strong>add_foreign_key</strong> method allows you to add a foreign key to a table after its creation.</p>
968968
<table class="method">
969969
<tbody>
970970
<tr>

classes/fieldset/fieldset.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,9 +1219,9 @@ <h2 id="one_to_many_forms">Creating One-to-Many forms with ORM Models</h2>
12191219
<p>By default, the One-to-Many fieldset is displayed in tabular form, controlled by the template in the <kbd>config/form.php</kbd> file.
12201220
</p>
12211221

1222-
<pre class='php'><code>// We're going to create a one-to-many form of an article, identified by $id, and it's comments
1222+
<pre class='php'><code>// We're going to create a one-to-many form of an article, identified by $id, and its comments
12231223

1224-
// get the article and it's related comments
1224+
// get the article and its related comments
12251225
$article = Model_Article::find($id, array('related' => array('comments')));
12261226

12271227
// create the form fieldset for this article using the ORM model's form definition
@@ -1242,7 +1242,7 @@ <h2 id="one_to_many_forms">Creating One-to-Many forms with ORM Models</h2>
12421242

12431243
<p>
12441244
A tabular form generates HTML input tags that use an array with the name of the relation specified, and the primary key value of the
1245-
record as it's index value. Any blank rows that are added at the bottom of the table will use the relation name, with a '_new' suffix.
1245+
record as its index value. Any blank rows that are added at the bottom of the table will use the relation name, with a '_new' suffix.
12461246
This will allow you to update the parent record, and all related records, in one go, and process the new lines separately.
12471247
</p>
12481248
<p>
@@ -1434,7 +1434,7 @@ <h2 id="form_attributes">Form Attributes</h2>
14341434
<td>string</td>
14351435
<td><pre class="php"><code>'&lt;table&gt;{fields}&lt;/table&gt;\n'</code></pre></td>
14361436
<td>
1437-
template for the complete tabular form with all it's rows.
1437+
template for the complete tabular form with all its rows.
14381438
</td>
14391439
</tr>
14401440
<tr>

classes/ftp.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ <h4 class="method" id="method_delete">delete_dir($filepath)</h4>
607607
<pre class="php"><code>// connect to an FTP server
608608
$ftp = Ftp::forge($config);
609609

610-
// delete a folder with all it's contents
610+
// delete a folder with all its contents
611611
if ( ! $ftp->delete_dir('/path/to/folder'))
612612
{
613613
// delete failed

classes/presenter.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ <h4 class="method" id="method_forge">forge($presenter, $method = 'view', $auto_f
7474
<tr>
7575
<th><kbd>$presenter</kbd></th>
7676
<td><em>required</em></td>
77-
<td class="description">Name of the presenter, and by default of it's associated view, using <a href="./view.html#method_forge">View</a> notation.</td>
77+
<td class="description">Name of the presenter, and by default of its associated view, using <a href="./view.html#method_forge">View</a> notation.</td>
7878
</tr>
7979
<tr>
8080
<th><kbd>$method</kbd></th>
@@ -211,7 +211,7 @@ <h3 id="view">View object compatibility</h3>
211211

212212
<p class="note">
213213
If you want to extend the Presenter to be able to swap View instances after the Presenter object has been created, know that the
214-
presenter doesn't have it's own data container. Instead, it uses the associated View object to store all data, which means that
214+
presenter doesn't have its own data container. Instead, it uses the associated View object to store all data, which means that
215215
if you swap that View object by a new one, you lose all variables set on it!
216216
</p>
217217
</div>

classes/router.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ <h4 class="method" id="method_get">get($name, $named_params = array())</h4>
257257
'hello/(:name)(/:segment)' => array('welcome/user', 'name' => 'user'),
258258
);
259259

260-
// note that "(/:segment)" will be replaced in its entirely by "article", so
260+
// note that "(/:segment)" will be replaced entirely by "article", so
261261
// this call will return 'http://your_base_url/welcome/user/johnarticle' !
262262
echo Router::get('user', array('name' => 'john', 'article'));
263263
</code></pre>

classes/theme/advanced.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h2>Theme Class</h2>
5454
<h3 id="asset">Asset support</h3>
5555

5656
<p>
57-
Every Theme class instance has it's own instance of the Asset class, to make it easy to load assets from the theme.
57+
Every Theme class instance has its own instance of the Asset class, to make it easy to load assets from the theme.
5858
The Asset instance is populated with the asset paths of both the active and the fallback theme, which will provide
5959
the same fallback features for your assets as you have for other theme elements like templates and views.
6060
</p>

classes/theme/introduction.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ <h3 id="partials">Theme template partials</h3>
123123
</p>
124124
<p>
125125
The contents of a partials section can be accessed through a view variable $partials, an array with an entry for each of the partial
126-
sections defined. You access a section using it's name. So for a partial section called 'sidebar', you would use <strong>echo $partials['sidebar'];</strong> in your page template.
126+
sections defined. You access a section using its name. So for a partial section called 'sidebar', you would use <strong>echo $partials['sidebar'];</strong> in your page template.
127127
</p>
128128

129129
<h3 id="chrome">Partial chrome</h3>

general/coding_standards.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ <h3 id="comparison_logical">Comparisons, Logical operators</h3>
259259
<p>Comparing function/method returns and variables should be type aware, for example some functions may return
260260
<kbd>false</kbd>, and when comparing this return the type sensitive operators such as <kbd>===</kbd> or <kbd>!==</kbd>. Additionally, use of
261261
<kbd>and</kbd> or <kbd>or</kbd> is preferred over <kbd>&amp;&amp;</kbd> or <kbd>||</kbd> for readability. In some cases, this cannot be avoided and the use of
262-
<kbd>&amp;&amp;</kbd> or <kbd>||</kbd> as its required may be used. The <kbd>!</kbd> should have spaces on both sides when used.</p>
262+
<kbd>&amp;&amp;</kbd> or <kbd>||</kbd> as it's required may be used. The <kbd>!</kbd> should have spaces on both sides when used.</p>
263263

264264
<pre class="php"><code>if ($var == false and $other_var != 'some_value')
265265
if ($var === false or my_function() !== false)

general/controllers/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ <h4 id="returning_results">Returning the result</h4>
150150
</p>
151151
<p>
152152
If your controller does not extend one of the base controllers, and you want to use this feature,
153-
your controller must contain it's own after() method that will accept the actions return value, and has to wrap it into
153+
your controller must contain its own after() method that will accept the actions return value, and has to wrap it into
154154
a Reponse object which it must return.
155155
</p>
156156

0 commit comments

Comments
 (0)