View file core/libs/htmlParser/manual/docs/api/simple_html_dom/__get.md

File size: 559B
# __get

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

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

Supports following names:

| Name              | Description
| ----              | -----------
| `outertext`       | Returns the outer text of the root element.
| `innertext`       | Returns the inner text of the root element.
| `plaintext`       | Returns the plain text of the root element.
| `charset`         | Returns the charset for the document.
| `target_charset`  | Returns the target charset for the document.