9namespace Bitrix\Socialnetwork\Helper;
13 protected const PATTERN_USER =
'/\[user\s*=\s*([^\]]*)\](.+?)\[\/user\]/isu';
14 protected const PATTERN_PROJECT =
'/\[project\s*=\s*([^\]]*)\](.+?)\[\/project\]/isu';
21 self::PATTERN_PROJECT,
22 self::PATTERN_DEPARTMENT,
35 return array_map(
function($item) {
return $item[
'ID']; }, $usersData);
52 return array_map(
function($item) {
return $item[
'ID']; }, $projectsData);
63 return array_map(
function($item) {
return $item[
'ID']; }, $departmentsData);
102 foreach (self::getPatternsList() as
$pattern)
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
static getUsers(string $text='')
static getDepartmentIds(string $text='')
static getUserIds(string $text='')
static clear(string $text='')
static getDepartments(string $text='')
static getProjects(string $text='')
static getProjectIds(string $text='')
static getEntitiesList(string $text='', string $pattern='')
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
if(empty($signedUserToken)) $key
if(!Loader::includeModule('sale')) $pattern