class ogGroupSelectiveState in Organic groups 7
Same name in this branch
- 7 scripts/generate-og-d6-content.php \ogGroupSelectiveState
- 7 og_ui/scripts/generate-og-ui-d6-content.php \ogGroupSelectiveState
Same name and namespace in other branches
- 7.2 scripts/generate-og-d6-content.php \ogGroupSelectiveState
- 7.2 og_ui/scripts/generate-og-ui-d6-content.php \ogGroupSelectiveState
Groups with different selective state (e.g. open, moderated, etc'.).
Hierarchy
- class \ogGroupSelectiveState implements \ogContent
Expanded class hierarchy of ogGroupSelectiveState
File
- og_ui/
scripts/ generate-og-ui-d6-content.php, line 108
View source
class ogGroupSelectiveState implements ogContent {
public function groupList($user_ids) {
$list = array();
foreach (og_selective_map() as $key => $value) {
$list[] = array(
'title' => 'group-selective-state-' . $key,
'uid' => $user_ids[3],
'body' => 'Group with selective state set to ' . $value,
'og_description' => 'Group with selective state set.',
'og_selective' => $key,
);
}
return $list;
}
public function postList($user_ids, $groups) {
return array();
}
public function groupActions($user_ids, $groups, $posts) {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ogGroupSelectiveState:: |
public | function | ||
ogGroupSelectiveState:: |
public | function | ||
ogGroupSelectiveState:: |
public | function |