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
BOOS Core for Texas Instruments AM18x ARM Microprocessors family is released
Baigudin Software project has represented the BOOS Core operating kernel for AM18x ARM Microprocessors family of Texas Instruments Company.
Interface «DomBuilder\Api\Fetch»
Elements fetch by properties access declaration.
Element|Element[]|false get(int|string $index=NULL);
Element|false getElementById(string $id);
Element getElementsByAttr(string $name, string $value=NULL);
Element getElementsByClassName(string $name);
Element getElementsById(string $id);
Element getElementsByTagName(string $name);
Element getParentsByAttr(string $name, string $value=NULL);
Element getParentsByClassName(string $name);
public Element|Element[]|false get(int|string $index=NULL);
Returns an element of elements by index or an array of elements.
The method returns an elements array as vector if argument is not given. If argument greater than or equal zero, method returns an element with given index. If argument less than zero, method counts an index from the end of the elements list. For example: [-1] returns the last element, [-2] returns the penultimate element, etc.
Parameters:
int|string $index — element index of this elements or associative string key.
Returns:
Element|Element[]|false — an element for integer or string argument, or an elements array if argument is not given.
public Element|false getElementById(string $id);
Returns first child element with the specified ID.
Note: Any valid HTML documents must have only one tag with unique identifier.
Parameters:
string $id — ID value.
Returns:
Element|false — searched element.
public Element getElementsByAttr(string $name, string $value=NULL);
Returns child elements with the specified attribute name and its value of each element.
Parameters:
string $name — attribute name.
string $value — attribute value.
Returns:
Element — searched result.
public Element getElementsByClassName(string $name);
Returns child elements with the specified class name of each element.
Parameters:
string $name — class name.
Returns:
Element — searched result.
public Element getElementsById(string $id);
Returns child elements with the specified ID of each element.
Note: Any valid HTML documents must have only one tag with unique identifier.
Parameters:
string $id — ID value.
Returns:
Element — searched result.
public Element getElementsByTagName(string $name);
Returns child elements with the specified tag name of each element.
Parameters:
string $name — tag name.
Returns:
Element — searched result.
public Element getParentsByAttr(string $name, string $value=NULL);
Returns parent elements with the specified attribute name and its value of each element.
Parameters:
string $name — attribute name.
string $value — attribute value.
Returns:
Element — searched result.
public Element getParentsByClassName(string $name);
Returns parent elements with the specified class name of each element.
Parameters:
string $name — class name.
Returns:
Element — searched result.
public Element getParentsById(string $id);
Returns parent elements with the specified ID of each element.
Note: Any valid HTML documents must have only one tag with unique identifier.
Parameters:
string $id — ID value.
Returns:
Element — searched result.
public Element getParentsByTagName(string $name);
Returns parent elements with the specified tag name of each element.
Parameters:
string $name — tag name.
Returns:
Element — searched result.