Definition at line 610 of file blog_view.inc.
◆ BlogSubscriberListView()
BlogSubscriberListView::BlogSubscriberListView |
( |
|
$blog_id | ) |
|
Definition at line 615 of file blog_view.inc.
623 $this->table =
new DataListView($blog_subscribers,
"blogSubscribers");
624 $this->table->column(
"Subscriber Email",
"{subscriber_email}",
true);
628 $this->table->column(
"First Name",
"{first_name}",
true);
629 $this->table->column(
"Last Name",
"{last_name}",
true);
630 $this->table->column(
"Organization",
"{organization}",
true);
635 $this->table->filter =
true;
636 $this->table->sortable =
true;
637 $this->table->excelFile =
"blog_subscribers.xls";
638 $this->table->emptyMessage =
"Currently there are no subscribers to this blog.";
639 $this->table->zebra = 1;
formatUnsubscribeLink($blog_subscriber)
static getValue($component, $name)
Retrieve the value of the specified Setting.
◆ drawView()
BlogSubscriberListView::drawView |
( |
| ) |
|
Definition at line 651 of file blog_view.inc.
654 $script .= $this->table->writeScript();
656 $this->table->drawView();
◆ formatUnsubscribeLink()
BlogSubscriberListView::formatUnsubscribeLink |
( |
|
$blog_subscriber | ) |
|
Definition at line 642 of file blog_view.inc.
644 $blog_id = $blog_subscriber->blog_id;
647 $unsubscribeLink =
"<a href='/action/blog/unsubscribe?blog_id={$blog_id}&blog_subscriber_id={$blog_subscriber_id}'>Remove</a>";
648 return $unsubscribeLink ;
◆ $blog
BlogSubscriberListView::$blog |
◆ $table
BlogSubscriberListView::$table |
The documentation for this class was generated from the following file: