You are here

public function Notifications_Subscription_List::get_elements in Notifications 7

Get elements

File

./notifications.list.inc, line 339
Drupal Notifications Framework - Default class file

Class

Notifications_Subscription_List
List of subscriptions or subscription types

Code

public function get_elements($type) {
  switch ($type) {
    case 'items':
      return $this
        ->element_items();
    case 'checkboxes':
    default:
      return $this
        ->element_checkboxes();
  }
}