Example #1
0
        break;
    case 'save':
    case 'apply':
        saveNewsFeed();
        break;
    case 'publish':
        publishNewsFeeds();
        break;
    case 'unpublish':
        unPublishNewsFeeds();
        break;
    case 'remove':
        removeNewsFeeds();
        break;
    case 'cancel':
        cancelNewsFeed();
        break;
    case 'orderup':
        moveUpNewsFeed();
        break;
    case 'orderdown':
        moveDownNewsFeed();
        break;
    case 'saveorder':
        saveOrder();
        break;
    default:
        showNewsFeeds();
        break;
}
/**
        editNewsFeed($id, $option);
        break;
    case 'save':
        saveNewsFeed($option);
        break;
    case 'publish':
        publishNewsFeeds($cid, 1, $option);
        break;
    case 'unpublish':
        publishNewsFeeds($cid, 0, $option);
        break;
    case 'remove':
        removeNewsFeeds($cid, $option);
        break;
    case 'cancel':
        cancelNewsFeed($option);
        break;
    case 'orderup':
        orderNewsFeed(intval($cid[0]), -1, $option);
        break;
    case 'orderdown':
        orderNewsFeed(intval($cid[0]), 1, $option);
        break;
    default:
        showNewsFeeds($option);
        break;
}
/**
* List the records
* @param string The current GET/POST option
*/