{ } private function deleteTest() { } /*End test*/ /*Question*/ private function createQuestion() { } private function updateQuestion() { } private function deleteQuestion() { } private function getTest() { //$tests=$this->admin->getTest(); /*$json=array(); while ($row = mysql_fetch_array($tests, MYSQL_ASSOC)){ $json[] = $row; } echo json_encode($json);*/ echo 'test 1233'; } } /*ajax hendler*/ $hendler = ajaxController::getInstance(); $hendler->switchControllerFunction(); /*end hendler*/