mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-31 18:31:02 +00:00
Add isPublic filter on entries
This commit is contained in:
parent
873f6b8e03
commit
e8911f7c09
16 changed files with 76 additions and 0 deletions
|
@ -684,6 +684,16 @@ class Entry
|
|||
$this->uid = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Used in the entries filter so it's more explicit for the end user than the uid.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isPublic()
|
||||
{
|
||||
return null !== $this->uid;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue