|
const | PATTERN_USER = '/\[user\s*=\s*([^\]]*)\](.+?)\[\/user\]/is' . BX_UTF_PCRE_MODIFIER |
|
const | PATTERN_PROJECT = '/\[project\s*=\s*([^\]]*)\](.+?)\[\/project\]/is' . BX_UTF_PCRE_MODIFIER |
|
const | PATTERN_DEPARTMENT = '/\[department\s*=\s*([^\]]*)\](.+?)\[\/department\]/is' . BX_UTF_PCRE_MODIFIER |
|
См. определение в файле mention.php строка 11
◆ clear()
static clear |
( |
string | $text = '' | ) |
|
|
static |
Clears all the [user=N][/user] BB codes but preserves user names
- Аргументы
-
- Возвращает
- string processed text
См. определение в файле mention.php строка 98
◆ getDepartmentIds()
static getDepartmentIds |
( |
string | $text = '' | ) |
|
|
static |
◆ getDepartments()
static getDepartments |
( |
string | $text = '' | ) |
|
|
static |
◆ getEntitiesList()
static getEntitiesList |
( |
string | $text = '', |
|
|
string | $pattern = '' ) |
|
staticprotected |
◆ getPatternsList()
static getPatternsList |
( |
| ) |
|
|
staticprotected |
◆ getProjectIds()
static getProjectIds |
( |
string | $text = '' | ) |
|
|
static |
◆ getProjects()
static getProjects |
( |
string | $text = '' | ) |
|
|
static |
◆ getUserIds()
static getUserIds |
( |
string | $text = '' | ) |
|
|
static |
Processes text, parses all [user=N][/user] BB codes and returns user IDs
- Аргументы
-
- Возвращает
- array of user IDs
См. определение в файле mention.php строка 32
◆ getUsers()
static getUsers |
( |
string | $text = '' | ) |
|
|
static |
Processes text and parses all [user=N][/user] BB codes
- Аргументы
-
- Возвращает
- array of parsed used data (ID and NAME fields)
См. определение в файле mention.php строка 44
◆ PATTERN_DEPARTMENT
const PATTERN_DEPARTMENT = '/\[department\s*=\s*([^\]]*)\](.+?)\[\/department\]/is' . BX_UTF_PCRE_MODIFIER |
|
protected |
◆ PATTERN_PROJECT
const PATTERN_PROJECT = '/\[project\s*=\s*([^\]]*)\](.+?)\[\/project\]/is' . BX_UTF_PCRE_MODIFIER |
|
protected |
◆ PATTERN_USER
const PATTERN_USER = '/\[user\s*=\s*([^\]]*)\](.+?)\[\/user\]/is' . BX_UTF_PCRE_MODIFIER |
|
protected |