Skip to content

Commit c960d0a

Browse files
committed
Update reference docs to 5.1
1 parent 6d55f52 commit c960d0a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ <h6>Query Logging <a href="http://laravel.com/docs/database#query-logging" title
440440
</section>
441441

442442
<section class="cmd-description grid-item">
443-
<h4><a name="urls" href="#urls">URL</a> <a href="http://laravel.com/api/5.0/Illuminate/Routing/UrlGenerator.html" title="UrlGenerator @ Laravel Docs"><i class="icon-file-text"></i></a>&nbsp;<a href="http://laravel.com/docs/helpers#urls" title="URL helper @ Laravel Docs"><i class="icon-file-text"></i></a></h4>
443+
<h4><a name="urls" href="#urls">URL</a> <a href="http://laravel.com/api/5.1/Illuminate/Routing/UrlGenerator.html" title="UrlGenerator @ Laravel Docs"><i class="icon-file-text"></i></a>&nbsp;<a href="http://laravel.com/docs/helpers#urls" title="URL helper @ Laravel Docs"><i class="icon-file-text"></i></a></h4>
444444
<pre class="prettyprint lang-php">
445445
URL::full();
446446
URL::current();
@@ -478,7 +478,7 @@ <h4><a name="events" href="#events">Event</a> <a href="http://laravel.com/docs/e
478478
</section>
479479

480480
<section class="cmd-description grid-item">
481-
<h4><a name="db" href="#db">DB</a> <a href="http://laravel.com/docs/5.0/database" title="Basic Database Usage @ Laravel Docs"><i class="icon-file-text"></i></a></h4>
481+
<h4><a name="db" href="#db">DB</a> <a href="http://laravel.com/docs/5.1/database" title="Basic Database Usage @ Laravel Docs"><i class="icon-file-text"></i></a></h4>
482482

483483
<h6>Basic Database Usage</h6>
484484
<pre class="prettyprint lang-php">
@@ -501,7 +501,7 @@ <h6>Basic Database Usage</h6>
501501
DB::commit();
502502
</pre>
503503

504-
<h6>Query Builder <a href="http://laravel.com/docs/5.0/queries" title="Query Builder @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
504+
<h6>Query Builder <a href="http://laravel.com/docs/5.1/queries" title="Query Builder @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
505505
<pre class="prettyprint lang-php">
506506
// Retrieving All Rows From A Table
507507
DB::table('name')->get();
@@ -567,7 +567,7 @@ <h6>Query Builder <a href="http://laravel.com/docs/5.0/queries" title="Query Bui
567567
$users = DB::table('users')->skip(10)->take(5)->get();
568568
</pre>
569569

570-
<h6>Joins <a href="http://laravel.com/docs/5.0/queries#joins" title="Joins @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
570+
<h6>Joins <a href="http://laravel.com/docs/5.1/queries#joins" title="Joins @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
571571
<pre class="prettyprint lang-php">
572572
// Basic Join Statement
573573
DB::table('users')
@@ -590,7 +590,7 @@ <h6>Joins <a href="http://laravel.com/docs/5.0/queries#joins" title="Joins @ Lar
590590
->get();
591591
</pre>
592592

593-
<h6>Aggregates <a href="http://laravel.com/docs/5.0/queries#aggregates" title="Aggregates @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
593+
<h6>Aggregates <a href="http://laravel.com/docs/5.1/queries#aggregates" title="Aggregates @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
594594
<pre class="prettyprint lang-php">
595595
$users = DB::table('users')->count();
596596
$price = DB::table('orders')->max('price');
@@ -604,7 +604,7 @@ <h6>Aggregates <a href="http://laravel.com/docs/5.0/queries#aggregates" title="A
604604
DB::table('name')->cacheTags(array('my-first-key','my-second-key'))->remember(5)->get();
605605
</pre>
606606

607-
<h6>Raw Expressions <a href="http://laravel.com/docs/5.0/queries#raw-expressions" title="Raw Expressions @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
607+
<h6>Raw Expressions <a href="http://laravel.com/docs/5.1/queries#raw-expressions" title="Raw Expressions @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
608608
<pre class="prettyprint lang-php">
609609
$users = DB::table('users')
610610
->select(DB::raw('count(*) as user_count, status'))
@@ -661,7 +661,7 @@ <h6>Inserts / Updates / Deletes / Unions / Pessimistic Locking</h6>
661661

662662
<section class="cmd-description grid-item">
663663
<h4><a name="eloquent" href="#eloquent">Model</a> <a href="http://laravel.com/docs/eloquent" title="Eloquent @ Laravel Docs"><i class="icon-file-text"></i></a></h4>
664-
<h6>Basic Usage <a href="http://laravel.com/docs/5.0/eloquent#basic-usage" title="Basic Usage @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
664+
<h6>Basic Usage <a href="http://laravel.com/docs/5.1/eloquent#basic-usage" title="Basic Usage @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
665665
<pre class="prettyprint lang-php">
666666
// Defining An Eloquent Model
667667
class User extends Model {}
@@ -716,7 +716,7 @@ <h6>More</h6>
716716
Model::all()->orderBy('column','desc');
717717
</pre>
718718

719-
<h6>Soft Delete <a href="http://laravel.com/docs/5.0/eloquent#soft-deleting" title="Soft Deleting @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
719+
<h6>Soft Delete <a href="http://laravel.com/docs/5.1/eloquent#soft-deleting" title="Soft Deleting @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
720720
<pre class="prettyprint lang-php">
721721
Model::withTrashed()->where('cars', 2)->get();
722722
// Include the soft deleted models in the results
@@ -878,7 +878,7 @@ <h4><a name="localization" href="#localization">Lang</a> <a href="http://laravel
878878
</section>
879879

880880
<section class="cmd-description grid-item">
881-
<h4><a name="files" href="#files">File</a> <a href="http://laravel.com/api/5.0/Illuminate/Filesystem/Filesystem.html" title="Filesystem @ Laravel Docs"><i class="icon-file-text"></i></a></h4>
881+
<h4><a name="files" href="#files">File</a> <a href="http://laravel.com/api/5.1/Illuminate/Filesystem/Filesystem.html" title="Filesystem @ Laravel Docs"><i class="icon-file-text"></i></a></h4>
882882
<pre class="prettyprint lang-php">
883883
File::exists('path');
884884
File::get('path');

0 commit comments

Comments
 (0)