/**
  * Handle the incoming action and pass it off to the correct method.
  */
 public function HandleToDo()
 {
     ConvertRequestInput();
     $what = isc_strtolower(@$_REQUEST['w']);
     switch ($what) {
         case 'uploadimage':
             $this->UploadImage();
             break;
         case 'getimageslist':
             $this->GetImagesList();
             break;
     }
 }
 public function HandleToDo()
 {
     ConvertRequestInput();
     $what = isc_strtolower(@$_REQUEST['w']);
     switch ($what) {
         case 'loadrecentorders':
             $this->LoadRecentOrders();
             break;
         case 'getperformanceindicators':
             $this->GetPerformanceIndicators();
             break;
     }
 }