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

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

 __construct ($name, $value)
 
 toString ()
 
 getName ()
 
 setName ($name)
 
 getValue ()
 
 setValue ($value)
 
 toArray ()
 
- Открытые члены унаследованные от Node
 __construct ()
 
 getNodeType ()
 
 getParentNode ()
 
 setParentNode (Node $node=null)
 
 hasAttributes ()
 
 getAttributes ()
 
 getNodeName ()
 
 setNodeName ($a)
 
 getNodeValue ()
 
 getTextContent ()
 
 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)
 

Открытые атрибуты

 $value = 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
 

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

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

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

- Статические открытые данные унаследованные от Node
static $isNodeListAsArray = true
 
- Защищенные члены унаследованные от Node
 init ()
 
 haveChild ($checkingChild)
 

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

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

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

◆ __construct()

__construct ( $name,
$value )

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

Методы

◆ getName()

getName ( )

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

◆ getValue()

getValue ( )

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

◆ setName()

setName ( $name)

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

◆ setValue()

setValue ( $value)

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

◆ toArray()

toArray ( )

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

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

◆ toString()

toString ( )

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

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

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

◆ $name

string $name = null
protected

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

◆ $value

$value = null

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