Generic to_string() and to_array() functions
Bug #54226 reported by
wouter bolsterlee
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Anewt |
Fix Released
|
Wishlist
|
wouter bolsterlee |
Bug Description
I would like two generic type conversion functions: to_string() and to_array(). The logic implemented by these two functions should somewhat resemble the Page::append_to() method, ie. recursively "collapse" values until they have the correct type.
Changed in anewt: | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
Btw, any thoughts on a decent way to convert array into strings? perhaps array_format() for associative array and implode_newlines for numeric arrays?