• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/main.php
  • Класс: CAllMain
  • Вызов: CAllMain::SetDirProperty
public function SetDirProperty($PROPERTY_ID, $PROPERTY_VALUE, $path=false)
{
	self::InitPathVars($site, $path);

	if($path === false)
		$path = $this->GetCurDir();
	if($site === false)
		$site = SITE_ID;

	if(!isset($this->arDirProperties[$site][$path]))
		$this->InitDirProperties(array($site, $path));

	$this->arDirProperties[$site][$path][mb_strtoupper($PROPERTY_ID)] = $PROPERTY_VALUE;
}