PluginProbe
BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript / 1.9.7
BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript v1.9.7
4.1.16 4.1.15 4.1.14 4.1.13 4.1.12 4.1.11 4.1.10 4.0.30 4.0.29 4.0.28 4.0.27 4.0.26 4.0.24 4.0.25 4.0.23 4.0.22 4.0.21 4.0.19 4.0.18 4.0.17 4.0.16 1.9.3 1.9.4 1.9.5 1.9.6 All 170 releases
searchpro / simplehtmldom / manual / docs / api / simple_html_dom_node / __set.md

__set.md in BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript 1.9.7, at simplehtmldom/manual/docs/api/simple_html_dom_node/__set.md

18 lines 542 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 # __set
2
3 ```php
4 __set ( string $name, mixed $value )
5 ```
6
7 | Parameter | Description
8 | --------- | -----------
9 | `name` | `outertext`, `innertext` or attribute name.
10 | `value` | Value to set.
11
12 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)
13
14 Sets the outer text of the current node to `$value` if `$name` is `outertext`.
15
16 Sets the inner text of the current node to `$value` if `$name` is `innertext`.
17
18 Otherwise, adds or updates an attribute with name `$name` and value `$value` to the current node.