Copied!
    CloneableInstantiableIterable
    Constants
    public ArrayObject::ARRAY_AS_PROPS = 2
    public ArrayObject::STD_PROP_LIST = 1
    Methods
    public ArrayObject::__construct(object|array $array = [], int $flags = 0, string $iteratorClass = 'ArrayIterator')
    public ArrayObject::__debugInfo()
    public voku\helper\AbstractSimpleXmlDomNode::__get( $name)
     
    • param string $name
    • return array|int|null
    public voku\helper\AbstractSimpleXmlDomNode::__invoke( $selector, $idx = NULL)
     
    • param string $selector
    • param int|null $idx
    • return \SimpleXmlDomNodeInterface<\SimpleXmlDomInterface>|\SimpleXmlDomNodeInterface[]|null
    public ArrayObject::__serialize()
    public voku\helper\AbstractSimpleXmlDomNode::__toString() : string
     
    • return string
    public ArrayObject::__unserialize(array $data)
    public ArrayObject::append(?mixed $value)
    public ArrayObject::asort(int $flags = 0SORT_REGULAR)
    public ArrayObject::count()
    public ArrayObject::exchangeArray(object|array $array)
    public find(string $selector, $idx = NULL)
     

    Find list of nodes with a CSS or xPath selector.

    • param string $selector
    • param int|null $idx
    • return \SimpleXmlDomNodeInterface<\SimpleXmlDomInterface>|\SimpleXmlDomNodeInterface[]|null
    public findMulti(string $selector) : voku\helper\SimpleXmlDomNodeInterface
     

    Find nodes with a CSS or xPath selector.

    • param string $selector
    • return \SimpleXmlDomInterface[]|\SimpleXmlDomNodeInterface<\SimpleXmlDomInterface>
    public findMultiOrFalse(string $selector)
     

    Find nodes with a CSS or xPath selector.

    • param string $selector
    • return false|\SimpleXmlDomInterface[]|\SimpleXmlDomNodeInterface<\SimpleXmlDomInterface>
    public findOne(string $selector)
     

    Find one node with a CSS or xPath selector.

    • param string $selector
    • return \SimpleXmlDomNodeInterface<\SimpleXmlDomInterface>
    public findOneOrFalse(string $selector)
     

    Find one node with a CSS or xPath selector or false, if no element is found.

    • param string $selector
    • return false|\SimpleXmlDomNodeInterface<\SimpleXmlDomInterface>
    public ArrayObject::getArrayCopy()
    public ArrayObject::getFlags()
    public ArrayObject::getIterator()
    public ArrayObject::getIteratorClass()
    public innerHtml() : array
     

    Get html of elements.

    • return string[]
    public innertext()
     

    alias for "$this->innerHtml()" (added for compatibly-reasons with v1.x)

    • return string[]
    public ArrayObject::ksort(int $flags = 0SORT_REGULAR)
    public ArrayObject::natcasesort()
    public ArrayObject::natsort()
    public ArrayObject::offsetExists(?mixed $key)
    public ArrayObject::offsetGet(?mixed $key)
    public ArrayObject::offsetSet(?mixed $key, ?mixed $value)
    public ArrayObject::offsetUnset(?mixed $key)
    public outertext()
     

    alias for "$this->innerHtml()" (added for compatibly-reasons with v1.x)

    • return string[]
    public ArrayObject::serialize()
    public ArrayObject::setFlags(int $flags)
    public ArrayObject::setIteratorClass(string $iteratorClass)
    public text() : array
     

    Get plain text.

    • return string[]
    public ArrayObject::uasort(callable $callback)
    public ArrayObject::uksort(callable $callback)
    public ArrayObject::unserialize(string $data)
    © 2024 Bruce Wells
    Search Namespaces \ Classes
    Configuration