]> _ Git - cubist_cms-back.git/commit
Added getHrefByID function to Menu Items so we can avoid exceptions when menu item...
authorStephen Cameron <stephen@cubedesigners.com>
Mon, 15 Jul 2019 13:13:12 +0000 (15:13 +0200)
committerStephen Cameron <stephen@cubedesigners.com>
Mon, 15 Jul 2019 13:13:12 +0000 (15:13 +0200)
commit809bc343e25f9a4476f46614e81992f912e707a7
tree84bde4bdf8319795bc08537e6419155879876af3
parentbbb4d1c72315e49e09c082a3fad20c93ae5e2d63
Added getHrefByID function to Menu Items so we can avoid exceptions when menu item isn't found by the ID. Also added getImageURLbyCollection function to PageData so we can fetch image URL by specifying collection name instead of the data offset (sometimes it's not practical to give the offset). WIP #2738 @0.5
src/app/Magic/Menu/Item.php
src/app/Magic/PageData.php