case 'entries_delete': $f_entries = Input::Get('f_entries', 'array'); foreach ($f_entries as $entry_id) { $BlogEntry = new BlogEntry($entry_id); $BlogEntry->delete(); } break; case 'comments_delete': $f_comments = Input::Get('f_comments', 'array'); foreach ($f_comments as $comment_id) { $BlogComment = new BlogComment($comment_id); $BlogComment->delete(); } break; case 'blogs_set_online': case 'blogs_set_offline': case 'blogs_set_moderated': case 'blogs_set_readonly': case 'blogs_set_pending': $f_blogs = Input::Get('f_blogs', 'array'); $status = substr($f_action, 10); foreach ($f_blogs as $blog_id) { $Blog = new Blog($blog_id); $Blog->setProperty('admin_status', $status);