We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4db7b2 commit 73371c4Copy full SHA for 73371c4
1 file changed
user_guide_src/source/tutorial/static_pages.rst
@@ -39,9 +39,7 @@ code.
39
40
namespace App\Controllers;
41
42
- use CodeIgniter\Controller;
43
-
44
- class Pages extends Controller
+ class Pages extends BaseController
45
{
46
public function index()
47
@@ -66,7 +64,7 @@ displays the CodeIgniter welcome page.
66
64
Both are *technically* a function. But when you create a function in a class,
67
65
it's called a method.
68
69
-The ``Pages`` class is extending the
+The ``Pages`` class is extending the ``BaseController`` class that extends the
70
``CodeIgniter\Controller`` class. This means that the new Pages class can access the
71
methods and variables defined in the ``CodeIgniter\Controller`` class
72
(**system/Controller.php**).
0 commit comments