• Модуль: intranet
  • Путь к файлу: ~/bitrix/modules/intranet/lib/component/userprofile.php
  • Класс: BitrixIntranetComponentUserProfile
  • Вызов: UserProfile::getProfilePostInstance
protected function getProfilePostInstance()
{
	if ($this->profilePost === null)
	{
		$this->profilePost = new BitrixIntranetComponentUserProfileProfilePost([
			'profileId' => $this->arParams['ID'],
			'pathToPostEdit' => $this->arParams['PATH_TO_POST_EDIT_PROFILE'],
			'pathToUser' => $this->arParams['PATH_TO_USER'],
			'permissions' => $this->getPermissions(),
		]);
	}
	return $this->profilePost;
}