Horde_Xml_Element::offsetExists PHP Method

offsetExists() public method

Required by the ArrayAccess interface.
public offsetExists ( $offset )
    public function offsetExists($offset)
    {
        if (strpos($offset, ':') !== false) {
            list($ns, $attr) = explode(':', $offset, 2);
            return $this->_element->hasAttributeNS(Horde_Xml_Element::lookupNamespace($ns), $attr);
        } else {
            return $this->_element->hasAttribute($offset);
        }
    }