From 80a4cb5f4b25b836abf6b3e13fe49a9037d946c5 Mon Sep 17 00:00:00 2001 From: Andrew Davis Date: Mon, 3 Sep 2018 11:52:41 -0500 Subject: [PATCH] Added classes-constructor and removed description from templates --- assets/templates/_header.phtml | 2 +- assets/templates/_table_of_contents.phtml | 1 + assets/templates/default.phtml | 2 +- code/classes-constructor.php | 47 +++++++++++++++++++++++ config.php | 22 ++++------- 5 files changed, 58 insertions(+), 16 deletions(-) create mode 100644 code/classes-constructor.php diff --git a/assets/templates/_header.phtml b/assets/templates/_header.phtml index f419bbf..9b8a2c8 100644 --- a/assets/templates/_header.phtml +++ b/assets/templates/_header.phtml @@ -5,7 +5,7 @@ <?= $title ?? 'PHP Apprentice' ?> - + diff --git a/assets/templates/_table_of_contents.phtml b/assets/templates/_table_of_contents.phtml index 21c04f8..c6d9ad9 100644 --- a/assets/templates/_table_of_contents.phtml +++ b/assets/templates/_table_of_contents.phtml @@ -14,6 +14,7 @@
  • Classes: Introduction
  • Classes: Inheritance
  • Classes: Visibility
  • +
  • Classes: Constructor
  • Credits diff --git a/assets/templates/default.phtml b/assets/templates/default.phtml index b91a3d4..c6fcab0 100644 --- a/assets/templates/default.phtml +++ b/assets/templates/default.phtml @@ -1,4 +1,4 @@ - $title, 'description' => $description]) ?> + $title, 'subtitle' => $subtitle]) ?>