From 6a79a09702bf841d7c28274a9d3bb763b149d423 Mon Sep 17 00:00:00 2001 From: obozdag Date: Mon, 29 Apr 2024 14:12:14 +0200 Subject: [PATCH] docs: Fix typo in models/model.rst Fix typo in models/model.rst --- user_guide_src/source/models/model.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user_guide_src/source/models/model.rst b/user_guide_src/source/models/model.rst index 02c97a1b48a7..edc4139a4d42 100644 --- a/user_guide_src/source/models/model.rst +++ b/user_guide_src/source/models/model.rst @@ -34,7 +34,7 @@ See :ref:`factories-loading-class` for details on the first parameter. CodeIgniter's Model ******************* -CodeIgniter does provide a model class that provides a few nice features, including: +CodeIgniter does provide a model class that has a few nice features, including: - automatic database connection - basic CRUD methods @@ -580,7 +580,7 @@ automatically, based on whether it finds an array key matching the **primary key The save method also can make working with custom class result objects much simpler by recognizing a non-simple object and grabbing its public and protected values into an array, which is then passed to the appropriate insert or update method. This allows you to work with Entity classes in a very clean way. Entity classes are -simple classes that represent a single instance of an object type, like a user, a blog post, job, etc. This +simple classes that represent a single instance of an object type, like a user, a blog post, a job, etc. This class is responsible for maintaining the business logic surrounding the object itself, like formatting elements in a certain way, etc. They shouldn't have any idea about how they are saved to the database. At their simplest, they might look like this: