/home/user/web/russianasha.ru/public_html/protected/modules/hoteltours/libs/api_sletat_ru/classes/class.xmlgatebackground.php(9)
01 <?php 02 namespace Api\SletatRu; 03 04 defined('API_SLETAT_RU') or die('Access Denied'); 05 06 use \Api\SletatRu\SOAP as SOAP; 07 08 class XMLGateBackground extends SOAP 09 { 10 # documentation: 11 # http://wiki.sletat.ru/w/%D0%A8%D0%BB%D1%8E%D0%B7_%D0%BF%D0%BE%D0%B8%D1%81%D0%BA%D0%B0_%D1%82%D1%83%D1%80%D0%BE%D0%B2_(xml) 12 # http://wiki.sletat.ru/w/%D0%9E%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D0%B0%D1%8F_%D0%B1%D0%B0%D0%B7%D0%B0_(xml) 13 const API_ID = 'urn:SletatRu:DataTypes:AuthData:v1'; 14 15 protected $_requestId = null; 16 protected $_containersArray = array( 17 'GetDepartCities' => 'City', 18 'GetCountries' => 'Country', 19 'GetCities' => 'City', 20 'GetHotelStars' => 'HotelStars', 21 'GetMeals' => 'Meal',
#0 |
+
–
/home/user/web/russianasha.ru/public_html/protected/modules/hoteltours/libs/api_sletat_ru/autoloader.php(31): require_once("/home/user/web/russianasha.ru/public_html/protected/modules/hote...") 26 { 27 $className = str_replace('\\', '_', str_replace(__NAMESPACE__ . '\\', '', $className)); 28 $classFileName = realpath($this->_classesPath . '/class.' . strtolower($className) . '.php'); 29 if($classFileName) 30 { 31 require_once($classFileName); 32 return true; 33 } 34 return false; 35 } 36 } |
#1 |
unknown(0): Api\SletatRu\Autoloader->autoloader("Api\SletatRu\XMLGateBackground")
|
#2 |
+
–
/home/user/web/russianasha.ru/public_html/protected/modules/hoteltours/libs/api_sletat_ru/classes/class.xmlgate.php(9): spl_autoload_call("Api\SletatRu\XMLGateBackground") 04 defined('API_SLETAT_RU') or die('Access Denied'); 05 06 use \Api\SletatRu\XMLGateBackground as XMLGateBackground; 07 08 class XMLGate extends XMLGateBackground 09 { 10 protected $__soap_wsdl = 'http://module.sletat.ru/XmlGate.svc?singlewsdl'; 11 protected $_hotelPhotosUrl = 'http://hotels.sletat.ru/i/p/'; 12 13 public function getDepartCities() 14 { |
#3 |
+
–
/home/user/web/russianasha.ru/public_html/protected/modules/hoteltours/libs/api_sletat_ru/autoloader.php(31): require_once("/home/user/web/russianasha.ru/public_html/protected/modules/hote...") 26 { 27 $className = str_replace('\\', '_', str_replace(__NAMESPACE__ . '\\', '', $className)); 28 $classFileName = realpath($this->_classesPath . '/class.' . strtolower($className) . '.php'); 29 if($classFileName) 30 { 31 require_once($classFileName); 32 return true; 33 } 34 return false; 35 } 36 } |
#4 |
unknown(0): Api\SletatRu\Autoloader->autoloader("Api\SletatRu\XMLGate")
|
#5 |
+
–
/home/user/web/russianasha.ru/public_html/protected/modules/hoteltours/components/Functions.php(9): spl_autoload_call("Api\SletatRu\XMLGate") 04 */ 05 class Functions 06 { 07 public static function getConnection($login, $password) { 08 require_once(realpath(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'libs' . DIRECTORY_SEPARATOR . 'api_sletat_ru' . DIRECTORY_SEPARATOR . 'autoloader.php')); 09 return new \Api\SletatRu\XMLGate(array('login' => $login, 'password' => $password)); 10 } 11 12 public static function explodeToColumn($array, $column = 2, $weight = false, $with_title = false, $space = false) 13 { 14 $result = array(); |
#6 |
+
–
/home/user/web/russianasha.ru/public_html/protected/modules/hoteltours/controllers/DefaultController.php(117): Functions::getConnection("director@7vetrov.com", "BHp4d8cKT") 112 } 113 $default_column_city = ModuleConfigs::get('default_column_city'); 114 $default_column_country = ModuleConfigs::get('default_column_country'); 115 $sletat_login = Yii::app()->params['sletatru']['sletat_login']; 116 $sletat_password = Yii::app()->params['sletatru']['sletat_password']; 117 $xml = Functions::getConnection($sletat_login, $sletat_password); 118 $from_city = $xml->getDepartCities(); 119 $from_city = Functions::explodeToColumn(Functions::sortByAbc($from_city), $default_column_city, true, true, true); 120 $countries = $xml->GetCountries($default_city_id); 121 $countries = Functions::countryFilteringByList($countries, 'sng'); 122 $countriesFiltered = Functions::explodeToColumn(Functions::sortByAbc($countries), $default_column_country, true, true, true); |
#7 |
+
–
/home/user/web/russianasha.ru/public_html/protected/modules/hoteltours/controllers/DefaultController.php(7): DefaultController->actionScene() 02 class DefaultController extends Controller { 03 protected $_isMainSearch = false; 04 05 public function actionIndex() { 06 $this->_isMainSearch = true; 07 $this->actionScene(); 08 /* 09 # Небольшой велосипединг для суточного кеши 10 $cacheFlag = false; 11 $cacheContent = ''; 12 $queryId = 'dayCache'; |
#8 |
+
–
/home/user/web/russianasha.ru/public_html/framework/web/actions/CInlineAction.php(49): DefaultController->actionIndex() 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 else 49 return $controller->$methodName(); 50 } 51 52 } |
#9 |
+
–
/home/user/web/russianasha.ru/public_html/framework/web/CController.php(308): CInlineAction->runWithParams(array()) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#10 |
+
–
/home/user/web/russianasha.ru/public_html/framework/web/CController.php(286): CController->runAction(CInlineAction) 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#11 |
+
–
/home/user/web/russianasha.ru/public_html/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array()) 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#12 |
+
–
/home/user/web/russianasha.ru/public_html/framework/web/CWebApplication.php(282): CController->run("index") 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#13 |
+
–
/home/user/web/russianasha.ru/public_html/framework/web/CWebApplication.php(141): CWebApplication->runController("hoteltours/default/index") 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#14 |
+
–
/home/user/web/russianasha.ru/public_html/framework/base/CApplication.php(169): CWebApplication->processRequest() 164 public function run() 165 { 166 if($this->hasEventHandler('onBeginRequest')) 167 $this->onBeginRequest(new CEvent($this)); 168 register_shutdown_function(array($this,'end'),0,false); 169 $this->processRequest(); 170 if($this->hasEventHandler('onEndRequest')) 171 $this->onEndRequest(new CEvent($this)); 172 } 173 174 /** |
#15 |
+
–
/home/user/web/russianasha.ru/public_html/index.php(35): CApplication->run() 30 if(YII_DEBUG) { 31 error_reporting(\E_ALL | ~\E_NOTICE); 32 ini_set('display_errors', 'On'); 33 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3); 34 } 35 Yii::createWebApplication($config)->run(); |