См. определение в файле post.php строка 7
◆ buildPreview()
static buildPreview |
( |
array | $params | ) |
|
|
static |
Returns HTML code for blog post preview.
- Аргументы
-
array | $params | Expected keys: postId, userId. |
- Возвращает
- string
См. определение в файле post.php строка 14
◆ checkUserReadAccess()
static checkUserReadAccess |
( |
array | $params, |
|
|
| $userId ) |
|
static |
Returns true if current user has read access to the blog post.
- Аргументы
-
array | $params | Allowed keys: postId, userId. |
int | $userId | Current user's id. |
- Возвращает
- bool
См. определение в файле post.php строка 132
◆ getImAttach()
static getImAttach |
( |
array | $params | ) |
|
|
static |
Returns attach to display in the messenger.
- Аргументы
-
array | $params | Expected keys: postId, userId |
- Возвращает
- \CIMMessageParamAttach | false
См. определение в файле post.php строка 34
◆ getImRich()
static getImRich |
( |
array | $params | ) |
|
|
static |