-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
parseBoardMod
Description
Parses a Boardmod-style (.mod) modification file.
Syntax
array parseBoardMod (string $file[, bool $testing[, bool $undo]])
Parameter $file
Expected type: String
Description: The name of the file to parse
Parameter $testing
Expected type: Boolean
Description: If true, the changes won't be saved. Default is true.
Parameter $undo
Expected type: Boolean
Description: If true, the changes specified will be undone (used when uninstalling things). Default is false. Directly related to the value of the "reverse" parameter in the modification tag.
Return value
Expected type: Array
Description: An array of changes made
Notes
- Testing tells it the modifications shouldn't actually be saved.
- Undo specifies that the modifications the file requests should be undone.
- Returns an array of those changes made.
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.014 seconds with 13 queries.
- Forum Search