• Модуль: lists
  • Путь к файлу: ~/bitrix/modules/lists/classes/general/listfile.php
  • Класс: CListFile
  • Вызов: CListFile::__construct
function __construct($list_id, $section_id, $element_id, $field_id, $file_id)
{
	$this->_list_id = intval($list_id);
	$this->_section_id = intval($section_id);
	$this->_element_id = intval($element_id);
	$this->_field_id = $field_id;
	$this->_file_id = intval($file_id);
	$this->_socnet_group_id = "";

	$this->_file = CFile::GetFileArray($this->_file_id);
	if(is_array($this->_file))
	{
		$this->_width = intval($this->_file['WIDTH']);
		$this->_height = intval($this->_file['HEIGHT']);
	}
}