Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс Document
+ Граф наследования:Document:

Открытые члены

 __construct ()
 
 loadHTML ($source)
 
 getQueryEngine ()
 
 setQueryEngine (QueryEngine $engine)
 
 getParser ()
 
 setParser (Parser $parser)
 
 createElement ($tagName)
 
 createAttribute ($name, $value)
 
 createComment ($comment)
 
 createTextNode ($text)
 
 createDocumentFragment ()
 
 getElementById ($id)
 
 getElementByClassName ($className)
 
 getElementsByName ($name)
 
 getTextContent ()
 
 getElementsByAttr ($attrName, $attrValue=null, $limit=0)
 
 getElementsByTagName ($tagName)
 
 getElementsByClassName ($className, $limit=0)
 
- Открытые члены унаследованные от Node
 getNodeType ()
 
 getParentNode ()
 
 setParentNode (Node $node=null)
 
 hasAttributes ()
 
 getAttributes ()
 
 getNodeName ()
 
 setNodeName ($a)
 
 getNodeValue ()
 
 getOwnerDocument ()
 
 setOwnerDocument (Document $owner)
 
 getFirstChild ()
 
 getLastChild ()
 
 getPreviousSibling ()
 
 getNextSibling ()
 
 getChildNodes ()
 
 getChildNodesArray ()
 
 setChildNodesArray ($childList)
 
 hasChildNodes ()
 
 appendChild (Node $newChild)
 
 insertBefore (Node $newChild, Node $refChild=null, $removeExist=true)
 
 removeChild (Node $oldChild)
 
 replaceChild (Node $newChild, Node $oldChild)
 
 isEqual (Node $node=null)
 
 getOuterHTML ()
 
 getInnerHTML ()
 
 setInnerHTML ($html)
 
 querySelectorAll ($queryString)
 
 querySelector ($queryString)
 
 closest ($queryString)
 
 toString ()
 
 toArray ()
 

Защищенные данные

 $parser
 
 $queryEngine
 
- Защищенные данные унаследованные от Node
 $ownerDocument = null
 
 $nodeType = null
 
 $nodeName = null
 
 $nodeValue = null
 
 $childNodes = null
 
 $parentNode = null
 
 $attributes = null
 
 $textContent = null
 

Дополнительные унаследованные члены

- Открытые атрибуты унаследованные от Node
const ELEMENT_NODE = 1
 
const ATTRIBUTE_NODE = 2
 
const TEXT_NODE = 3
 
const CDATA_SECTION_NODE = 4
 
const ENTITY_REFERENCE_NODE = 5
 
const ENTITY_NODE = 6
 
const PROCESSING_INSTRUCTION_NODE = 7
 
const COMMENT_NODE = 8
 
const DOCUMENT_FRAGMENT_NODE = 11
 
const DOCUMENT_NODE = 9
 
const DOCUMENT_TYPE_NODE = 10
 
const NOTATION_NODE = 12
 
 $bxIsAlreadyClosed = false
 
 $bxClosable = true
 
 $bxNodeFoundCloseTag = false
 
- Статические открытые данные унаследованные от Node
static $isNodeListAsArray = true
 
- Защищенные члены унаследованные от Node
 init ()
 
 haveChild ($checkingChild)
 

Подробное описание

См. определение в файле document.php строка 4

Конструктор(ы)

◆ __construct()

__construct ( )

Переопределяет метод предка Node.

См. определение в файле document.php строка 15

Методы

◆ createAttribute()

createAttribute ( $name,
$value )

См. определение в файле document.php строка 190

◆ createComment()

createComment ( $comment)

См. определение в файле document.php строка 201

◆ createDocumentFragment()

createDocumentFragment ( )

См. определение в файле document.php строка 222

◆ createElement()

createElement ( $tagName)

См. определение в файле document.php строка 152

◆ createTextNode()

createTextNode ( $text)

См. определение в файле document.php строка 212

◆ getElementByClassName()

getElementByClassName ( $className)

См. определение в файле document.php строка 239

◆ getElementById()

getElementById ( $id)

См. определение в файле document.php строка 230

◆ getElementsByAttr()

getElementsByAttr ( $attrName,
$attrValue = null,
$limit = 0 )

См. определение в файле document.php строка 261

◆ getElementsByClassName()

getElementsByClassName ( $className,
$limit = 0 )

См. определение в файле document.php строка 315

◆ getElementsByName()

getElementsByName ( $name)

См. определение в файле document.php строка 248

◆ getElementsByTagName()

getElementsByTagName ( $tagName)

См. определение в файле document.php строка 292

◆ getParser()

getParser ( )

См. определение в файле document.php строка 100

◆ getQueryEngine()

getQueryEngine ( )

См. определение в файле document.php строка 78

◆ getTextContent()

getTextContent ( )

Переопределяет метод предка Node.

См. определение в файле document.php строка 253

◆ loadHTML()

loadHTML ( $source)

См. определение в файле document.php строка 30

◆ setParser()

setParser ( Parser $parser)

См. определение в файле document.php строка 109

◆ setQueryEngine()

setQueryEngine ( QueryEngine $engine)

См. определение в файле document.php строка 92

Данные класса

◆ $parser

$parser
protected

См. определение в файле document.php строка 7

◆ $queryEngine

$queryEngine
protected

См. определение в файле document.php строка 10