course details changes done
This commit is contained in:
parent
ccafe81776
commit
4c90107610
@ -44,8 +44,9 @@ class StudentView_Controller extends REST_Controller
|
|||||||
public function getStudentInfo_post()
|
public function getStudentInfo_post()
|
||||||
{
|
{
|
||||||
$requestedBy = $this->post('requestedBy');
|
$requestedBy = $this->post('requestedBy');
|
||||||
|
$requestedFrom = $this->post('requestedFrom');
|
||||||
|
|
||||||
$studentListDetails = $this->studentview_model->getStudentInfo($requestedBy);// Check if the employee exist
|
$studentListDetails = $this->studentview_model->getStudentInfo($requestedBy,$requestedFrom);// Check if the employee exist
|
||||||
if ($studentListDetails) {
|
if ($studentListDetails) {
|
||||||
$studentListDetails['status'] = REST_Controller::HTTP_OK;
|
$studentListDetails['status'] = REST_Controller::HTTP_OK;
|
||||||
// Set the response and exit
|
// Set the response and exit
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user