Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс Post

Открытые статические члены

static buildPreview (array $params)
 
static getImAttach (array $params)
 
static getImRich (array $params)
 
static checkUserReadAccess (array $params, $userId)
 

Подробное описание

См. определение в файле post.php строка 7

Методы

◆ buildPreview()

static buildPreview ( array $params)
static

Returns HTML code for blog post preview.

Аргументы
array$paramsExpected 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$paramsAllowed keys: postId, userId.
int$userIdCurrent user's id.
Возвращает
bool

См. определение в файле post.php строка 132

◆ getImAttach()

static getImAttach ( array $params)
static

Returns attach to display in the messenger.

Аргументы
array$paramsExpected keys: postId, userId
Возвращает
\CIMMessageParamAttach | false

См. определение в файле post.php строка 34

◆ getImRich()

static getImRich ( array $params)
static

См. определение в файле post.php строка 77