Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function process(){
- $this->load->model('Roster_model', '', TRUE);
- $action = $_REQUEST['action'];
- $pass_through = array(
- 'update_main', 'update_alt', 'update_rank',
- 'delete_main', 'delete_alt', 'delete_rank',
- 'insert_main', 'insert_alt', 'insert_rank'
- );
- if(in_array($action, $pass_through)){
- $this->_$action();
- }
- }
- ?>
Add Comment
Please, Sign In to add comment