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