-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
xmlArray::set
Description
Returns an array of xmlArray's matching the specified path.
Syntax
array xmlArray::set (string $path)
Parameter $path
Expected type: String
Description: A path
Return value
Expected type: Array
Description: An array of xmlArray objects
Notes
- This differs from ->path(path, true) in that instead of an xmlArray of elements, an array of xmlArray's is returned for use with foreach.
- Example: foreach($xml->set('html/body/p') as $p)
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.015 seconds with 13 queries.
- Forum Search