@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Jacobemerick\Web\Domain\Waterfall\Companion; |
4 | 4 | |
5 | -interface CompanionRepositoryInterface |
|
6 | -{ |
|
5 | +interface CompanionRepositoryInterface |
|
6 | +{ |
|
7 | 7 | public function getCompanionList(); |
8 | 8 | } |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Jacobemerick\Web\Domain\Blog\Post; |
4 | 4 | |
5 | -interface PostRepositoryInterface |
|
6 | -{ |
|
5 | +interface PostRepositoryInterface |
|
6 | +{ |
|
7 | 7 | public function findPostByPath($path); |
8 | 8 | public function getActivePosts($limit = null, $offset= 0); |
9 | 9 | public function getActivePostsCount(); |
@@ -5,7 +5,7 @@ |
||
5 | 5 | interface PostRepositoryInterface |
6 | 6 | { |
7 | 7 | public function findPostByPath($path); |
8 | - public function getActivePosts($limit = null, $offset= 0); |
|
8 | + public function getActivePosts($limit = null, $offset = 0); |
|
9 | 9 | public function getActivePostsCount(); |
10 | 10 | public function getActivePostsByTag($tag, $limit = null, $offset = 0); |
11 | 11 | public function getActivePostsCountByTag($tag); |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Jacobemerick\Web\Domain\Blog\Series; |
4 | 4 | |
5 | -interface SeriesRepositoryInterface |
|
6 | -{ |
|
5 | +interface SeriesRepositoryInterface |
|
6 | +{ |
|
7 | 7 | public function getSeriesForPost($post); |
8 | 8 | } |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Jacobemerick\Web\Domain\Blog\Tag; |
4 | 4 | |
5 | -interface TagRepositoryInterface |
|
6 | -{ |
|
5 | +interface TagRepositoryInterface |
|
6 | +{ |
|
7 | 7 | public function findTagByTitle($title); |
8 | 8 | public function getAllTags(); |
9 | 9 | public function getTagCloud(); |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Jacobemerick\Web\Domain\Blog\Introduction; |
4 | 4 | |
5 | -interface IntroductionRepositoryInterface |
|
6 | -{ |
|
5 | +interface IntroductionRepositoryInterface |
|
6 | +{ |
|
7 | 7 | public function findByType($type, $value = ''); |
8 | 8 | } |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Jacobemerick\Web\Domain\Stream\Changelog; |
4 | 4 | |
5 | -interface ChangelogRepositoryInterface |
|
6 | -{ |
|
5 | +interface ChangelogRepositoryInterface |
|
6 | +{ |
|
7 | 7 | public function getChanges($limit = null, $offset = 0); |
8 | 8 | } |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Jacobemerick\Web\Domain\Stream\Activity; |
4 | 4 | |
5 | -interface ActivityRepositoryInterface |
|
6 | -{ |
|
5 | +interface ActivityRepositoryInterface |
|
6 | +{ |
|
7 | 7 | public function getActivityById($id); |
8 | 8 | public function getActivities($limit = null, $offset = 0); |
9 | 9 | public function getActivitiesCount(); |
@@ -5,9 +5,9 @@ discard block |
||
5 | 5 | final class PhotoCollector extends Collector |
6 | 6 | { |
7 | 7 | |
8 | - public static function fetchRow($category, $photo) |
|
9 | - { |
|
10 | - $query = " |
|
8 | + public static function fetchRow($category, $photo) |
|
9 | + { |
|
10 | + $query = " |
|
11 | 11 | SELECT |
12 | 12 | `photo`.`name`, |
13 | 13 | `photo_category`.`name` AS `category`, |
@@ -24,12 +24,12 @@ discard block |
||
24 | 24 | `photo`.`name` = '{$photo}' && |
25 | 25 | `photo_category`.`name` = '{$category}' |
26 | 26 | LIMIT 1"; |
27 | - return self::run_row_query($query); |
|
28 | - } |
|
27 | + return self::run_row_query($query); |
|
28 | + } |
|
29 | 29 | |
30 | - public static function getRow($id) |
|
31 | - { |
|
32 | - $query = " |
|
30 | + public static function getRow($id) |
|
31 | + { |
|
32 | + $query = " |
|
33 | 33 | SELECT |
34 | 34 | `photo`.`name`, |
35 | 35 | `photo_category`.`name` AS `category`, |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | `photo`.`photographer` = `photographer`.`id` && |
46 | 46 | `photo`.`id` = '{$id}' |
47 | 47 | LIMIT 1"; |
48 | - return self::run_row_query($query); |
|
49 | - } |
|
48 | + return self::run_row_query($query); |
|
49 | + } |
|
50 | 50 | |
51 | 51 | } |
@@ -2,11 +2,11 @@ discard block |
||
2 | 2 | |
3 | 3 | Loader::load('collector', 'Collector'); |
4 | 4 | |
5 | -final class PhotoCollector extends Collector |
|
6 | -{ |
|
5 | +final class PhotoCollector extends Collector |
|
6 | +{ |
|
7 | 7 | |
8 | - public static function fetchRow($category, $photo) |
|
9 | - { |
|
8 | + public static function fetchRow($category, $photo) |
|
9 | + { |
|
10 | 10 | $query = " |
11 | 11 | SELECT |
12 | 12 | `photo`.`name`, |
@@ -27,8 +27,8 @@ discard block |
||
27 | 27 | return self::run_row_query($query); |
28 | 28 | } |
29 | 29 | |
30 | - public static function getRow($id) |
|
31 | - { |
|
30 | + public static function getRow($id) |
|
31 | + { |
|
32 | 32 | $query = " |
33 | 33 | SELECT |
34 | 34 | `photo`.`name`, |
@@ -5,9 +5,9 @@ discard block |
||
5 | 5 | final class AlbumCollector extends Collector |
6 | 6 | { |
7 | 7 | |
8 | - public static function getPhotoListForAlbum($album) |
|
9 | - { |
|
10 | - $query = " |
|
8 | + public static function getPhotoListForAlbum($album) |
|
9 | + { |
|
10 | + $query = " |
|
11 | 11 | SELECT |
12 | 12 | `photo`.`name`, |
13 | 13 | `photo_category`.`name` AS `category`, |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | ORDER BY |
39 | 39 | `photo`.`date_taken`"; |
40 | 40 | |
41 | - return self::run_query($query); |
|
42 | - } |
|
41 | + return self::run_query($query); |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
45 | 45 | \ No newline at end of file |
@@ -2,11 +2,11 @@ |
||
2 | 2 | |
3 | 3 | Loader::load('collector', 'Collector'); |
4 | 4 | |
5 | -final class AlbumCollector extends Collector |
|
6 | -{ |
|
5 | +final class AlbumCollector extends Collector |
|
6 | +{ |
|
7 | 7 | |
8 | - public static function getPhotoListForAlbum($album) |
|
9 | - { |
|
8 | + public static function getPhotoListForAlbum($album) |
|
9 | + { |
|
10 | 10 | $query = " |
11 | 11 | SELECT |
12 | 12 | `photo`.`name`, |