• Модуль: landing
  • Путь к файлу: ~/bitrix/modules/landing/lib/update/block/nodeattributes.php
  • Класс: BitrixLandingUpdateBlockNodeAttributes
  • Вызов: NodeAttributes::execute
public function execute(array &$result)
{
//		nothing to update
	$this->loadCurrentStatus();

	if (!$this->status['COUNT'])
	{
		self::finish();
		
		return self::STOP_EXECUTING;
	}

//		find option. If nothing - we update all
	$this->status['UPDATER_ID'] = $this->getUpdaterUniqueId();

	if (!$this->status['UPDATER_ID'])
	{
		self::finish();
		
		return self::STOP_EXECUTING;
	}
	
	$this->processBlocks();

//		was processing all data for current option
	if (!is_array($this->dataToUpdate['BLOCKS']) || empty($this->dataToUpdate['BLOCKS']))
	{
		$this->finishOption();
	}

	$result['count'] = $this->status['COUNT'];
	$result['steps'] = $this->status['STEPS'];
	
	return self::CONTINUE_EXECUTING;
}