CMS  Version 3.9
blog_subscribers.inc
Go to the documentation of this file.
1 <?php
2 
3 Fakoli::using("blog");
4 Fakoli::usingFeature("data_view");
5 
6 $title = "Blog Subscriber List";
7 
8 $blogs = query (Blog, " WHERE published=1");
9 
10 foreach ($blogs as $blog)
11 {
12  $blog_id = $blog->blog_id;
13  $blog_title = $blog->title;
14 
15  echo ("<h3>" . $blog_title . "</h3>");
16 
18  $blogSubscriberListView->drawView();
19 
20 }
21 
22 ?>
$blog
$blog_id
$blogSubscriberListView
Definition: blog.inc:41
static usingFeature()
Uses the specified framework feature(s).
Definition: core.inc:388
static using()
Import the datamodels, views and manifest for the specified component(s).
Definition: core.inc:116