| 1 |
# __get |
| 2 |
|
| 3 |
```php |
| 4 |
__get ( string $name ) : mixed |
| 5 |
``` |
| 6 |
|
| 7 |
See [](http://php.net/manual/en/language.oop5.overloading.php#object.getmagic methods](http://php.net/manual/en/language.oop5.overloading.php#object.get](http://php.net/manual/en/language.oop5.overloading.php#object.get) |
| 8 |
|
| 9 |
Supports following names: |
| 10 |
|
| 11 |
| Name | Description |
| 12 |
| ---- | ----------- |
| 13 |
| `outertext` | Returns the outer text of the root element. |
| 14 |
| `innertext` | Returns the inner text of the root element. |
| 15 |
| `plaintext` | Returns the plain text of the root element. |
| 16 |
| `charset` | Returns the charset for the document. |
| 17 |
| `target_charset` | Returns the target charset for the document. |