/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to codeigniter/application/controllers/ajax.php

  • Committer: elof.bigestans at gmail
  • Date: 2013-05-23 09:39:22 UTC
  • mto: This revision was merged to the branch mainline in revision 94.
  • Revision ID: elof.bigestans@gmail.com-20130523093922-xbqeshpui6u2wkbt
Working on functionality for managecourses

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
                        $this->load->model('user', '', TRUE);
12
12
                }
13
13
                
 
14
                /*
 
15
                 *      This function loads a popupview to be displayed, the argument is the name of the popupview
 
16
                 */
 
17
                public function popup($popupName) {
 
18
                        $popup = $this->load->view('popup/'.$popupName, '', TRUE);
 
19
                        return $popup;
 
20
                }
 
21
                
14
22
                
15
23
                /*
16
24
                 *      This function outputs data: user password hint.
68
76
                        $pwdOld = $this->input->post('currentPwd');
69
77
                        $pwdNew = $this->input->post('newPwd');
70
78
                }
 
79
 
 
80
                // Takes a course ID and sets the course to published (isHidden = 0)
 
81
                public function publishCourse($courseID) {
 
82
 
 
83
                }
 
84
 
 
85
                //Takes a course ID and sets the course to unpublished (isHidden = 1)
 
86
                public function unpublishCourse($courseID) {
 
87
                        
 
88
                }
71
89
        }
72
90
?>
 
 
b'\\ No newline at end of file'