12-11-2009, 07:25 AM
[eluser]sophistry[/eluser]
why are you storing hierarchical data like that? field names = div block names? that's part of why this is so tricky to get under control - because the starting point is tricky.
why not use the filesystem (designed to represent hierarchy) and just create a directory tree to represent the blocks? then, one call to CI directory_map() gives you a nice array to work with.
sounds like you are designing the whole thing anyway...
cheers.
why are you storing hierarchical data like that? field names = div block names? that's part of why this is so tricky to get under control - because the starting point is tricky.
why not use the filesystem (designed to represent hierarchy) and just create a directory tree to represent the blocks? then, one call to CI directory_map() gives you a nice array to work with.
sounds like you are designing the whole thing anyway...
cheers.