• Модуль: intranet
  • Путь к файлу: ~/bitrix/modules/intranet/lib/component/userprofile/profilepost.php
  • Класс: BitrixIntranetComponentUserProfileProfilePost
  • Вызов: ProfilePost::__construct
public function __construct($params)
{
	if (!empty($params['permissions']))
	{
		$this->permissions = $params['permissions'];
	}
	if (!empty($params['profileId']))
	{
		$this->profileId = intval($params['profileId']);
	}
	if (!empty($params['pathToPostEdit']))
	{
		$this->pathToPostEdit = $params['pathToPostEdit'];
	}
	if (!empty($params['pathToUser']))
	{
		$this->pathToUser = $params['pathToUser'];
	}
}