You are here

class ogGroupOrphanPost in Organic groups 7

Same name and namespace in other branches
  1. 7.2 scripts/generate-og-d6-content.php \ogGroupOrphanPost

A group post not associated to any other group.

Hierarchy

Expanded class hierarchy of ogGroupOrphanPost

File

scripts/generate-og-d6-content.php, line 172

View source
class ogGroupOrphanPost implements ogContent {
  public function groupList($user_ids) {
    return array();
  }
  public function postList($user_ids, $groups) {
    $list = array();
    $list[] = array(
      'title' => 'group-posts-orphan',
      'uid' => $user_ids[3],
      'body' => 'group posts orphan',
      'og_groups' => array(),
    );
    return $list;
  }
  public function groupActions($user_ids, $groups, $posts) {
  }

}

Members