@@ -2,7 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Jacobemerick\Web\Domain\Waterfall\Period; |
| 4 | 4 | |
| 5 | -interface PeriodRepositoryInterface |
|
| 6 | -{ |
|
| 5 | +interface PeriodRepositoryInterface |
|
| 6 | +{
|
|
| 7 | 7 | public function getPeriodList(); |
| 8 | 8 | } |
@@ -2,7 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Jacobemerick\Web\Domain\Waterfall\Watercourse; |
| 4 | 4 | |
| 5 | -interface WatercourseRepositoryInterface |
|
| 6 | -{ |
|
| 5 | +interface WatercourseRepositoryInterface |
|
| 6 | +{
|
|
| 7 | 7 | public function getWatercourseList(); |
| 8 | 8 | } |
@@ -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,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`, |