array $e->getAllAttributes () | array $e->attr |
string $e->getAttribute ( $name ) | string $e->attribute |
void $e->setAttribute ( $name, $value ) | void $value = $e->attribute |
bool $e->hasAttribute ( $name ) | bool isset($e->attribute ) |
void $e->removeAttribute ( $name ) | void $e->attribute = null |
element $e->getElementById ( $id ) | mixed $e->find ( "#$id", 0 ) |
mixed $e->getElementsById ( $id [,$index] ) | mixed $e->find ( "#$id" [, int $index] ) |
element $e->getElementByTagName ($name ) | mixed $e->find ( $name, 0 ) |
mixed $e->getElementsByTagName ( $name [, $index] ) | mixed $e->find ( $name [, int $index] ) |
element $e->parentNode () | element $e->parent () |
mixed $e->childNodes ( [$index] ) | mixed $e->children ( [int $index] ) |
element $e->firstChild () | element $e->first_child () |
element $e->lastChild () | element $e->last_child () |
element $e->nextSibling () | element $e->next_sibling () |
element $e->previousSibling () | element $e->prev_sibling () |
新闻热点
疑难解答