UserPostQueries.php: add wildcard constants
This commit is contained in:
parent
f9fd71162b
commit
c4c99ee481
1 changed files with 9 additions and 0 deletions
|
@ -8,6 +8,15 @@ use Vichan\Functions\Net;
|
||||||
* Browse user posts
|
* Browse user posts
|
||||||
*/
|
*/
|
||||||
class UserPostQueries {
|
class UserPostQueries {
|
||||||
|
/**
|
||||||
|
* Text string for wildcard search with {@see self::searchPosts()}.
|
||||||
|
*/
|
||||||
|
public const SEARCH_POSTS_WILDCARD = '%';
|
||||||
|
/**
|
||||||
|
* Text string to escape the wildcard text with {@see self::searchPosts()}.
|
||||||
|
*/
|
||||||
|
public const SEARCH_POSTS_ESCAPED_WILDCARD = '%%';
|
||||||
|
|
||||||
private const CURSOR_TYPE_PREV = 'p';
|
private const CURSOR_TYPE_PREV = 'p';
|
||||||
private const CURSOR_TYPE_NEXT = 'n';
|
private const CURSOR_TYPE_NEXT = 'n';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue