From 4c356d21fccf5c7cb8d2582aa8a7b00fb712aec8 Mon Sep 17 00:00:00 2001 From: Natan Felles Date: Thu, 17 Oct 2019 20:31:57 -0300 Subject: [PATCH] User guide minor fixes. Fix class names and code area. --- user_guide_src/source/cli/cli_commands.rst | 2 +- user_guide_src/source/database/query_builder.rst | 2 +- user_guide_src/source/database/results.rst | 2 +- user_guide_src/source/dbmgmt/forge.rst | 2 +- user_guide_src/source/dbmgmt/migration.rst | 2 +- user_guide_src/source/models/entities.rst | 3 ++- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/user_guide_src/source/cli/cli_commands.rst b/user_guide_src/source/cli/cli_commands.rst index 17c5a04ff0f1..4ad7ede668c2 100644 --- a/user_guide_src/source/cli/cli_commands.rst +++ b/user_guide_src/source/cli/cli_commands.rst @@ -144,7 +144,7 @@ The ``BaseCommand`` class that all commands must extend have a couple of helpful be familiar with when creating your own commands. It also has a :doc:`Logger ` available at **$this->logger**. -.. php:class:: CodeIgniter\CLI\BaseCommand +.. php:class:: CodeIgniter\\CLI\\BaseCommand .. php:method:: call(string $command[, array $params=[] ]) diff --git a/user_guide_src/source/database/query_builder.rst b/user_guide_src/source/database/query_builder.rst index 8d08aa36fc64..973d5f8d3372 100755 --- a/user_guide_src/source/database/query_builder.rst +++ b/user_guide_src/source/database/query_builder.rst @@ -1218,7 +1218,7 @@ run the query:: Class Reference *************** -.. php:class:: \CodeIgniter\Database\BaseBuilder +.. php:class:: CodeIgniter\\Database\\BaseBuilder .. php:method:: resetQuery() diff --git a/user_guide_src/source/database/results.rst b/user_guide_src/source/database/results.rst index 2cd58b2dd448..3546ccf893ac 100644 --- a/user_guide_src/source/database/results.rst +++ b/user_guide_src/source/database/results.rst @@ -329,7 +329,7 @@ TRUE on success or FALSE on failure. Class Reference *************** -.. php:class:: \CodeIgniter\Database\BaseResult +.. php:class:: CodeIgniter\\Database\\BaseResult .. php:method:: getResult([$type = 'object']) diff --git a/user_guide_src/source/dbmgmt/forge.rst b/user_guide_src/source/dbmgmt/forge.rst index f159bbd5b4af..0f7badc3d6a7 100644 --- a/user_guide_src/source/dbmgmt/forge.rst +++ b/user_guide_src/source/dbmgmt/forge.rst @@ -348,7 +348,7 @@ change the name, you can add a "name" key into the field defining array. Class Reference *************** -.. php:class:: \CodeIgniter\Database\Forge +.. php:class:: CodeIgniter\\Database\\Forge .. php:method:: addColumn($table[, $field = []]) diff --git a/user_guide_src/source/dbmgmt/migration.rst b/user_guide_src/source/dbmgmt/migration.rst index b87449ed0c1c..e720450d5f2e 100644 --- a/user_guide_src/source/dbmgmt/migration.rst +++ b/user_guide_src/source/dbmgmt/migration.rst @@ -270,7 +270,7 @@ Preference Default Options Des Class Reference *************** -.. php:class:: CodeIgniter\Database\MigrationRunner +.. php:class:: CodeIgniter\\Database\\MigrationRunner .. php:method:: findMigrations() diff --git a/user_guide_src/source/models/entities.rst b/user_guide_src/source/models/entities.rst index c15b081f4059..22a81e192784 100644 --- a/user_guide_src/source/models/entities.rst +++ b/user_guide_src/source/models/entities.rst @@ -374,5 +374,6 @@ attribute to check:: $user->name = 'Fred'; $user->hasChanged('name'); // true -Or to check the whole entity for changed values omit the parameter: +Or to check the whole entity for changed values omit the parameter:: + $user->hasChanged(); // true