1
0
Fork 0
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:
Jeremy Benoist 2017-06-10 15:00:52 +02:00
parent 873f6b8e03
commit e8911f7c09
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
16 changed files with 76 additions and 0 deletions

View file

@ -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
*/