Skip to content

Commit 1dd46a5

Browse files
committed
docs: add link
1 parent a58cdd7 commit 1dd46a5

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

user_guide_src/source/libraries/pagination.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ to load it manually:
1818

1919
.. literalinclude:: pagination/001.php
2020

21+
.. _paginating-with-models:
2122

2223
**********************
2324
Paginating with Models

user_guide_src/source/models/model.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ CodeIgniter does provide a model class that provides a few nice features, includ
3434
- automatic database connection
3535
- basic CRUD methods
3636
- in-model validation
37-
- automatic pagination
37+
- :ref:`automatic pagination <paginating-with-models>`
3838
- and more
3939

4040
This class provides a solid base from which to build your own models, allowing you to
@@ -116,7 +116,7 @@ The Model's CRUD methods will take a step of work away from you and automaticall
116116
the resulting data, instead of the Result object. This setting allows you to define
117117
the type of data that is returned. Valid values are '**array**' (the default), '**object**', or the **fully
118118
qualified name of a class** that can be used with the Result object's ``getCustomResultObject()``
119-
method. Using the special ``::class`` constant of the class will allow most IDEs to
119+
method. Using the special ``::class`` constant of the class will allow most IDEs to
120120
auto-complete the name and allow functions like refactoring to better understand your code.
121121

122122
$useSoftDeletes

0 commit comments

Comments
 (0)