You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6.5 KiB
6.5 KiB
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
}