Пример #1
0
 private static function startLogin(MMapResponse $response)
 {
     // start Process
     $loginProcess = new Process('login');
     ProcManager::getInstance()->execute($loginProcess);
     // prepare context and execute application
     $loginAppDesc = new EyeMobileApplicationDescriptor('login');
     $appContext = new AppMobileExecutionContext();
     $appContext->setApplicationDescriptor($loginAppDesc);
     $appContext->setIncludeBody(true);
     $appContext->setProcess($loginProcess);
     MMapMobileGetApp::getInstance()->processRequest(MMapManager::getCurrentRequest(), $response, $appContext);
 }