• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/main.php
  • Класс: CAllMain
  • Вызов: CAllMain::GetProperty
public function GetProperty($PROPERTY_ID, $default_value = false)
{
	$propVal = $this->GetPageProperty($PROPERTY_ID);
	if($propVal !== false)
		return $propVal;

	$propVal = $this->GetDirProperty($PROPERTY_ID);
	if($propVal !== false)
		return $propVal;

	return $default_value;
}