0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.116.87.225


Current Path : /var/www/website/nublr/Regulations/simplehtmldom/manual/docs/api/HtmlNode/
Upload File :
Current File : /var/www/website/nublr/Regulations/simplehtmldom/manual/docs/api/HtmlNode/__get.md

---
title: __get
---

```php
__get ( string $name ) : mixed
```

| Parameter | Description
| --------- | -----------
| `name`    | `outertext`, `innertext`, `plaintext`, `xmltext` or attribute name.

See [magic methods](http://php.net/manual/en/language.oop5.overloading.php#object.get)

If the provided name is a valid attribute name, returns the attribute value. Otherwise a value according to the table below.

| Name              | Description
| ----              | -----------
| `outertext`       | Returns the outer text of the current node.
| `innertext`       | Returns the inner text of the current node.
| `plaintext`       | Returns the plain text of the current node.
| `xmltext`         | Returns the xml representation for the inner text of the current node as a CDATA section.

Returns nothing if the provided name is neither a valid attribute name, nor a valid parameter name.