serialize
toArray
setName[n] => { 'item_id': itemId, 'parent_id': parentId, 'depth': depth, 'left': left, 'right': right, }looking at the items' id's as in
serialize
.startDepthCount
sets the starting depth number (default is 0), expression
is the regex used to extract the number from the item's id (default is the same as
serialize
).