summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries/migration.rst
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide_src/source/libraries/migration.rst')
-rw-r--r--user_guide_src/source/libraries/migration.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/user_guide_src/source/libraries/migration.rst b/user_guide_src/source/libraries/migration.rst
index e8ea1d977..25be0c93c 100644
--- a/user_guide_src/source/libraries/migration.rst
+++ b/user_guide_src/source/libraries/migration.rst
@@ -138,9 +138,9 @@ Preference Default Options Des
Class Reference
***************
-.. class:: CI_Migration
+.. php:class:: CI_Migration
- .. method:: current()
+ .. php:method:: current()
:returns: TRUE if no migrations are found, current version string on success, FALSE on failure
:rtype: mixed
@@ -148,21 +148,21 @@ Class Reference
Migrates up to the current version (whatever is set for
``$config['migration_version']`` in *application/config/migration.php*).
- .. method:: error_string()
+ .. php:method:: error_string()
:returns: Error messages
:rtype: string
This returns a string of errors that were detected while performing a migration.
- .. method:: find_migrations()
+ .. php:method:: find_migrations()
:returns: An array of migration files
:rtype: array
An array of migration filenames are returned that are found in the **migration_path** property.
- .. method:: latest()
+ .. php:method:: latest()
:returns: TRUE if no migrations are found, current version string on success, FALSE on failure
:rtype: mixed
@@ -171,7 +171,7 @@ Class Reference
the ``$config['migration_version']`` the Migration class will use the very
newest migration found in the filesystem.
- .. method:: version($target_version)
+ .. php:method:: version($target_version)
:param mixed $target_version: Migration version to process
:returns: TRUE if no migrations are found, current version string on success, FALSE on failure