| 1 | <?php |
||
| 7 | class SimpleXmlDomNodeBlank extends AbstractSimpleXmlDomNode implements SimpleXmlDomNodeInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @param string $selector |
||
| 11 | * @param int|null $idx |
||
| 12 | * |
||
| 13 | * @return null |
||
| 14 | */ |
||
| 15 | public function find(string $selector, $idx = null) |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Find nodes with a CSS selector. |
||
| 22 | * |
||
| 23 | * @param string $selector |
||
| 24 | * |
||
| 25 | * @return SimpleXmlDomInterface[]|SimpleXmlDomNodeInterface |
||
| 26 | */ |
||
| 27 | public function findMulti(string $selector): SimpleXmlDomNodeInterface |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Find nodes with a CSS selector. |
||
| 34 | * |
||
| 35 | * @param string $selector |
||
| 36 | * |
||
| 37 | * @return false |
||
| 38 | */ |
||
| 39 | public function findMultiOrFalse(string $selector) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Find one node with a CSS selector. |
||
| 46 | * |
||
| 47 | * @param string $selector |
||
| 48 | * |
||
| 49 | * @return null |
||
| 50 | */ |
||
| 51 | public function findOne(string $selector) |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @param string $selector |
||
| 58 | * |
||
| 59 | * @return false |
||
| 60 | */ |
||
| 61 | public function findOneOrFalse(string $selector) |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @return string[] |
||
| 68 | */ |
||
| 69 | public function innerHtml(): array |
||
| 73 | |||
| 74 | /** |
||
| 75 | * alias for "$this->innerHtml()" (added for compatibly-reasons with v1.x) |
||
| 76 | */ |
||
| 77 | public function innertext() |
||
| 81 | |||
| 82 | /** |
||
| 83 | * alias for "$this->innerHtml()" (added for compatibly-reasons with v1.x) |
||
| 84 | */ |
||
| 85 | public function outertext() |
||
| 89 | |||
| 90 | /** |
||
| 91 | * @return string[] |
||
| 92 | */ |
||
| 93 | public function text(): array |
||
| 97 | } |
||
| 98 |