@@ -5,29 +5,29 @@ |
||
5 | 5 | abstract class Collector |
6 | 6 | { |
7 | 7 | |
8 | - protected static function run_query($query) |
|
9 | - { |
|
10 | - return Database::select($query); |
|
11 | - } |
|
12 | - |
|
13 | - protected static function run_row_query($query) |
|
14 | - { |
|
15 | - return Database::selectRow($query); |
|
16 | - } |
|
17 | - |
|
18 | - protected static function get_count($query) |
|
19 | - { |
|
20 | - return Database::selectRow($query)->count; |
|
21 | - } |
|
22 | - |
|
23 | - protected static function check_exists($query) |
|
24 | - { |
|
25 | - return Database::selectRow($query) !== null; |
|
26 | - } |
|
27 | - |
|
28 | - protected static function escape($string) |
|
29 | - { |
|
30 | - return Database::escape($string); |
|
31 | - } |
|
8 | + protected static function run_query($query) |
|
9 | + { |
|
10 | + return Database::select($query); |
|
11 | + } |
|
12 | + |
|
13 | + protected static function run_row_query($query) |
|
14 | + { |
|
15 | + return Database::selectRow($query); |
|
16 | + } |
|
17 | + |
|
18 | + protected static function get_count($query) |
|
19 | + { |
|
20 | + return Database::selectRow($query)->count; |
|
21 | + } |
|
22 | + |
|
23 | + protected static function check_exists($query) |
|
24 | + { |
|
25 | + return Database::selectRow($query) !== null; |
|
26 | + } |
|
27 | + |
|
28 | + protected static function escape($string) |
|
29 | + { |
|
30 | + return Database::escape($string); |
|
31 | + } |
|
32 | 32 | |
33 | 33 | } |
@@ -2,31 +2,31 @@ |
||
2 | 2 | |
3 | 3 | Loader::loadInstance('utility', 'Database'); |
4 | 4 | |
5 | -abstract class Collector |
|
6 | -{ |
|
5 | +abstract class Collector |
|
6 | +{ |
|
7 | 7 | |
8 | - protected static function run_query($query) |
|
9 | - { |
|
8 | + protected static function run_query($query) |
|
9 | + { |
|
10 | 10 | return Database::select($query); |
11 | 11 | } |
12 | 12 | |
13 | - protected static function run_row_query($query) |
|
14 | - { |
|
13 | + protected static function run_row_query($query) |
|
14 | + { |
|
15 | 15 | return Database::selectRow($query); |
16 | 16 | } |
17 | 17 | |
18 | - protected static function get_count($query) |
|
19 | - { |
|
18 | + protected static function get_count($query) |
|
19 | + { |
|
20 | 20 | return Database::selectRow($query)->count; |
21 | 21 | } |
22 | 22 | |
23 | - protected static function check_exists($query) |
|
24 | - { |
|
23 | + protected static function check_exists($query) |
|
24 | + { |
|
25 | 25 | return Database::selectRow($query) !== null; |
26 | 26 | } |
27 | 27 | |
28 | - protected static function escape($string) |
|
29 | - { |
|
28 | + protected static function escape($string) |
|
29 | + { |
|
30 | 30 | return Database::escape($string); |
31 | 31 | } |
32 | 32 |
@@ -5,19 +5,19 @@ discard block |
||
5 | 5 | abstract class DefaultPageController extends PageController |
6 | 6 | { |
7 | 7 | |
8 | - protected static $WEBSITE_TITLE = 'Waterfalls of the Keweenaw'; |
|
9 | - protected static $PAGE_DESCRIPTION_LIMIT = 250; |
|
8 | + protected static $WEBSITE_TITLE = 'Waterfalls of the Keweenaw'; |
|
9 | + protected static $PAGE_DESCRIPTION_LIMIT = 250; |
|
10 | 10 | |
11 | - protected static $WATERFALL_SITE_ID = 5; |
|
11 | + protected static $WATERFALL_SITE_ID = 5; |
|
12 | 12 | |
13 | 13 | protected $parent_navigation_item = ''; |
14 | 14 | |
15 | - protected function set_head_data() |
|
16 | - { |
|
17 | - $this->set_head('google_verification', 'm9ua4n8lp4FUYYa2UOh51UyZYfdivl-kRTtXKwaH0-s'); |
|
18 | - $this->add_css('normalize'); |
|
19 | - $this->add_css('waterfalls'); |
|
20 | - } |
|
15 | + protected function set_head_data() |
|
16 | + { |
|
17 | + $this->set_head('google_verification', 'm9ua4n8lp4FUYYa2UOh51UyZYfdivl-kRTtXKwaH0-s'); |
|
18 | + $this->add_css('normalize'); |
|
19 | + $this->add_css('waterfalls'); |
|
20 | + } |
|
21 | 21 | |
22 | 22 | protected function add_waterfall_js() |
23 | 23 | { |
@@ -26,9 +26,9 @@ discard block |
||
26 | 26 | $this->add_js('waterfalls'); |
27 | 27 | } |
28 | 28 | |
29 | - protected function set_body_data($page_type = 'normal') |
|
30 | - { |
|
31 | - $this->set_body('activity_array', $this->get_recent_activity()); |
|
29 | + protected function set_body_data($page_type = 'normal') |
|
30 | + { |
|
31 | + $this->set_body('activity_array', $this->get_recent_activity()); |
|
32 | 32 | |
33 | 33 | $this->set_body('main_navigation', array( |
34 | 34 | (object) array( |
@@ -2,8 +2,8 @@ discard block |
||
2 | 2 | |
3 | 3 | Loader::load('controller', '/PageController'); |
4 | 4 | |
5 | -abstract class DefaultPageController extends PageController |
|
6 | -{ |
|
5 | +abstract class DefaultPageController extends PageController |
|
6 | +{ |
|
7 | 7 | |
8 | 8 | protected static $WEBSITE_TITLE = 'Waterfalls of the Keweenaw'; |
9 | 9 | protected static $PAGE_DESCRIPTION_LIMIT = 250; |
@@ -12,22 +12,22 @@ discard block |
||
12 | 12 | |
13 | 13 | protected $parent_navigation_item = ''; |
14 | 14 | |
15 | - protected function set_head_data() |
|
16 | - { |
|
15 | + protected function set_head_data() |
|
16 | + { |
|
17 | 17 | $this->set_head('google_verification', 'm9ua4n8lp4FUYYa2UOh51UyZYfdivl-kRTtXKwaH0-s'); |
18 | 18 | $this->add_css('normalize'); |
19 | 19 | $this->add_css('waterfalls'); |
20 | 20 | } |
21 | 21 | |
22 | - protected function add_waterfall_js() |
|
23 | - { |
|
22 | + protected function add_waterfall_js() |
|
23 | + { |
|
24 | 24 | $this->add_js('jquery'); |
25 | 25 | $this->add_js('imagelightbox'); |
26 | 26 | $this->add_js('waterfalls'); |
27 | 27 | } |
28 | 28 | |
29 | - protected function set_body_data($page_type = 'normal') |
|
30 | - { |
|
29 | + protected function set_body_data($page_type = 'normal') |
|
30 | + { |
|
31 | 31 | $this->set_body('activity_array', $this->get_recent_activity()); |
32 | 32 | |
33 | 33 | $this->set_body('main_navigation', array( |
@@ -6,25 +6,25 @@ |
||
6 | 6 | abstract class DefaultPageController extends PageController |
7 | 7 | { |
8 | 8 | |
9 | - protected $activityRepository; |
|
9 | + protected $activityRepository; |
|
10 | 10 | |
11 | - public function __construct() |
|
12 | - { |
|
11 | + public function __construct() |
|
12 | + { |
|
13 | 13 | parent::__construct(); |
14 | 14 | |
15 | 15 | global $container; |
16 | 16 | $this->activityRepository = new Jacobemerick\Web\Domain\Stream\Activity\MysqlActivityRepository($container['db_connection_locator']); |
17 | - } |
|
18 | - |
|
19 | - protected function set_head_data() |
|
20 | - { |
|
21 | - $this->add_css('normalize'); |
|
22 | - $this->add_css('lifestream', 2); |
|
23 | - } |
|
24 | - |
|
25 | - protected function set_body_data() |
|
26 | - { |
|
27 | - $this->set_body_view('Page'); |
|
28 | - } |
|
17 | + } |
|
18 | + |
|
19 | + protected function set_head_data() |
|
20 | + { |
|
21 | + $this->add_css('normalize'); |
|
22 | + $this->add_css('lifestream', 2); |
|
23 | + } |
|
24 | + |
|
25 | + protected function set_body_data() |
|
26 | + { |
|
27 | + $this->set_body_view('Page'); |
|
28 | + } |
|
29 | 29 | |
30 | 30 | } |
@@ -3,27 +3,27 @@ |
||
3 | 3 | Loader::load('controller', '/PageController'); |
4 | 4 | Loader::load('utility', 'Content'); |
5 | 5 | |
6 | -abstract class DefaultPageController extends PageController |
|
7 | -{ |
|
6 | +abstract class DefaultPageController extends PageController |
|
7 | +{ |
|
8 | 8 | |
9 | 9 | protected $activityRepository; |
10 | 10 | |
11 | - public function __construct() |
|
12 | - { |
|
11 | + public function __construct() |
|
12 | + { |
|
13 | 13 | parent::__construct(); |
14 | 14 | |
15 | 15 | global $container; |
16 | 16 | $this->activityRepository = new Jacobemerick\Web\Domain\Stream\Activity\MysqlActivityRepository($container['db_connection_locator']); |
17 | 17 | } |
18 | 18 | |
19 | - protected function set_head_data() |
|
20 | - { |
|
19 | + protected function set_head_data() |
|
20 | + { |
|
21 | 21 | $this->add_css('normalize'); |
22 | 22 | $this->add_css('lifestream', 2); |
23 | 23 | } |
24 | 24 | |
25 | - protected function set_body_data() |
|
26 | - { |
|
25 | + protected function set_body_data() |
|
26 | + { |
|
27 | 27 | $this->set_body_view('Page'); |
28 | 28 | } |
29 | 29 |
@@ -5,33 +5,33 @@ |
||
5 | 5 | final class AboutController extends DefaultPageController |
6 | 6 | { |
7 | 7 | |
8 | - private static $TITLE = "About | What's a Lifestream?"; |
|
9 | - private static $DESCRIPTION = 'A breakdown of what a lifestream is, why Jacob Emerick made one, and how he made it.'; |
|
8 | + private static $TITLE = "About | What's a Lifestream?"; |
|
9 | + private static $DESCRIPTION = 'A breakdown of what a lifestream is, why Jacob Emerick made one, and how he made it.'; |
|
10 | 10 | |
11 | - private static $KEYWORD_ARRAY = array( |
|
12 | - 'about', |
|
13 | - 'lifestream', |
|
14 | - 'feed', |
|
15 | - 'activity stream', |
|
16 | - 'Jacob Emerick', |
|
17 | - 'jpemeric'); |
|
11 | + private static $KEYWORD_ARRAY = array( |
|
12 | + 'about', |
|
13 | + 'lifestream', |
|
14 | + 'feed', |
|
15 | + 'activity stream', |
|
16 | + 'Jacob Emerick', |
|
17 | + 'jpemeric'); |
|
18 | 18 | |
19 | - protected function set_head_data() |
|
20 | - { |
|
21 | - $this->set_title(self::$TITLE); |
|
22 | - $this->set_description(self::$DESCRIPTION); |
|
23 | - $this->set_keywords(self::$KEYWORD_ARRAY); |
|
19 | + protected function set_head_data() |
|
20 | + { |
|
21 | + $this->set_title(self::$TITLE); |
|
22 | + $this->set_description(self::$DESCRIPTION); |
|
23 | + $this->set_keywords(self::$KEYWORD_ARRAY); |
|
24 | 24 | |
25 | - parent::set_head_data(); |
|
26 | - } |
|
25 | + parent::set_head_data(); |
|
26 | + } |
|
27 | 27 | |
28 | - protected function set_body_data() |
|
29 | - { |
|
30 | - $this->set_body('title', "WHAT'S A LIFESTREAM?"); |
|
31 | - $this->set_body('type', 'about'); |
|
32 | - $this->set_body('view', 'About'); |
|
28 | + protected function set_body_data() |
|
29 | + { |
|
30 | + $this->set_body('title', "WHAT'S A LIFESTREAM?"); |
|
31 | + $this->set_body('type', 'about'); |
|
32 | + $this->set_body('view', 'About'); |
|
33 | 33 | |
34 | - parent::set_body_data(); |
|
35 | - } |
|
34 | + parent::set_body_data(); |
|
35 | + } |
|
36 | 36 | |
37 | 37 | } |
38 | 38 | \ No newline at end of file |
@@ -2,8 +2,8 @@ discard block |
||
2 | 2 | |
3 | 3 | Loader::load('controller', 'home/DefaultPageController'); |
4 | 4 | |
5 | -final class AboutController extends DefaultPageController |
|
6 | -{ |
|
5 | +final class AboutController extends DefaultPageController |
|
6 | +{ |
|
7 | 7 | |
8 | 8 | private static $TITLE = 'About | Jacob Emerick'; |
9 | 9 | private static $DESCRIPTION = 'Some basic information about Jacob Emerick and his past, web development, and hiking adventures'; |
@@ -17,8 +17,8 @@ discard block |
||
17 | 17 | 'web developer', |
18 | 18 | 'hiker'); |
19 | 19 | |
20 | - protected function set_head_data() |
|
21 | - { |
|
20 | + protected function set_head_data() |
|
21 | + { |
|
22 | 22 | $this->set_title(self::$TITLE); |
23 | 23 | $this->set_description(self::$DESCRIPTION); |
24 | 24 | $this->set_keywords(self::$KEYWORD_ARRAY); |
@@ -26,8 +26,8 @@ discard block |
||
26 | 26 | parent::set_head_data(); |
27 | 27 | } |
28 | 28 | |
29 | - protected function set_body_data() |
|
30 | - { |
|
29 | + protected function set_body_data() |
|
30 | + { |
|
31 | 31 | $this->set_body_view('About'); |
32 | 32 | |
33 | 33 | parent::set_body_data(); |
@@ -5,20 +5,20 @@ |
||
5 | 5 | class Error503Controller extends PageController |
6 | 6 | { |
7 | 7 | |
8 | - protected function set_head_data() |
|
9 | - { |
|
10 | - $this->set_header_method('send503'); |
|
11 | - $this->add_css('normalize'); |
|
12 | - $this->add_css('503'); |
|
8 | + protected function set_head_data() |
|
9 | + { |
|
10 | + $this->set_header_method('send503'); |
|
11 | + $this->add_css('normalize'); |
|
12 | + $this->add_css('503'); |
|
13 | 13 | |
14 | - $this->set_title("Jacob Emerick's 503 Page"); |
|
15 | - $this->set_description('Global 503 page for sites under jacobemerick.com. Page not found!'); |
|
16 | - $this->set_keywords(array()); |
|
17 | - } |
|
14 | + $this->set_title("Jacob Emerick's 503 Page"); |
|
15 | + $this->set_description('Global 503 page for sites under jacobemerick.com. Page not found!'); |
|
16 | + $this->set_keywords(array()); |
|
17 | + } |
|
18 | 18 | |
19 | - protected function set_body_data() |
|
20 | - { |
|
21 | - $this->set_body_view('/503'); |
|
22 | - } |
|
19 | + protected function set_body_data() |
|
20 | + { |
|
21 | + $this->set_body_view('/503'); |
|
22 | + } |
|
23 | 23 | |
24 | 24 | } |
@@ -2,11 +2,11 @@ discard block |
||
2 | 2 | |
3 | 3 | Loader::load('controller', '/PageController'); |
4 | 4 | |
5 | -class Error503Controller extends PageController |
|
6 | -{ |
|
5 | +class Error503Controller extends PageController |
|
6 | +{ |
|
7 | 7 | |
8 | - protected function set_head_data() |
|
9 | - { |
|
8 | + protected function set_head_data() |
|
9 | + { |
|
10 | 10 | $this->set_header_method('send503'); |
11 | 11 | $this->add_css('normalize'); |
12 | 12 | $this->add_css('503'); |
@@ -16,8 +16,8 @@ discard block |
||
16 | 16 | $this->set_keywords(array()); |
17 | 17 | } |
18 | 18 | |
19 | - protected function set_body_data() |
|
20 | - { |
|
19 | + protected function set_body_data() |
|
20 | + { |
|
21 | 21 | $this->set_body_view('/503'); |
22 | 22 | } |
23 | 23 |
@@ -5,13 +5,13 @@ |
||
5 | 5 | class Error301Controller extends PageController |
6 | 6 | { |
7 | 7 | |
8 | - public function __construct($uri) |
|
9 | - { |
|
10 | - Header::redirect($uri); |
|
11 | - exit; |
|
12 | - } |
|
8 | + public function __construct($uri) |
|
9 | + { |
|
10 | + Header::redirect($uri); |
|
11 | + exit; |
|
12 | + } |
|
13 | 13 | |
14 | - protected function set_head_data() {} |
|
15 | - protected function set_body_data() {} |
|
14 | + protected function set_head_data() {} |
|
15 | + protected function set_body_data() {} |
|
16 | 16 | |
17 | 17 | } |
@@ -2,16 +2,20 @@ |
||
2 | 2 | |
3 | 3 | Loader::load('controller', '/PageController'); |
4 | 4 | |
5 | -class Error301Controller extends PageController |
|
6 | -{ |
|
5 | +class Error301Controller extends PageController |
|
6 | +{ |
|
7 | 7 | |
8 | - public function __construct($uri) |
|
9 | - { |
|
8 | + public function __construct($uri) |
|
9 | + { |
|
10 | 10 | Header::redirect($uri); |
11 | 11 | exit; |
12 | 12 | } |
13 | 13 | |
14 | - protected function set_head_data() {} |
|
15 | - protected function set_body_data() {} |
|
14 | + protected function set_head_data() |
|
15 | + { |
|
16 | +} |
|
17 | + protected function set_body_data() |
|
18 | + { |
|
19 | +} |
|
16 | 20 | |
17 | 21 | } |
@@ -5,15 +5,15 @@ |
||
5 | 5 | abstract class DefaultPageController extends PageController |
6 | 6 | { |
7 | 7 | |
8 | - protected function set_head_data() |
|
9 | - { |
|
10 | - $this->add_css('normalize'); |
|
11 | - $this->add_css('home'); |
|
12 | - } |
|
8 | + protected function set_head_data() |
|
9 | + { |
|
10 | + $this->add_css('normalize'); |
|
11 | + $this->add_css('home'); |
|
12 | + } |
|
13 | 13 | |
14 | - protected function set_body_data() |
|
15 | - { |
|
16 | - $this->set_body('activity_array', $this->get_recent_activity()); |
|
17 | - } |
|
14 | + protected function set_body_data() |
|
15 | + { |
|
16 | + $this->set_body('activity_array', $this->get_recent_activity()); |
|
17 | + } |
|
18 | 18 | |
19 | 19 | } |
@@ -2,17 +2,17 @@ |
||
2 | 2 | |
3 | 3 | Loader::load('controller', '/PageController'); |
4 | 4 | |
5 | -abstract class DefaultPageController extends PageController |
|
6 | -{ |
|
5 | +abstract class DefaultPageController extends PageController |
|
6 | +{ |
|
7 | 7 | |
8 | - protected function set_head_data() |
|
9 | - { |
|
8 | + protected function set_head_data() |
|
9 | + { |
|
10 | 10 | $this->add_css('normalize'); |
11 | 11 | $this->add_css('home'); |
12 | 12 | } |
13 | 13 | |
14 | - protected function set_body_data() |
|
15 | - { |
|
14 | + protected function set_body_data() |
|
15 | + { |
|
16 | 16 | $this->set_body('activity_array', $this->get_recent_activity()); |
17 | 17 | } |
18 | 18 |
@@ -5,32 +5,32 @@ |
||
5 | 5 | final class AboutController extends DefaultPageController |
6 | 6 | { |
7 | 7 | |
8 | - private static $TITLE = 'About | Jacob Emerick'; |
|
9 | - private static $DESCRIPTION = 'Some basic information about Jacob Emerick and his past, web development, and hiking adventures'; |
|
8 | + private static $TITLE = 'About | Jacob Emerick'; |
|
9 | + private static $DESCRIPTION = 'Some basic information about Jacob Emerick and his past, web development, and hiking adventures'; |
|
10 | 10 | |
11 | - private static $KEYWORD_ARRAY = array( |
|
12 | - 'Jacob Emerick', |
|
13 | - 'jacobemerick', |
|
14 | - 'jpemeric', |
|
15 | - 'about', |
|
16 | - 'bio', |
|
17 | - 'web developer', |
|
18 | - 'hiker'); |
|
11 | + private static $KEYWORD_ARRAY = array( |
|
12 | + 'Jacob Emerick', |
|
13 | + 'jacobemerick', |
|
14 | + 'jpemeric', |
|
15 | + 'about', |
|
16 | + 'bio', |
|
17 | + 'web developer', |
|
18 | + 'hiker'); |
|
19 | 19 | |
20 | - protected function set_head_data() |
|
21 | - { |
|
22 | - $this->set_title(self::$TITLE); |
|
23 | - $this->set_description(self::$DESCRIPTION); |
|
24 | - $this->set_keywords(self::$KEYWORD_ARRAY); |
|
20 | + protected function set_head_data() |
|
21 | + { |
|
22 | + $this->set_title(self::$TITLE); |
|
23 | + $this->set_description(self::$DESCRIPTION); |
|
24 | + $this->set_keywords(self::$KEYWORD_ARRAY); |
|
25 | 25 | |
26 | - parent::set_head_data(); |
|
27 | - } |
|
26 | + parent::set_head_data(); |
|
27 | + } |
|
28 | 28 | |
29 | - protected function set_body_data() |
|
30 | - { |
|
31 | - $this->set_body_view('About'); |
|
29 | + protected function set_body_data() |
|
30 | + { |
|
31 | + $this->set_body_view('About'); |
|
32 | 32 | |
33 | - parent::set_body_data(); |
|
34 | - } |
|
33 | + parent::set_body_data(); |
|
34 | + } |
|
35 | 35 | |
36 | 36 | } |
37 | 37 | \ No newline at end of file |
@@ -2,8 +2,8 @@ discard block |
||
2 | 2 | |
3 | 3 | Loader::load('controller', 'home/DefaultPageController'); |
4 | 4 | |
5 | -final class AboutController extends DefaultPageController |
|
6 | -{ |
|
5 | +final class AboutController extends DefaultPageController |
|
6 | +{ |
|
7 | 7 | |
8 | 8 | private static $TITLE = 'About | Jacob Emerick'; |
9 | 9 | private static $DESCRIPTION = 'Some basic information about Jacob Emerick and his past, web development, and hiking adventures'; |
@@ -17,8 +17,8 @@ discard block |
||
17 | 17 | 'web developer', |
18 | 18 | 'hiker'); |
19 | 19 | |
20 | - protected function set_head_data() |
|
21 | - { |
|
20 | + protected function set_head_data() |
|
21 | + { |
|
22 | 22 | $this->set_title(self::$TITLE); |
23 | 23 | $this->set_description(self::$DESCRIPTION); |
24 | 24 | $this->set_keywords(self::$KEYWORD_ARRAY); |
@@ -26,8 +26,8 @@ discard block |
||
26 | 26 | parent::set_head_data(); |
27 | 27 | } |
28 | 28 | |
29 | - protected function set_body_data() |
|
30 | - { |
|
29 | + protected function set_body_data() |
|
30 | + { |
|
31 | 31 | $this->set_body_view('About'); |
32 | 32 | |
33 | 33 | parent::set_body_data(); |
@@ -5,22 +5,22 @@ |
||
5 | 5 | final class TermsController extends DefaultPageController |
6 | 6 | { |
7 | 7 | |
8 | - protected function set_head_data() |
|
9 | - { |
|
10 | - $this->set_title("Terms of Use for Jacob Emerick's Sites"); |
|
11 | - $this->set_description("Some basic (and boring) legal jargon and perferred usage of the content on Jacob Emerick's sites. Includes re-use terms and advice on retracing hikes."); |
|
12 | - $this->set_keywords(array('terms of use', 'legal', 'accountability', 'trespassing', 'Jacob Emerick')); |
|
8 | + protected function set_head_data() |
|
9 | + { |
|
10 | + $this->set_title("Terms of Use for Jacob Emerick's Sites"); |
|
11 | + $this->set_description("Some basic (and boring) legal jargon and perferred usage of the content on Jacob Emerick's sites. Includes re-use terms and advice on retracing hikes."); |
|
12 | + $this->set_keywords(array('terms of use', 'legal', 'accountability', 'trespassing', 'Jacob Emerick')); |
|
13 | 13 | |
14 | - parent::set_head_data(); |
|
15 | - } |
|
14 | + parent::set_head_data(); |
|
15 | + } |
|
16 | 16 | |
17 | - protected function set_body_data() |
|
18 | - { |
|
19 | - $this->set_body('top_data', array('title' => 'Terms of Use')); |
|
17 | + protected function set_body_data() |
|
18 | + { |
|
19 | + $this->set_body('top_data', array('title' => 'Terms of Use')); |
|
20 | 20 | |
21 | - $this->set_body('body_view', 'Terms'); |
|
21 | + $this->set_body('body_view', 'Terms'); |
|
22 | 22 | |
23 | - parent::set_body_data(); |
|
24 | - } |
|
23 | + parent::set_body_data(); |
|
24 | + } |
|
25 | 25 | |
26 | 26 | } |
@@ -2,11 +2,11 @@ discard block |
||
2 | 2 | |
3 | 3 | Loader::load('controller', 'site/DefaultPageController'); |
4 | 4 | |
5 | -final class TermsController extends DefaultPageController |
|
6 | -{ |
|
5 | +final class TermsController extends DefaultPageController |
|
6 | +{ |
|
7 | 7 | |
8 | - protected function set_head_data() |
|
9 | - { |
|
8 | + protected function set_head_data() |
|
9 | + { |
|
10 | 10 | $this->set_title("Terms of Use for Jacob Emerick's Sites"); |
11 | 11 | $this->set_description("Some basic (and boring) legal jargon and perferred usage of the content on Jacob Emerick's sites. Includes re-use terms and advice on retracing hikes."); |
12 | 12 | $this->set_keywords(array('terms of use', 'legal', 'accountability', 'trespassing', 'Jacob Emerick')); |
@@ -14,8 +14,8 @@ discard block |
||
14 | 14 | parent::set_head_data(); |
15 | 15 | } |
16 | 16 | |
17 | - protected function set_body_data() |
|
18 | - { |
|
17 | + protected function set_body_data() |
|
18 | + { |
|
19 | 19 | $this->set_body('top_data', array('title' => 'Terms of Use')); |
20 | 20 | |
21 | 21 | $this->set_body('body_view', 'Terms'); |