Created
May 26, 2022 21:35
-
-
Save zoghal/667497b5d860fe45e136f906f22b3da7 to your computer and use it in GitHub Desktop.
make hierarchical slug with array nodes sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return [ | |
[ | |
"value" => "dental-supplies", | |
"depth" => 0, | |
"count" => 1589 | |
], | |
[ | |
"value" => "adhesive-agents-materials", | |
"depth" => 1, | |
"count" => 2 | |
], | |
[ | |
"value" => "bonding-agents-adhesives", | |
"depth" => 2, | |
"count" => 2 | |
], | |
[ | |
"value" => "air-water-syringes", | |
"depth" => 1, | |
"count" => 6 | |
], | |
[ | |
"value" => "air-water-syrings-tips-air-water-syringes", | |
"depth" => 2, | |
"count" => 6 | |
], | |
[ | |
"value" => "anesthetics-products", | |
"depth" => 1, | |
"count" => 13 | |
], | |
[ | |
"value" => "the-wand-handpiece-anesthesics-dental-supplies", | |
"depth" => 2, | |
"count" => 4 | |
], | |
[ | |
"value" => "topical-anesthetics", | |
"depth" => 2, | |
"count" => 9 | |
], | |
[ | |
"value" => "articulating-materials-acc", | |
"depth" => 1, | |
"count" => 10 | |
], | |
[ | |
"value" => "articulating-material", | |
"depth" => 2, | |
"count" => 10 | |
], | |
[ | |
"value" => "bleaching-whitening", | |
"depth" => 1, | |
"count" => 89 | |
], | |
[ | |
"value" => "proform-bleaching-whitening", | |
"depth" => 2, | |
"count" => 89 | |
], | |
[ | |
"value" => "brush", | |
"depth" => 1, | |
"count" => 2 | |
], | |
[ | |
"value" => "burs-diamonds", | |
"depth" => 1, | |
"count" => 404 | |
], | |
[ | |
"value" => "bur-diamond-sets", | |
"depth" => 2, | |
"count" => 60 | |
], | |
[ | |
"value" => "bur-holders", | |
"depth" => 3, | |
"count" => 60 | |
], | |
[ | |
"value" => "burs", | |
"depth" => 2, | |
"count" => 344 | |
], | |
[ | |
"value" => "carbide-burs", | |
"depth" => 3, | |
"count" => 109 | |
], | |
[ | |
"value" => "diamnd-burs", | |
"depth" => 3, | |
"count" => 210 | |
], | |
[ | |
"value" => "laboratory-burs", | |
"depth" => 3, | |
"count" => 25 | |
], | |
[ | |
"value" => "cad-cam-blocks-accessories", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "carvers-hoes", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "chisels-mallets-files", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "cotton-paper-supplies", | |
"depth" => 1, | |
"count" => 22 | |
], | |
[ | |
"value" => "absorbent-sponges", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "absorbents", | |
"depth" => 2, | |
"count" => 7 | |
], | |
[ | |
"value" => "applicators", | |
"depth" => 2, | |
"count" => 2 | |
], | |
[ | |
"value" => "cotton-products", | |
"depth" => 2, | |
"count" => 4 | |
], | |
[ | |
"value" => "gauze", | |
"depth" => 2, | |
"count" => 6 | |
], | |
[ | |
"value" => "gauze-sponges", | |
"depth" => 2, | |
"count" => 2 | |
], | |
[ | |
"value" => "crown-bridge", | |
"depth" => 1, | |
"count" => 5 | |
], | |
[ | |
"value" => "retraction-materials", | |
"depth" => 2, | |
"count" => 3 | |
], | |
[ | |
"value" => "tuff-temp-plus", | |
"depth" => 2, | |
"count" => 2 | |
], | |
[ | |
"value" => "dispensing-syringes-guns", | |
"depth" => 1, | |
"count" => 2 | |
], | |
[ | |
"value" => "dispensing-irrigating-syringes-dispensing-syringes-guns", | |
"depth" => 2, | |
"count" => 2 | |
], | |
[ | |
"value" => "disposables-11748", | |
"depth" => 1, | |
"count" => 80 | |
], | |
[ | |
"value" => "coverings", | |
"depth" => 2, | |
"count" => 28 | |
], | |
[ | |
"value" => "cups", | |
"depth" => 2, | |
"count" => 11 | |
], | |
[ | |
"value" => "fluoride-trays-11757", | |
"depth" => 2, | |
"count" => 9 | |
], | |
[ | |
"value" => "patient-bibs", | |
"depth" => 2, | |
"count" => 29 | |
], | |
[ | |
"value" => "personal-products", | |
"depth" => 2, | |
"count" => 3 | |
], | |
[ | |
"value" => "endodontic-products", | |
"depth" => 1, | |
"count" => 97 | |
], | |
[ | |
"value" => "endodontic-medicaments", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "root-canal-cleaners-prep-solutions", | |
"depth" => 3, | |
"count" => 1 | |
], | |
[ | |
"value" => "files", | |
"depth" => 2, | |
"count" => 71 | |
], | |
[ | |
"value" => "endodontic-reamers", | |
"depth" => 3, | |
"count" => 1 | |
], | |
[ | |
"value" => "hedstrom-files", | |
"depth" => 3, | |
"count" => 20 | |
], | |
[ | |
"value" => "k-files", | |
"depth" => 3, | |
"count" => 48 | |
], | |
[ | |
"value" => "pins-posts", | |
"depth" => 2, | |
"count" => 5 | |
], | |
[ | |
"value" => "post-kits-refills", | |
"depth" => 3, | |
"count" => 5 | |
], | |
[ | |
"value" => "safesider-hf", | |
"depth" => 2, | |
"count" => 8 | |
], | |
[ | |
"value" => "safesiders-refill-kits", | |
"depth" => 2, | |
"count" => 12 | |
], | |
[ | |
"value" => "etch-gel", | |
"depth" => 1, | |
"count" => 2 | |
], | |
[ | |
"value" => "evacution-products-dental-supplies", | |
"depth" => 1, | |
"count" => 38 | |
], | |
[ | |
"value" => "combo-tip-evacution-products-dental-supplies", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "disposable-traps-screens", | |
"depth" => 2, | |
"count" => 7 | |
], | |
[ | |
"value" => "disposable-traps", | |
"depth" => 3, | |
"count" => 7 | |
], | |
[ | |
"value" => "high-volume-evacuation-tips", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "hve-aspirator-tips", | |
"depth" => 2, | |
"count" => 16 | |
], | |
[ | |
"value" => "saliva-ejectors-evacution-products-dental-supplies", | |
"depth" => 2, | |
"count" => 9 | |
], | |
[ | |
"value" => "surgical-aspirating-tips", | |
"depth" => 2, | |
"count" => 3 | |
], | |
[ | |
"value" => "tongue-protector", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "finishing-polishing", | |
"depth" => 1, | |
"count" => 63 | |
], | |
[ | |
"value" => "finishing-discs", | |
"depth" => 2, | |
"count" => 13 | |
], | |
[ | |
"value" => "finishing-strips", | |
"depth" => 2, | |
"count" => 13 | |
], | |
[ | |
"value" => "qwikstrips", | |
"depth" => 3, | |
"count" => 13 | |
], | |
[ | |
"value" => "flexible-polishers-finishing-polishing", | |
"depth" => 2, | |
"count" => 4 | |
], | |
[ | |
"value" => "mandrels", | |
"depth" => 2, | |
"count" => 4 | |
], | |
[ | |
"value" => "polishers", | |
"depth" => 2, | |
"count" => 29 | |
], | |
[ | |
"value" => "front-office-products", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "gloves-11751", | |
"depth" => 1, | |
"count" => 71 | |
], | |
[ | |
"value" => "latex", | |
"depth" => 2, | |
"count" => 3 | |
], | |
[ | |
"value" => "miscellaneous", | |
"depth" => 2, | |
"count" => 2 | |
], | |
[ | |
"value" => "neoprene", | |
"depth" => 2, | |
"count" => 5 | |
], | |
[ | |
"value" => "nitrile", | |
"depth" => 2, | |
"count" => 49 | |
], | |
[ | |
"value" => "polymax", | |
"depth" => 2, | |
"count" => 3 | |
], | |
[ | |
"value" => "racks-dispensers", | |
"depth" => 2, | |
"count" => 2 | |
], | |
[ | |
"value" => "stretch-vinyl", | |
"depth" => 2, | |
"count" => 7 | |
], | |
[ | |
"value" => "gloves-dental-supplies", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "handpieces-air-electric", | |
"depth" => 1, | |
"count" => 11 | |
], | |
[ | |
"value" => "handpiece-cleaners-lubricants", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "low-speed", | |
"depth" => 2, | |
"count" => 10 | |
], | |
[ | |
"value" => "impression-material-accessories-dental-supplies", | |
"depth" => 1, | |
"count" => 82 | |
], | |
[ | |
"value" => "impression-material", | |
"depth" => 2, | |
"count" => 45 | |
], | |
[ | |
"value" => "alginate-impression-material", | |
"depth" => 3, | |
"count" => 1 | |
], | |
[ | |
"value" => "mixing-material-tips", | |
"depth" => 3, | |
"count" => 7 | |
], | |
[ | |
"value" => "impression-tray", | |
"depth" => 2, | |
"count" => 37 | |
], | |
[ | |
"value" => "infection-control-1694", | |
"depth" => 1, | |
"count" => 310 | |
], | |
[ | |
"value" => "accessories-11808", | |
"depth" => 2, | |
"count" => 9 | |
], | |
[ | |
"value" => "alcohol", | |
"depth" => 2, | |
"count" => 7 | |
], | |
[ | |
"value" => "barrier-protection", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "bis", | |
"depth" => 2, | |
"count" => 2 | |
], | |
[ | |
"value" => "cleaners", | |
"depth" => 2, | |
"count" => 19 | |
], | |
[ | |
"value" => "disinfection", | |
"depth" => 2, | |
"count" => 15 | |
], | |
[ | |
"value" => "dispsables-infection-control-1694", | |
"depth" => 2, | |
"count" => 2 | |
], | |
[ | |
"value" => "ethanol", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "evacuation-11800", | |
"depth" => 2, | |
"count" => 2 | |
], | |
[ | |
"value" => "eyeware", | |
"depth" => 2, | |
"count" => 39 | |
], | |
[ | |
"value" => "face-shields", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "hand-care", | |
"depth" => 2, | |
"count" => 7 | |
], | |
[ | |
"value" => "racks-dispensers-11765", | |
"depth" => 3, | |
"count" => 7 | |
], | |
[ | |
"value" => "hand-sanitizers", | |
"depth" => 2, | |
"count" => 2 | |
], | |
[ | |
"value" => "hand-towels-coton-paper-supplies-dental-supplies", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "impulse-sealers", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "incubator", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "indicators", | |
"depth" => 2, | |
"count" => 14 | |
], | |
[ | |
"value" => "integrators", | |
"depth" => 2, | |
"count" => 7 | |
], | |
[ | |
"value" => "lotion", | |
"depth" => 2, | |
"count" => 6 | |
], | |
[ | |
"value" => "pouch", | |
"depth" => 2, | |
"count" => 14 | |
], | |
[ | |
"value" => "racks-dispensers-11818", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "reveal", | |
"depth" => 2, | |
"count" => 2 | |
], | |
[ | |
"value" => "sanitizer", | |
"depth" => 2, | |
"count" => 13 | |
], | |
[ | |
"value" => "soap", | |
"depth" => 2, | |
"count" => 52 | |
], | |
[ | |
"value" => "steam-sterilization-integrator-infection-control-1694", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "sterilant", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "sterilization", | |
"depth" => 2, | |
"count" => 13 | |
], | |
[ | |
"value" => "sterilization-pouches", | |
"depth" => 2, | |
"count" => 19 | |
], | |
[ | |
"value" => "surface-barriers-infection-control-1694", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "surface-barriers-accessories", | |
"depth" => 2, | |
"count" => 6 | |
], | |
[ | |
"value" => "surface-disinfectant-wipes", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "surface-disinfection", | |
"depth" => 2, | |
"count" => 24 | |
], | |
[ | |
"value" => "tape", | |
"depth" => 2, | |
"count" => 3 | |
], | |
[ | |
"value" => "tests", | |
"depth" => 2, | |
"count" => 6 | |
], | |
[ | |
"value" => "tray-covers", | |
"depth" => 2, | |
"count" => 2 | |
], | |
[ | |
"value" => "tubing", | |
"depth" => 2, | |
"count" => 3 | |
], | |
[ | |
"value" => "x-ray-sensor-sleeves-infection-control-1694", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "infection-control-dental-supplies", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "instrument-management", | |
"depth" => 1, | |
"count" => 5 | |
], | |
[ | |
"value" => "organizing-storage-instrument-management", | |
"depth" => 2, | |
"count" => 4 | |
], | |
[ | |
"value" => "tray-tub-racks", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "light-bulbs-accessories", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "mixing-wells", | |
"depth" => 1, | |
"count" => 2 | |
], | |
[ | |
"value" => "office-safety-patient-monitor", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "orthodontic", | |
"depth" => 1, | |
"count" => 1 | |
], | |
[ | |
"value" => "retainer-and-denture-boxes", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "pharmaceuticals", | |
"depth" => 1, | |
"count" => 2 | |
], | |
[ | |
"value" => "injectable-anesthetics", | |
"depth" => 2, | |
"count" => 2 | |
], | |
[ | |
"value" => "practice-promoters", | |
"depth" => 1, | |
"count" => 7 | |
], | |
[ | |
"value" => "accessories-11766", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "patient-giveaways", | |
"depth" => 2, | |
"count" => 6 | |
], | |
[ | |
"value" => "preventive", | |
"depth" => 1, | |
"count" => 5 | |
], | |
[ | |
"value" => "dappen-dishes", | |
"depth" => 2, | |
"count" => 5 | |
], | |
[ | |
"value" => "restoratives-cosmetic", | |
"depth" => 1, | |
"count" => 145 | |
], | |
[ | |
"value" => "articulating", | |
"depth" => 2, | |
"count" => 2 | |
], | |
[ | |
"value" => "x-ray-sensor-sleeves", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "cements-liners", | |
"depth" => 2, | |
"count" => 10 | |
], | |
[ | |
"value" => "composite-restorative-products", | |
"depth" => 2, | |
"count" => 29 | |
], | |
[ | |
"value" => "composite-universal", | |
"depth" => 2, | |
"count" => 16 | |
], | |
[ | |
"value" => "core-materials", | |
"depth" => 2, | |
"count" => 3 | |
], | |
[ | |
"value" => "curing-lights", | |
"depth" => 2, | |
"count" => 10 | |
], | |
[ | |
"value" => "dispensing-tips-restoratives-cosmetic", | |
"depth" => 2, | |
"count" => 5 | |
], | |
[ | |
"value" => "micro-tip-applicators", | |
"depth" => 2, | |
"count" => 6 | |
], | |
[ | |
"value" => "mixing-pads", | |
"depth" => 2, | |
"count" => 5 | |
], | |
[ | |
"value" => "needles", | |
"depth" => 2, | |
"count" => 7 | |
], | |
[ | |
"value" => "pins-restorative", | |
"depth" => 2, | |
"count" => 5 | |
], | |
[ | |
"value" => "retraction-cord", | |
"depth" => 2, | |
"count" => 12 | |
], | |
[ | |
"value" => "universal-composite-restoratives-cosmetic", | |
"depth" => 2, | |
"count" => 19 | |
], | |
[ | |
"value" => "wedges", | |
"depth" => 2, | |
"count" => 15 | |
], | |
[ | |
"value" => "wedges-wedges", | |
"depth" => 3, | |
"count" => 15 | |
], | |
[ | |
"value" => "rubber-dam-products", | |
"depth" => 1, | |
"count" => 19 | |
], | |
[ | |
"value" => "dental-dam", | |
"depth" => 2, | |
"count" => 19 | |
], | |
[ | |
"value" => "small-equipment-dental-supplies", | |
"depth" => 1, | |
"count" => 2 | |
], | |
[ | |
"value" => "apex-locators-obturation-systems-small-equipment-dental-supplies", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "handpieces-small-equipment-dental-supplies", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "surgerical-dental-supplies", | |
"depth" => 1, | |
"count" => 25 | |
], | |
[ | |
"value" => "bone-regeneration-material-surgerical-dental-supplies", | |
"depth" => 2, | |
"count" => 3 | |
], | |
[ | |
"value" => "dry-socket-treatment-surgerical-dental-supplies", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "scalpels-blades-surgerical-dental-supplies", | |
"depth" => 2, | |
"count" => 6 | |
], | |
[ | |
"value" => "sutures-only-surgerical-dental-supplies", | |
"depth" => 2, | |
"count" => 15 | |
], | |
[ | |
"value" => "surgical", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "training-informational", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "x-ray-digital-imaging", | |
"depth" => 1, | |
"count" => 65 | |
], | |
[ | |
"value" => "accessories-11787", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "digital-radiography", | |
"depth" => 2, | |
"count" => 7 | |
], | |
[ | |
"value" => "disposables-11786", | |
"depth" => 2, | |
"count" => 40 | |
], | |
[ | |
"value" => "film", | |
"depth" => 2, | |
"count" => 4 | |
], | |
[ | |
"value" => "fixer-developer", | |
"depth" => 2, | |
"count" => 3 | |
], | |
[ | |
"value" => "greentreat", | |
"depth" => 2, | |
"count" => 5 | |
], | |
[ | |
"value" => "sensibles-bite-blocks-refill-kit", | |
"depth" => 2, | |
"count" => 2 | |
], | |
[ | |
"value" => "sensor-holders", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "snuggies-sensor", | |
"depth" => 2, | |
"count" => 2 | |
], | |
[ | |
"value" => "denture-accessories-lab-labratory", | |
"depth" => 0, | |
"count" => 0 | |
], | |
[ | |
"value" => "equipments", | |
"depth" => 0, | |
"count" => 1 | |
], | |
[ | |
"value" => "cad-cam", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "digital-imaging", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "infection-control", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "mechanical-room", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "operatory-room", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "small-equipment", | |
"depth" => 1, | |
"count" => 1 | |
], | |
[ | |
"value" => "denture-boxes-small-equipment", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "x-ray-waste-disposal", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "hygiene-products", | |
"depth" => 0, | |
"count" => 319 | |
], | |
[ | |
"value" => "accessories", | |
"depth" => 1, | |
"count" => 16 | |
], | |
[ | |
"value" => "caries-detection", | |
"depth" => 1, | |
"count" => 4 | |
], | |
[ | |
"value" => "dental-floss-hygiene-products", | |
"depth" => 1, | |
"count" => 24 | |
], | |
[ | |
"value" => "denture", | |
"depth" => 1, | |
"count" => 6 | |
], | |
[ | |
"value" => "disposables", | |
"depth" => 1, | |
"count" => 1 | |
], | |
[ | |
"value" => "fluoride", | |
"depth" => 1, | |
"count" => 14 | |
], | |
[ | |
"value" => "halitosis", | |
"depth" => 1, | |
"count" => 4 | |
], | |
[ | |
"value" => "lip-balm", | |
"depth" => 1, | |
"count" => 8 | |
], | |
[ | |
"value" => "oravital", | |
"depth" => 1, | |
"count" => 10 | |
], | |
[ | |
"value" => "ortho-wax", | |
"depth" => 1, | |
"count" => 5 | |
], | |
[ | |
"value" => "piks", | |
"depth" => 1, | |
"count" => 10 | |
], | |
[ | |
"value" => "preventive-hygiene-products", | |
"depth" => 1, | |
"count" => 1 | |
], | |
[ | |
"value" => "sealants-preventive-hygiene-products", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "prophy-cups-11747", | |
"depth" => 1, | |
"count" => 56 | |
], | |
[ | |
"value" => "prophy-paste-11742", | |
"depth" => 1, | |
"count" => 13 | |
], | |
[ | |
"value" => "prophy-products", | |
"depth" => 1, | |
"count" => 7 | |
], | |
[ | |
"value" => "toothbrushes-hygiene-products", | |
"depth" => 1, | |
"count" => 76 | |
], | |
[ | |
"value" => "toothpaste", | |
"depth" => 1, | |
"count" => 2 | |
], | |
[ | |
"value" => "travel", | |
"depth" => 1, | |
"count" => 1 | |
], | |
[ | |
"value" => "whitening", | |
"depth" => 1, | |
"count" => 6 | |
], | |
[ | |
"value" => "instruments", | |
"depth" => 0, | |
"count" => 704 | |
], | |
[ | |
"value" => "accessories-instruments", | |
"depth" => 1, | |
"count" => 12 | |
], | |
[ | |
"value" => "bracket-holders-band-seaters", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "carriers", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "carvers-hoes-instruments", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "cassette", | |
"depth" => 1, | |
"count" => 79 | |
], | |
[ | |
"value" => "chisels-mallets-files-instruments", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "composite-plastic-filling", | |
"depth" => 1, | |
"count" => 7 | |
], | |
[ | |
"value" => "container", | |
"depth" => 1, | |
"count" => 29 | |
], | |
[ | |
"value" => "cover", | |
"depth" => 1, | |
"count" => 8 | |
], | |
[ | |
"value" => "curette", | |
"depth" => 1, | |
"count" => 1 | |
], | |
[ | |
"value" => "elevators-periotomes", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "esthetic-gauges", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "explorers", | |
"depth" => 1, | |
"count" => 18 | |
], | |
[ | |
"value" => "extraction", | |
"depth" => 1, | |
"count" => 8 | |
], | |
[ | |
"value" => "forceps-pliers-hemostats", | |
"depth" => 1, | |
"count" => 2 | |
], | |
[ | |
"value" => "gingival-retractors", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "guard", | |
"depth" => 1, | |
"count" => 24 | |
], | |
[ | |
"value" => "knives-cutters", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "mat", | |
"depth" => 1, | |
"count" => 26 | |
], | |
[ | |
"value" => "mirrors-instruments", | |
"depth" => 1, | |
"count" => 83 | |
], | |
[ | |
"value" => "miscellaneous-instruments", | |
"depth" => 1, | |
"count" => 14 | |
], | |
[ | |
"value" => "lips-cheek-retractors", | |
"depth" => 2, | |
"count" => 11 | |
], | |
[ | |
"value" => "cheek-retractors", | |
"depth" => 3, | |
"count" => 11 | |
], | |
[ | |
"value" => "mouth-gags", | |
"depth" => 2, | |
"count" => 0 | |
], | |
[ | |
"value" => "mouth-props", | |
"depth" => 2, | |
"count" => 3 | |
], | |
[ | |
"value" => "osteotomes-bone-packers", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "parts", | |
"depth" => 1, | |
"count" => 5 | |
], | |
[ | |
"value" => "periosteals", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "placement-instruments-instruments", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "porcelain-instrument", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "probes", | |
"depth" => 1, | |
"count" => 18 | |
], | |
[ | |
"value" => "proform", | |
"depth" => 1, | |
"count" => 1 | |
], | |
[ | |
"value" => "rack", | |
"depth" => 1, | |
"count" => 2 | |
], | |
[ | |
"value" => "removers", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "rings", | |
"depth" => 1, | |
"count" => 56 | |
], | |
[ | |
"value" => "rubber-dam-frames-punches-instruments", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "scalers-curettes-instruments", | |
"depth" => 1, | |
"count" => 147 | |
], | |
[ | |
"value" => "scalpels-scissors", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "sharpening-accessories", | |
"depth" => 1, | |
"count" => 4 | |
], | |
[ | |
"value" => "spatulas", | |
"depth" => 1, | |
"count" => 10 | |
], | |
[ | |
"value" => "sterilization-instruments", | |
"depth" => 1, | |
"count" => 2 | |
], | |
[ | |
"value" => "strap", | |
"depth" => 1, | |
"count" => 1 | |
], | |
[ | |
"value" => "syringe", | |
"depth" => 1, | |
"count" => 11 | |
], | |
[ | |
"value" => "tape-instruments", | |
"depth" => 1, | |
"count" => 19 | |
], | |
[ | |
"value" => "tray", | |
"depth" => 1, | |
"count" => 61 | |
], | |
[ | |
"value" => "tub", | |
"depth" => 1, | |
"count" => 41 | |
], | |
[ | |
"value" => "ultrasonic-scaler-tip-insert", | |
"depth" => 1, | |
"count" => 0 | |
], | |
[ | |
"value" => "laboratory", | |
"depth" => 0, | |
"count" => 1 | |
], | |
[ | |
"value" => "denture-accessories-lab", | |
"depth" => 1, | |
"count" => 1 | |
], | |
[ | |
"value" => "denture-boxes", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "ppe", | |
"depth" => 0, | |
"count" => 114 | |
], | |
[ | |
"value" => "cap", | |
"depth" => 1, | |
"count" => 4 | |
], | |
[ | |
"value" => "dental-office-wear", | |
"depth" => 1, | |
"count" => 11 | |
], | |
[ | |
"value" => "eyewash-stations", | |
"depth" => 1, | |
"count" => 4 | |
], | |
[ | |
"value" => "face-shields-ppe", | |
"depth" => 1, | |
"count" => 3 | |
], | |
[ | |
"value" => "first-aid-kits", | |
"depth" => 1, | |
"count" => 4 | |
], | |
[ | |
"value" => "gloves-ppe", | |
"depth" => 1, | |
"count" => 36 | |
], | |
[ | |
"value" => "masks", | |
"depth" => 1, | |
"count" => 40 | |
], | |
[ | |
"value" => "earloop", | |
"depth" => 2, | |
"count" => 20 | |
], | |
[ | |
"value" => "visor", | |
"depth" => 2, | |
"count" => 1 | |
], | |
[ | |
"value" => "sanitizers", | |
"depth" => 1, | |
"count" => 5 | |
] | |
]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/dental-supplies | |
/dental-supplies/adhesive-agents-materials | |
/dental-supplies/adhesive-agents-materials/bonding-agents-adhesives | |
/dental-supplies/air-water-syringes | |
/dental-supplies/air-water-syringes/air-water-syrings-tips-air-water-syringes | |
/dental-supplies/anesthetics-products | |
/dental-supplies/anesthetics-products/the-wand-handpiece-anesthesics-dental-supplies | |
/dental-supplies/anesthetics-products/topical-anesthetics | |
/dental-supplies/articulating-materials-acc | |
/dental-supplies/articulating-materials-acc/articulating-material | |
/dental-supplies/bleaching-whitening | |
/dental-supplies/bleaching-whitening/proform-bleaching-whitening | |
/dental-supplies/brush | |
/dental-supplies/burs-diamonds | |
/dental-supplies/burs-diamonds/bur-diamond-sets | |
/dental-supplies/burs-diamonds/bur-diamond-sets/bur-holders | |
/dental-supplies/burs-diamonds/burs | |
/dental-supplies/burs-diamonds/burs/carbide-burs | |
/dental-supplies/burs-diamonds/burs/diamnd-burs | |
/dental-supplies/burs-diamonds/burs/laboratory-burs | |
/dental-supplies/cad-cam-blocks-accessories | |
/dental-supplies/carvers-hoes | |
/dental-supplies/chisels-mallets-files | |
/dental-supplies/cotton-paper-supplies | |
/dental-supplies/cotton-paper-supplies/absorbent-sponges | |
/dental-supplies/cotton-paper-supplies/absorbents | |
/dental-supplies/cotton-paper-supplies/applicators | |
/dental-supplies/cotton-paper-supplies/cotton-products | |
/dental-supplies/cotton-paper-supplies/gauze | |
/dental-supplies/cotton-paper-supplies/gauze-sponges | |
/dental-supplies/crown-bridge | |
/dental-supplies/crown-bridge/retraction-materials | |
/dental-supplies/crown-bridge/tuff-temp-plus | |
/dental-supplies/dispensing-syringes-guns | |
/dental-supplies/dispensing-syringes-guns/dispensing-irrigating-syringes-dispensing-syringes-guns | |
/dental-supplies/disposables-11748 | |
/dental-supplies/disposables-11748/coverings | |
/dental-supplies/disposables-11748/cups | |
/dental-supplies/disposables-11748/fluoride-trays-11757 | |
/dental-supplies/disposables-11748/patient-bibs | |
/dental-supplies/disposables-11748/personal-products | |
/dental-supplies/endodontic-products | |
/dental-supplies/endodontic-products/endodontic-medicaments | |
/dental-supplies/endodontic-products/endodontic-medicaments/root-canal-cleaners-prep-solutions | |
/dental-supplies/endodontic-products/files | |
/dental-supplies/endodontic-products/files/endodontic-reamers | |
/dental-supplies/endodontic-products/files/hedstrom-files | |
/dental-supplies/endodontic-products/files/k-files | |
/dental-supplies/endodontic-products/pins-posts | |
/dental-supplies/endodontic-products/pins-posts/post-kits-refills | |
/dental-supplies/endodontic-products/safesider-hf | |
/dental-supplies/endodontic-products/safesiders-refill-kits | |
/dental-supplies/etch-gel | |
/dental-supplies/evacution-products-dental-supplies | |
/dental-supplies/evacution-products-dental-supplies/combo-tip-evacution-products-dental-supplies | |
/dental-supplies/evacution-products-dental-supplies/disposable-traps-screens | |
/dental-supplies/evacution-products-dental-supplies/disposable-traps-screens/disposable-traps | |
/dental-supplies/evacution-products-dental-supplies/high-volume-evacuation-tips | |
/dental-supplies/evacution-products-dental-supplies/hve-aspirator-tips | |
/dental-supplies/evacution-products-dental-supplies/saliva-ejectors-evacution-products-dental-supplies | |
/dental-supplies/evacution-products-dental-supplies/surgical-aspirating-tips | |
/dental-supplies/evacution-products-dental-supplies/tongue-protector | |
/dental-supplies/finishing-polishing | |
/dental-supplies/finishing-polishing/finishing-discs | |
/dental-supplies/finishing-polishing/finishing-strips | |
/dental-supplies/finishing-polishing/finishing-strips/qwikstrips | |
/dental-supplies/finishing-polishing/flexible-polishers-finishing-polishing | |
/dental-supplies/finishing-polishing/mandrels | |
/dental-supplies/finishing-polishing/polishers | |
/dental-supplies/front-office-products | |
/dental-supplies/gloves-11751 | |
/dental-supplies/gloves-11751/latex | |
/dental-supplies/gloves-11751/miscellaneous | |
/dental-supplies/gloves-11751/neoprene | |
/dental-supplies/gloves-11751/nitrile | |
/dental-supplies/gloves-11751/polymax | |
/dental-supplies/gloves-11751/racks-dispensers | |
/dental-supplies/gloves-11751/stretch-vinyl | |
/dental-supplies/gloves-dental-supplies | |
/dental-supplies/handpieces-air-electric | |
/dental-supplies/handpieces-air-electric/handpiece-cleaners-lubricants | |
/dental-supplies/handpieces-air-electric/low-speed | |
/dental-supplies/impression-material-accessories-dental-supplies | |
/dental-supplies/impression-material-accessories-dental-supplies/impression-material | |
/dental-supplies/impression-material-accessories-dental-supplies/impression-material/alginate-impression-material | |
/dental-supplies/impression-material-accessories-dental-supplies/impression-material/mixing-material-tips | |
/dental-supplies/impression-material-accessories-dental-supplies/impression-tray | |
/dental-supplies/infection-control-1694 | |
/dental-supplies/infection-control-1694/accessories-11808 | |
/dental-supplies/infection-control-1694/alcohol | |
/dental-supplies/infection-control-1694/barrier-protection | |
/dental-supplies/infection-control-1694/bis | |
/dental-supplies/infection-control-1694/cleaners | |
/dental-supplies/infection-control-1694/disinfection | |
/dental-supplies/infection-control-1694/dispsables-infection-control-1694 | |
/dental-supplies/infection-control-1694/ethanol | |
/dental-supplies/infection-control-1694/evacuation-11800 | |
/dental-supplies/infection-control-1694/eyeware | |
/dental-supplies/infection-control-1694/face-shields | |
/dental-supplies/infection-control-1694/hand-care | |
/dental-supplies/infection-control-1694/hand-care/racks-dispensers-11765 | |
/dental-supplies/infection-control-1694/hand-sanitizers | |
/dental-supplies/infection-control-1694/hand-towels-coton-paper-supplies-dental-supplies | |
/dental-supplies/infection-control-1694/impulse-sealers | |
/dental-supplies/infection-control-1694/incubator | |
/dental-supplies/infection-control-1694/indicators | |
/dental-supplies/infection-control-1694/integrators | |
/dental-supplies/infection-control-1694/lotion | |
/dental-supplies/infection-control-1694/pouch | |
/dental-supplies/infection-control-1694/racks-dispensers-11818 | |
/dental-supplies/infection-control-1694/reveal | |
/dental-supplies/infection-control-1694/sanitizer | |
/dental-supplies/infection-control-1694/soap | |
/dental-supplies/infection-control-1694/steam-sterilization-integrator-infection-control-1694 | |
/dental-supplies/infection-control-1694/sterilant | |
/dental-supplies/infection-control-1694/sterilization | |
/dental-supplies/infection-control-1694/sterilization-pouches | |
/dental-supplies/infection-control-1694/surface-barriers-infection-control-1694 | |
/dental-supplies/infection-control-1694/surface-barriers-accessories | |
/dental-supplies/infection-control-1694/surface-disinfectant-wipes | |
/dental-supplies/infection-control-1694/surface-disinfection | |
/dental-supplies/infection-control-1694/tape | |
/dental-supplies/infection-control-1694/tests | |
/dental-supplies/infection-control-1694/tray-covers | |
/dental-supplies/infection-control-1694/tubing | |
/dental-supplies/infection-control-1694/x-ray-sensor-sleeves-infection-control-1694 | |
/dental-supplies/infection-control-dental-supplies | |
/dental-supplies/instrument-management | |
/dental-supplies/instrument-management/organizing-storage-instrument-management | |
/dental-supplies/instrument-management/tray-tub-racks | |
/dental-supplies/light-bulbs-accessories | |
/dental-supplies/mixing-wells | |
/dental-supplies/office-safety-patient-monitor | |
/dental-supplies/orthodontic | |
/dental-supplies/orthodontic/retainer-and-denture-boxes | |
/dental-supplies/pharmaceuticals | |
/dental-supplies/pharmaceuticals/injectable-anesthetics | |
/dental-supplies/practice-promoters | |
/dental-supplies/practice-promoters/accessories-11766 | |
/dental-supplies/practice-promoters/patient-giveaways | |
/dental-supplies/preventive | |
/dental-supplies/preventive/dappen-dishes | |
/dental-supplies/restoratives-cosmetic | |
/dental-supplies/restoratives-cosmetic/articulating | |
/dental-supplies/restoratives-cosmetic/x-ray-sensor-sleeves | |
/dental-supplies/restoratives-cosmetic/cements-liners | |
/dental-supplies/restoratives-cosmetic/composite-restorative-products | |
/dental-supplies/restoratives-cosmetic/composite-universal | |
/dental-supplies/restoratives-cosmetic/core-materials | |
/dental-supplies/restoratives-cosmetic/curing-lights | |
/dental-supplies/restoratives-cosmetic/dispensing-tips-restoratives-cosmetic | |
/dental-supplies/restoratives-cosmetic/micro-tip-applicators | |
/dental-supplies/restoratives-cosmetic/mixing-pads | |
/dental-supplies/restoratives-cosmetic/needles | |
/dental-supplies/restoratives-cosmetic/pins-restorative | |
/dental-supplies/restoratives-cosmetic/retraction-cord | |
/dental-supplies/restoratives-cosmetic/universal-composite-restoratives-cosmetic | |
/dental-supplies/restoratives-cosmetic/wedges | |
/dental-supplies/restoratives-cosmetic/wedges/wedges-wedges | |
/dental-supplies/rubber-dam-products | |
/dental-supplies/rubber-dam-products/dental-dam | |
/dental-supplies/small-equipment-dental-supplies | |
/dental-supplies/small-equipment-dental-supplies/apex-locators-obturation-systems-small-equipment-dental-supplies | |
/dental-supplies/small-equipment-dental-supplies/handpieces-small-equipment-dental-supplies | |
/dental-supplies/surgerical-dental-supplies | |
/dental-supplies/surgerical-dental-supplies/bone-regeneration-material-surgerical-dental-supplies | |
/dental-supplies/surgerical-dental-supplies/dry-socket-treatment-surgerical-dental-supplies | |
/dental-supplies/surgerical-dental-supplies/scalpels-blades-surgerical-dental-supplies | |
/dental-supplies/surgerical-dental-supplies/sutures-only-surgerical-dental-supplies | |
/dental-supplies/surgical | |
/dental-supplies/training-informational | |
/dental-supplies/x-ray-digital-imaging | |
/dental-supplies/x-ray-digital-imaging/accessories-11787 | |
/dental-supplies/x-ray-digital-imaging/digital-radiography | |
/dental-supplies/x-ray-digital-imaging/disposables-11786 | |
/dental-supplies/x-ray-digital-imaging/film | |
/dental-supplies/x-ray-digital-imaging/fixer-developer | |
/dental-supplies/x-ray-digital-imaging/greentreat | |
/dental-supplies/x-ray-digital-imaging/sensibles-bite-blocks-refill-kit | |
/dental-supplies/x-ray-digital-imaging/sensor-holders | |
/dental-supplies/x-ray-digital-imaging/snuggies-sensor | |
/denture-accessories-lab-labratory | |
/equipments | |
/equipments/cad-cam | |
/equipments/digital-imaging | |
/equipments/infection-control | |
/equipments/mechanical-room | |
/equipments/operatory-room | |
/equipments/small-equipment | |
/equipments/small-equipment/denture-boxes-small-equipment | |
/equipments/x-ray-waste-disposal | |
/hygiene-products | |
/hygiene-products/accessories | |
/hygiene-products/caries-detection | |
/hygiene-products/dental-floss-hygiene-products | |
/hygiene-products/denture | |
/hygiene-products/disposables | |
/hygiene-products/fluoride | |
/hygiene-products/halitosis | |
/hygiene-products/lip-balm | |
/hygiene-products/oravital | |
/hygiene-products/ortho-wax | |
/hygiene-products/piks | |
/hygiene-products/preventive-hygiene-products | |
/hygiene-products/preventive-hygiene-products/sealants-preventive-hygiene-products | |
/hygiene-products/prophy-cups-11747 | |
/hygiene-products/prophy-paste-11742 | |
/hygiene-products/prophy-products | |
/hygiene-products/toothbrushes-hygiene-products | |
/hygiene-products/toothpaste | |
/hygiene-products/travel | |
/hygiene-products/whitening | |
/instruments | |
/instruments/accessories-instruments | |
/instruments/bracket-holders-band-seaters | |
/instruments/carriers | |
/instruments/carvers-hoes-instruments | |
/instruments/cassette | |
/instruments/chisels-mallets-files-instruments | |
/instruments/composite-plastic-filling | |
/instruments/container | |
/instruments/cover | |
/instruments/curette | |
/instruments/elevators-periotomes | |
/instruments/esthetic-gauges | |
/instruments/explorers | |
/instruments/extraction | |
/instruments/forceps-pliers-hemostats | |
/instruments/gingival-retractors | |
/instruments/guard | |
/instruments/knives-cutters | |
/instruments/mat | |
/instruments/mirrors-instruments | |
/instruments/miscellaneous-instruments | |
/instruments/miscellaneous-instruments/lips-cheek-retractors | |
/instruments/miscellaneous-instruments/lips-cheek-retractors/cheek-retractors | |
/instruments/miscellaneous-instruments/mouth-gags | |
/instruments/miscellaneous-instruments/mouth-props | |
/instruments/osteotomes-bone-packers | |
/instruments/parts | |
/instruments/periosteals | |
/instruments/placement-instruments-instruments | |
/instruments/porcelain-instrument | |
/instruments/probes | |
/instruments/proform | |
/instruments/rack | |
/instruments/removers | |
/instruments/rings | |
/instruments/rubber-dam-frames-punches-instruments | |
/instruments/scalers-curettes-instruments | |
/instruments/scalpels-scissors | |
/instruments/sharpening-accessories | |
/instruments/spatulas | |
/instruments/sterilization-instruments | |
/instruments/strap | |
/instruments/syringe | |
/instruments/tape-instruments | |
/instruments/tray | |
/instruments/tub | |
/instruments/ultrasonic-scaler-tip-insert | |
/laboratory | |
/laboratory/denture-accessories-lab | |
/laboratory/denture-accessories-lab/denture-boxes | |
/ppe | |
/ppe/cap | |
/ppe/dental-office-wear | |
/ppe/eyewash-stations | |
/ppe/face-shields-ppe | |
/ppe/first-aid-kits | |
/ppe/gloves-ppe | |
/ppe/masks | |
/ppe/masks/earloop | |
/ppe/masks/visor | |
/ppe/sanitizers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$data = require 'data.php'; | |
$tree = []; | |
foreach ($data as $key => $node) { | |
$value = $node['value']; | |
$depth = $node['depth']; | |
$tree = array_slice($tree, 0, $depth); | |
$slug = '/' . $value; | |
$tree[$depth] = $slug; | |
$slug = implode('', $tree); | |
echo '<p>' . $slug . '</p>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment