PHP DOM Builder API 2.0
- Core\Element\Double
- Core\Element\DoubleBlock
- Core\Element\DoubleInline
- Core\Element\Field
- Core\Element\Root
- Core\Element\Single
- Element\A
- Element\Abbr
- Element\Address
- Element\Area
- Element\Article
- Element\Aside
- Element\Audio
- Element\B
- Element\Base
- Element\Bdi
- Element\Bdo
- Element\Blockquote
- Element\Body
- Element\Br
- Element\Button
- Element\Canvas
- Element\Caption
- Element\Cite
- Element\Code
- Element\Col
- Element\Colgroup
- Element\Command
- Element\Datalist
- Element\Dd
- Element\Del
- Element\Details
- Element\Dfn
- Element\Div
- Element\Dl
- Element\Dt
- Element\Em
- Element\Embed
- Element\Fieldset
- Element\Figcaption
- Element\Figure
- Element\Footer
- Element\Form
- Element\H1
- Element\H2
- Element\H3
- Element\H4
- Element\H5
- Element\H6
- Element\Head
- Element\Header
- Element\Hgroup
- Element\Hr
- Element\Html
- Element\I
- Element\Iframe
- Element\Img
- Element\Input
- Element\Ins
- Element\Kbd
- Element\Keygen
- Element\Label
- Element\Legend
- Element\Li
- Element\Link
- Element\Map
- Element\Mark
- Element\Menu
- Element\Meta
- Element\Meter
- Element\Nav
- Element\Noscript
- Element\Object
- Element\Ol
- Element\Optgroup
- Element\Option
- Element\Output
- Element\P
- Element\Param
- Element\Pre
- Element\Progress
- Element\Q
- Element\Rp
- Element\Rt
- Element\Ruby
- Element\S
- Element\Samp
- Element\Script
- Element\Section
- Element\Select
- Element\Small
- Element\Source
- Element\Span
- Element\Strong
- Element\Style
- Element\Sub
- Element\Summary
- Element\Sup
- Element\Table
- Element\Tbody
- Element\Td
- Element\Textarea
- Element\Tfoot
- Element\Th
- Element\Thead
- Element\Time
- Element\Title
- Element\Tr
- Element\Track
- Element\U
- Element\Ul
- Element\Variable
- Element\Video
- Element\Wbr
Baigudin Software participates in OS DAY 2017 conference
The Baigudin Software Company has participated in OS DAY – a fourth scientific-practical conference, which aims to determine a mission of Russia in developing sphere of operating systems.
Interface «DomBuilder\Api\Traverse»
Elements tree traversal access declaration.
public Element|null child(int $number=0);
Returns child elements.
The method returns a collection of child elements that depends on given sequence number and contains a child element of each element if that element is existed or returns NULL value if no child elements is found.
Parameters:
int $number — a sequence number of child elements.
Returns:
Element|null — child elements.
public Element children();
Returns children of each element.
Returns:
Element — child elements of each element.
public Element|null last();
Returns last child elements.
The method returns a collection of last child elements that contains a last child element of each element if that element is existed or returns NULL value if no last child elements is found.
Returns:
Element|null — last child elements.
public Element|null next();
Returns next elements.
The method returns a collection of next elements that contains a next element of each element if that element is existed or returns NULL value if no next elements is found.
Returns:
Element|null — next elements.
public Element|null parent();
Returns parent elements.
The method returns a collection of parent elements that contains a parent element of each element if that element is existed or returns NULL value if no parent elements is found.
Returns:
Element|null — parent elements.
public Element|null prev();
Returns previous elements.
The method returns a collection of previous elements that contains a previous element of each element if that element is existed or returns NULL value if no previous elements is found.
Returns:
Element|null — previous elements.
public Element root();
Returns root elements of each element.
Returns:
Element — root elements.