switch ($params[0]) { // first parameter is the content type
16
case 'blog':
17
case 'blogs':
18
createBlogs($params[1]);
19
break;
20
// the rest go here
21
default:
22
# nothing
23
echo "usage: .../gen-content/[blogs, bookmarks, discussions, groups, members, wire_posts, files, polls, events, missions]/N to create N random instances of that content type ";