Skip to content

Commit 41c14e9

Browse files
committed
docs: add php:namespace::
1 parent 54c5512 commit 41c14e9

12 files changed

Lines changed: 35 additions & 11 deletions

File tree

user_guide_src/source/cli/cli_commands.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ The ``BaseCommand`` class that all commands must extend have a couple of helpful
9090
be familiar with when creating your own commands. It also has a :doc:`Logger </general/logging>` available at
9191
``$this->logger``.
9292

93-
.. php:class:: CodeIgniter\\CLI\\BaseCommand
93+
.. php:namespace:: CodeIgniter\CLI
94+
95+
.. php:class:: BaseCommand
9496
9597
.. php:method:: call(string $command[, array $params = []])
9698

user_guide_src/source/database/results.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,9 @@ true on success or false on failure.
239239
Class Reference
240240
***************
241241

242-
.. php:class:: CodeIgniter\\Database\\BaseResult
242+
.. php:namespace:: CodeIgniter\Database
243+
244+
.. php:class:: BaseResult
243245
244246
.. php:method:: getResult([$type = 'object'])
245247

user_guide_src/source/dbmgmt/forge.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,9 @@ change the name, you can add a "name" key into the field defining array.
289289
Class Reference
290290
***************
291291

292-
.. php:class:: CodeIgniter\\Database\\Forge
292+
.. php:namespace:: CodeIgniter\Database
293+
294+
.. php:class:: Forge
293295
294296
.. php:method:: addColumn($table[, $field = []])
295297

user_guide_src/source/dbmgmt/migration.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,9 @@ Preference Default Options Des
216216
Class Reference
217217
***************
218218

219-
.. php:class:: CodeIgniter\\Database\\MigrationRunner
219+
.. php:namespace:: CodeIgniter\Database
220+
221+
.. php:class:: MigrationRunner
220222
221223
.. php:method:: findMigrations()
222224

user_guide_src/source/incoming/message.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ This same negotiation can happen with four types of data:
3434
Class Reference
3535
***************
3636

37-
.. php:class:: CodeIgniter\\HTTP\\Message
37+
.. php:namespace:: CodeIgniter\HTTP
38+
39+
.. php:class:: Message
3840
3941
.. php:method:: getBody()
4042

user_guide_src/source/incoming/request.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ See the documentation for the :doc:`IncomingRequest Class </incoming/incomingreq
1313
Class Reference
1414
===============
1515

16-
.. php:class:: CodeIgniter\\HTTP\\Request
16+
.. php:namespace:: CodeIgniter\HTTP
17+
18+
.. php:class:: Request
1719
1820
.. php:method:: getIPAddress()
1921

user_guide_src/source/libraries/encryption.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,9 @@ Remember, that ``$config`` must be an instance of ``Config\Encryption`` class.
214214
Class Reference
215215
***************
216216

217-
.. php:class:: CodeIgniter\\Encryption\\Encryption
217+
.. php:namespace:: CodeIgniter\Encryption
218+
219+
.. php:class:: Encryption
218220
219221
.. php:staticmethod:: createKey([$length = 32])
220222

user_guide_src/source/libraries/user_agent.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ is available:
4343
Class Reference
4444
***************
4545

46-
.. php:class:: CodeIgniter\\HTTP\\UserAgent
46+
.. php:namespace:: CodeIgniter\HTTP
47+
48+
.. php:class:: UserAgent
4749
4850
.. php:method:: isBrowser([$key = null])
4951

user_guide_src/source/outgoing/response.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,9 @@ The methods provided by the parent class that are available are:
247247
* :meth:`CodeIgniter\\HTTP\\Message::negotiateLanguage`
248248
* :meth:`CodeIgniter\\HTTP\\Message::negotiateLanguage`
249249

250-
.. php:class:: CodeIgniter\\HTTP\\Response
250+
.. php:namespace:: CodeIgniter\HTTP
251+
252+
.. php:class:: Response
251253
252254
.. php:method:: getStatusCode()
253255

user_guide_src/source/outgoing/table.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ to the Table constructor:
7575
Class Reference
7676
***************
7777

78+
.. php:namespace:: CodeIgniter\View
79+
7880
.. php:class:: Table
7981
8082
.. attribute:: $function = null

0 commit comments

Comments
 (0)