title: How to get all courses on moodle?
body: <p>I need to show all moodle courses in menu listing.
  Can anyone suggest me that how can I get all courses using php code or moodle inbuilt functions.</p>
  
  <p>Thanks</p>