diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Entry.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php index 9a7dd4e7..365030c7 100644 --- a/src/Wallabag/CoreBundle/Entity/Entry.php +++ b/src/Wallabag/CoreBundle/Entity/Entry.php | |||
@@ -685,6 +685,16 @@ class Entry | |||
685 | } | 685 | } |
686 | 686 | ||
687 | /** | 687 | /** |
688 | * Used in the entries filter so it's more explicit for the end user than the uid. | ||
689 | * | ||
690 | * @return bool | ||
691 | */ | ||
692 | public function isPublic() | ||
693 | { | ||
694 | return null !== $this->uid; | ||
695 | } | ||
696 | |||
697 | /** | ||
688 | * @return string | 698 | * @return string |
689 | */ | 699 | */ |
690 | public function getHttpStatus() | 700 | public function getHttpStatus() |