diff --git a/docs/en/030_Document_Object_Model/010_Comment.md b/docs/en/030_Document_Object_Model/010_Comment.md new file mode 100644 index 0000000..923fbcf --- /dev/null +++ b/docs/en/030_Document_Object_Model/010_Comment.md @@ -0,0 +1,63 @@ +--- +title: Comment +--- + +# The Comment Class # + +## Introduction ## + +

Info Only new methods and methods which make outward-facing changes from \DOMComment will be documented here, otherwise they will be linked back to PHP's documentation.

+ +## Class Synopsis ## + +
MensBeam\HTML\Comment extends \DOMComment {
+
+    use LeafNode, Moonwalk;
+
+    /* Inherited properties */
+    public string $data ;
+    public readonly int $length ;
+    public readonly string $nodeName ;
+    public string $nodeValue ;
+    public readonly int $nodeType ;
+    public readonly \DOMNode|null $parentNode ;
+    public readonly \DOMNodeList $childNodes ;
+    public readonly \DOMNode|null $firstChild ;
+    public readonly \DOMNode|null $lastChild ;
+    public readonly \DOMNode|null $previousSibling ;
+    public readonly \DOMNode|null $nextSibling ;
+    public readonly \DOMNamedNodeMap|null $attributes ;
+    public readonly Document|null $ownerDocument ;
+    public readonly string|null $namespaceURI ;
+    public string $prefix ;
+    public readonly string $localName ;
+    public readonly string|null $baseURI ;
+    public string $textContent ;
+
+    /* Trait Methods */
+    public LeafNode::appendChild ( \DOMNode $node ) : DOMException;
+    public Node::C14N ( bool $exclusive = false , bool $withComments = false , null $xpath = null , null $nsPrefixes = null ) : false
+    public Node::C14NFile ( string $uri , bool $exclusive = false , bool $withComments = false , null $xpath = null , null $nsPrefixes = null ) : false
+    public LeafNode::insertBefore ( \DOMNode $node , \DOMNode|null $child = null ) : DOMException
+    public Moonwalk::moonwalk ( \Closure|null $filter = null ) : \Generator
+    public LeafNode::removeChild ( \DOMNode $child ) : DOMException
+    public LeafNode::replaceChild ( \DOMNode $node , \DOMNode $child ) : DOMException
+
+    /* Magic Methods */
+    public __toString() : string
+
+    /* Inherited Methods */
+    public __construct ( string $data = "" )
+    public \DOMNode::cloneNode ( bool $deep = false ) : \DOMNode|false
+    public \DOMNode::getLineNo ( ) : int
+    public \DOMNode::getNodePath ( ) : string|null
+    public \DOMNode::hasAttributes ( ) : bool
+    public \DOMNode::hasChildNodes ( ) : bool
+    public \DOMNode::isDefaultNamespace ( string $namespace ) : bool
+    public \DOMNode::isSameNode ( \DOMNode $otherNode ) : bool
+    public \DOMNode::isSupported ( string $feature , string $version ) : bool
+    public \DOMNode::lookupNamespaceUri ( string $prefix ) : string
+    public \DOMNode::lookupPrefix ( string $namespace ) : string|null
+    public \DOMNode::normalize ( ) : void
+
+}
\ No newline at end of file diff --git a/docs/en/030_Document_Object_Model/020_Element/010_getAttribute.md b/docs/en/030_Document_Object_Model/010_Element/010_getAttribute.md similarity index 100% rename from docs/en/030_Document_Object_Model/020_Element/010_getAttribute.md rename to docs/en/030_Document_Object_Model/010_Element/010_getAttribute.md diff --git a/docs/en/030_Document_Object_Model/020_Element/010_getAttributeNS.md b/docs/en/030_Document_Object_Model/010_Element/010_getAttributeNS.md similarity index 100% rename from docs/en/030_Document_Object_Model/020_Element/010_getAttributeNS.md rename to docs/en/030_Document_Object_Model/010_Element/010_getAttributeNS.md diff --git a/docs/en/030_Document_Object_Model/020_Element/index.md b/docs/en/030_Document_Object_Model/010_Element/index.md similarity index 98% rename from docs/en/030_Document_Object_Model/020_Element/index.md rename to docs/en/030_Document_Object_Model/010_Element/index.md index e2056e3..a6c9b16 100644 --- a/docs/en/030_Document_Object_Model/020_Element/index.md +++ b/docs/en/030_Document_Object_Model/010_Element/index.md @@ -12,7 +12,7 @@ title: Element
MensBeam\HTML\Element extends \DOMElement {
 
-    use Moonwalk, ContainerNode, Walk;
+    use ContainerNode, Moonwalk, Walk;
 
     /* Properties */
     public readonly NodeList|null $classList ;