forked from wallabag/wallabag
Add isPublic filter on entries
This commit is contained in:
@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user