<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.dom.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'enum.dom-adjacentposition.php',
    1 => 'Dom\\AdjacentPosition',
    2 => 'The Dom\\AdjacentPosition Enum',
  ),
  'up' => 
  array (
    0 => 'book.dom.php',
    1 => 'DOM',
  ),
  'prev' => 
  array (
    0 => 'domxpath.registerphpfunctions.php',
    1 => 'DOMXPath::registerPhpFunctions',
  ),
  'next' => 
  array (
    0 => 'class.dom-attr.php',
    1 => 'Dom\\Attr',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/dom/dom/dom-adjacentposition.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="enum.dom-adjacentposition" class="reference">
 <h1 class="title">The Dom\AdjacentPosition Enum</h1>
 

 <div class="partintro"><p class="verinfo">(PHP 8 &gt;= 8.4.0)</p>
  <div class="section" id="enum.dom-adjacentposition.intro">
   <h2 class="title">Вступ</h2>
   <p class="simpara">
    The <span class="enumname"><strong class="enumname">AdjacentPosition</strong></span> enum is used to specify
    where, relative to the context element, insertion should be performed
    using <span class="methodname"><strong>Dom\Element::insertAdjacentElement()</strong></span>
    or <span class="methodname"><strong>Dom\Element::insertAdjacentText()</strong></span>.
   </p>
  </div>

  <div class="section" id="enum.dom-adjacentposition.synopsis">
   <h2 class="title">Кородкий огляд переліку</h2>

   <div class="classsynopsis"><div class="classsynopsisinfo">
    <span class="modifier">enum</span> <strong class="classname"><strong class="enumname">AdjacentPosition</strong></strong><br/>{</div>

    <div class="fieldsynopsis">
         <span class="modifier">case</span>  <span class="classname">BeforeBegin</span>
     ; //
      Insert before the context element.
      This is only possible if the element is in a document and has a parent.
     <br><br>
    </div>

    <div class="fieldsynopsis">
         <span class="modifier">case</span>  <span class="classname">AfterBegin</span>
     ; //
      Insert before the first child of the context element.
     <br><br>
    </div>

    <div class="fieldsynopsis">
         <span class="modifier">case</span>  <span class="classname">BeforeEnd</span>
     ; //
      Insert after the last child of the context element.
     <br><br>
    </div>

    <div class="fieldsynopsis">
         <span class="modifier">case</span>  <span class="classname">AfterEnd</span>
     ; //
      Insert after the context element.
      This is only possible if the element is in a document and has a parent.
     <br><br>
    </div>

   }</div>
  </div>
 </div>
</div>
<?php manual_footer($setup); ?>