Esempio n. 1
0
 /**
  * Marks end of the dynamic block if it's the current dynamic block
  * and its start was being marked early.
  *
  * @deprecated
  * @param string $id Unique identifier of the block.
  * @param string $stub Html to use as stub.
  * @param string $containerId Identifier of the html container.
  * @param boolean $useBrowserStorage Use browser storage for caching or not.
  * @param boolean $autoUpdate Automatically or manually update block contents.
  * @param boolean $useAnimation Animation flag.
  *
  * @return boolean
  */
 public static function finishDynamicWithID($id, $stub = "", $containerId = null, $useBrowserStorage = false, $autoUpdate = true, $useAnimation = false)
 {
     $curDynamicArea = FrameStatic::getCurrentDynamicArea();
     if ($curDynamicArea === null || $curDynamicArea->getId() !== $id) {
         return false;
     }
     $curDynamicArea->setStub($stub);
     $curDynamicArea->setContainerId($containerId);
     $curDynamicArea->setBrowserStorage($useBrowserStorage);
     $curDynamicArea->setAutoUpdate($autoUpdate);
     $curDynamicArea->setAnimation($useAnimation);
     return $curDynamicArea->finishDynamicArea();
 }
Esempio n. 2
0
if ($isIndexPage) {
    ?>
									<div id="sidebar"><?php 
    $APPLICATION->SetPageProperty("BodyClass", "start-page");
    $APPLICATION->ShowViewContent("sidebar");
    ?>
									</div>
									<?php 
}
?>
								</td>
							</tr>
						</table>
<?php 
if ($isCompositeMode && !$isIndexPage) {
    $dynamicArea = \Bitrix\Main\Page\FrameStatic::getCurrentDynamicArea();
    if ($dynamicArea !== null) {
        $dynamicArea->finishDynamicArea();
    }
}
?>
					</td>
				</tr>
				<tr>
					<td class="bx-layout-inner-left"></td>
					<td class="bx-layout-inner-center">
						<table class="bx-layout-inner-inner-table">
							<colgroup>
								<col class="bx-layout-inner-inner-cont">
								<col class="bx-layout-inner-inner-right">
							</colgroup>