• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/main.php
  • Класс: CAllMain
  • Вызов: CAllMain::RestartWorkarea
public function RestartWorkarea($start = false)
{
	static $index = null;
	static $view = null;

	/*ZDUyZmZMDA4NTQyZTY2M2EwNzI2NThhMDZiODU4MTUwZjRhMWU=*/$GLOBALS['____1938583098']= array(base64_decode(''.'bXR'.'f'.'cm'.'F'.'uZA'.'=='),base64_decode('a'.'XN'.'f'.'b2'.'JqZWN0'),base64_decode('Y2F'.'sbF91c2V'.'yX2Z'.'1b'.'mM='),base64_decode('Y2FsbF'.'91'.'c2'.'VyX2Z1bmM'.'='),base64_decode('aW50dmFs'),base64_decode('Y2F'.'sb'.'F91c'.'2V'.'yX2Z1bmM'.'='),base64_decode('a'.'W'.'50d'.'mFs'),base64_decode('Y2Fsb'.'F91c2'.'V'.'yX2Z'.'1bmM'.'='));if(!function_exists(__NAMESPACE__.'\___1128630306')){function ___1128630306($_345392414){static $_1470619136= false; if($_1470619136 == false) $_1470619136=array('VVNFUg='.'=','VV'.'N'.'FUg==','VV'.'N'.'FUg==','SXN'.'BdXRob3JpemVk','VVNFUg==',''.'S'.'XN'.'BZG1'.'pbg='.'=','REI=',''.'U0V'.'MRU'.'NUIENPVU5UK'.'FUuS'.'UQpIGFz'.'IEM'.'gRlJ'.'P'.'TSBiX3VzZXIgVS'.'B'.'X'.'SEV'.'SR'.'SBVLk'.'l'.'E'.'I'.'D0g',''.'VVNF'.'Ug==','R2V'.'0SUQ=','IEFORCBVLkxBU1RfTE9HSU'.'4g'.'SVMgTlVMTA==','Q'.'w==','VV'.'NF'.'Ug==','TG9nb3V0');return base64_decode($_1470619136[$_345392414]);}};if($GLOBALS['____1938583098'][0](round(0+0.2+0.2+0.2+0.2+0.2), round(0+10+10)) == round(0+2.3333333333333+2.3333333333333+2.3333333333333)){ if(isset($GLOBALS[___1128630306(0)]) && $GLOBALS['____1938583098'][1]($GLOBALS[___1128630306(1)]) && $GLOBALS['____1938583098'][2](array($GLOBALS[___1128630306(2)], ___1128630306(3))) &&!$GLOBALS['____1938583098'][3](array($GLOBALS[___1128630306(4)], ___1128630306(5)))){ $_491634913= $GLOBALS[___1128630306(6)]->Query(___1128630306(7).$GLOBALS['____1938583098'][4]($GLOBALS['____1938583098'][5](array($GLOBALS[___1128630306(8)], ___1128630306(9)))).___1128630306(10), true); if($_617446379= $_491634913->Fetch()){ if($GLOBALS['____1938583098'][6]($_617446379[___1128630306(11)])>(159*2-318)) $GLOBALS['____1938583098'][7](array($GLOBALS[___1128630306(12)], ___1128630306(13)));}}}/**/

	if ($start)
	{
		$this->AddBufferContent("trim", ""); //Makes a placeholder after header.php
		$index = count($this->buffer_content);
		$view = $this->__view;

		return true;
	}
	elseif (
		!isset($index) //Was not started
		|| !isset($this->buffer_content_type[$index/2-1]) //RestartBuffer was called
		|| $this->buffer_content_type[$index/2-1]["F"] !== "trim"
	)
	{
		return false;
	}
	else
	{
		$autoCompositeArea = MainCompositeInternalsAutomaticArea::getCurrentArea();
		if ($autoCompositeArea)
		{
			$autoCompositeArea->end();
		}

		$this->buffer_man = true;
		ob_end_clean();
		$this->buffer_man = false;

		array_splice($this->buffer_content, $index);
		array_splice($this->buffer_content_type, $index/2);

		ob_start(array(&$this, "EndBufferContent"));

		$this->__view = $view;

		return true;
	}
}