// Retrieve all articles from the content management system $articles = getModuleObjects('articles'); // Loop through the array of articles and output each one foreach ($articles as $article) { echo 'In this example, the getModuleObjects function is used to retrieve all articles from the CMS. The foreach loop then outputs the title and body of each article.' . $article->title . '
'; echo '' . $article->body . '
'; }