/var/www/protected/modules/social/components/twitter/TwitterOAuth.php(82)
70 /** 71 * Get a request_token from Twitter 72 * 73 * @returns a key/value array containing oauth_token and oauth_token_secret 74 */ 75 function getRequestToken($oauth_callback = NULL) { 76 $parameters = array(); 77 if (!empty($oauth_callback)) { 78 $parameters['oauth_callback'] = $oauth_callback; 79 } 80 $request = $this->oAuthRequest($this->requestTokenURL(), 'GET', $parameters); 81 $token = OAuthUtil::parse_parameters($request); 82 $this->token = new OAuthConsumer($token['oauth_token'], $token['oauth_token_secret']); 83 return $token; 84 } 85 86 /** 87 * Get the authorize URL 88 * 89 * @returns a string 90 */ 91 function getAuthorizeURL($token, $sign_in_with_twitter = TRUE) { 92 if (is_array($token)) { 93 $token = $token['oauth_token']; 94 }
#0 |
+
–
/var/www/protected/modules/social/worklets/twitter/WSocialTwitterLogin.php(9): TwitterOAuth->getRequestToken("http://www.inspir.ly/de/user/login") 04 public function taskConfig() 05 { 06 parent::taskConfig(); 07 08 $connection = wm()->get('social.twitter.helper')->oAuth(); 09 $request_token = $connection->getRequestToken(aUrl('/user/login')); 10 11 $_SESSION['oauth_token'] = $token = $request_token['oauth_token']; 12 $_SESSION['oauth_token_secret'] = $request_token['oauth_token_secret']; 13 14 if ($connection->http_code == 200) { |
#1 |
unknown(0): WSocialTwitterLogin->taskConfig()
|
#2 |
+
–
/var/www/framework/uniprogy/framework/worklets/UWorklet.php(94): call_user_func_array(array(WSocialTwitterLogin, "taskconfig"), array()) 89 if(method_exists($this,'before'.$name)) 90 if(($before = call_user_func_array(array($this,'before'.$name),$parameters))!==null) 91 return $before; 92 // worklet task 93 $result = method_exists($this,'task'.$name) 94 ? call_user_func_array(array($this,'task'.$name),$parameters) 95 : parent::__call('task'.$name,$parameters); 96 // worklet after 97 $parameters['result'] = $result; 98 if(method_exists($this,'after'.$name)) 99 if(($after = call_user_func_array(array($this,'after'.$name),$parameters))!==null) |
#3 |
+
–
/var/www/framework/uniprogy/framework/worklets/UWidgetWorklet.php(158): UWorklet->__call("config", array()) 153 /** 154 * Worklet builder. 155 */ 156 public function taskBuild() 157 { 158 $this->config(); 159 } 160 161 /** 162 * Configures worklet. 163 */ |
#4 |
+
–
/var/www/framework/uniprogy/framework/worklets/UWidgetWorklet.php(158): WSocialTwitterLogin->config() 153 /** 154 * Worklet builder. 155 */ 156 public function taskBuild() 157 { 158 $this->config(); 159 } 160 161 /** 162 * Configures worklet. 163 */ |
#5 |
unknown(0): UWidgetWorklet->taskBuild()
|
#6 |
+
–
/var/www/framework/uniprogy/framework/worklets/UWorklet.php(94): call_user_func_array(array(WSocialTwitterLogin, "taskbuild"), array()) 89 if(method_exists($this,'before'.$name)) 90 if(($before = call_user_func_array(array($this,'before'.$name),$parameters))!==null) 91 return $before; 92 // worklet task 93 $result = method_exists($this,'task'.$name) 94 ? call_user_func_array(array($this,'task'.$name),$parameters) 95 : parent::__call('task'.$name,$parameters); 96 // worklet after 97 $parameters['result'] = $result; 98 if(method_exists($this,'after'.$name)) 99 if(($after = call_user_func_array(array($this,'after'.$name),$parameters))!==null) |
#7 |
+
–
/var/www/framework/uniprogy/framework/worklets/UWidgetWorklet.php(54): UWorklet->__call("build", array()) 49 * Initializes worklet. 50 * By default it only executes {@link taskBuild} task. 51 */ 52 public function init() 53 { 54 $this->build(); 55 } 56 57 /** 58 * Renders worklet output. 59 * @param boolean return output or print it out. |
#8 |
+
–
/var/www/framework/uniprogy/framework/worklets/UWidgetWorklet.php(54): WSocialTwitterLogin->build() 49 * Initializes worklet. 50 * By default it only executes {@link taskBuild} task. 51 */ 52 public function init() 53 { 54 $this->build(); 55 } 56 57 /** 58 * Renders worklet output. 59 * @param boolean return output or print it out. |
#9 |
+
–
/var/www/framework/uniprogy/framework/worklets/UWorkletManager.php(128): UWidgetWorklet->init() 123 124 if($worklet instanceOf UWorklet) 125 { 126 if($worklet->access()) 127 { 128 $worklet->init(); 129 $id = $id===null?$worklet->getId():$id; 130 $this->_worklets->add($id,$worklet); 131 return $worklet; 132 } 133 } |
#10 |
+
–
/var/www/framework/uniprogy/framework/worklets/UWorkletManager.php(99): UWorkletManager->add(WSocialTwitterLogin, null, array()) 094 */ 095 public function addCurrent($worklet,$id=null,$config=array()) 096 { 097 $worklet = $worklet instanceOf UWorklet ? $worklet : wm()->get($worklet,$config); 098 $previous = $this->_currentWorklet?$this->_currentWorklet->id:null; 099 if($worklet = $this->add($worklet,$id,$config)) 100 { 101 $current = $this->_currentWorklet?$this->_currentWorklet->id:null; 102 if($current == $previous) 103 $this->_currentWorklet = $worklet; 104 return $worklet; |
#11 |
+
–
/var/www/protected/modules/base/worklets/WBaseInit.php(84): UWorkletManager->addCurrent(WSocialTwitterLogin) 79 public function taskWorklet() 80 { 81 $route = app()->getController()->getRouteEased(); 82 $worklet = wm()->get(str_replace("/", ".", $route)); 83 if($worklet) 84 wm()->addCurrent($worklet); 85 else 86 app()->controller->missingAction(app()->controller->action->id); 87 } 88 89 /** |
#12 |
unknown(0): WBaseInit->taskWorklet()
|
#13 |
+
–
/var/www/framework/uniprogy/framework/worklets/UWorklet.php(94): call_user_func_array(array(WBaseInit, "taskworklet"), array()) 89 if(method_exists($this,'before'.$name)) 90 if(($before = call_user_func_array(array($this,'before'.$name),$parameters))!==null) 91 return $before; 92 // worklet task 93 $result = method_exists($this,'task'.$name) 94 ? call_user_func_array(array($this,'task'.$name),$parameters) 95 : parent::__call('task'.$name,$parameters); 96 // worklet after 97 $parameters['result'] = $result; 98 if(method_exists($this,'after'.$name)) 99 if(($after = call_user_func_array(array($this,'after'.$name),$parameters))!==null) |
#14 |
+
–
/var/www/protected/modules/base/worklets/WBaseInit.php(41): UWorklet->__call("worklet", array()) 36 } 37 38 public function taskBuild() 39 { 40 $this->config(); 41 $this->worklet(); 42 $this->renderPage(); 43 } 44 45 /** 46 * Initialization: verify current language, set render type to "ajax" |
#15 |
+
–
/var/www/protected/modules/base/worklets/WBaseInit.php(41): WBaseInit->worklet() 36 } 37 38 public function taskBuild() 39 { 40 $this->config(); 41 $this->worklet(); 42 $this->renderPage(); 43 } 44 45 /** 46 * Initialization: verify current language, set render type to "ajax" |
#16 |
unknown(0): WBaseInit->taskBuild()
|
#17 |
+
–
/var/www/framework/uniprogy/framework/worklets/UWorklet.php(94): call_user_func_array(array(WBaseInit, "taskbuild"), array()) 89 if(method_exists($this,'before'.$name)) 90 if(($before = call_user_func_array(array($this,'before'.$name),$parameters))!==null) 91 return $before; 92 // worklet task 93 $result = method_exists($this,'task'.$name) 94 ? call_user_func_array(array($this,'task'.$name),$parameters) 95 : parent::__call('task'.$name,$parameters); 96 // worklet after 97 $parameters['result'] = $result; 98 if(method_exists($this,'after'.$name)) 99 if(($after = call_user_func_array(array($this,'after'.$name),$parameters))!==null) |
#18 |
+
–
/var/www/framework/uniprogy/framework/yii/web/actions/UAction.php(28): UWorklet->__call("build", array()) 23 /** 24 * UAction does only one thing - it launches an initial worklet. 25 */ 26 public function run() 27 { 28 wm()->get(wm()->getInitialWorklet())->build(); 29 } 30 } |
#19 |
+
–
/var/www/framework/uniprogy/framework/yii/web/actions/UAction.php(28): WBaseInit->build() 23 /** 24 * UAction does only one thing - it launches an initial worklet. 25 */ 26 public function run() 27 { 28 wm()->get(wm()->getInitialWorklet())->build(); 29 } 30 } |
#20 |
+
–
/var/www/framework/yii/framework/web/actions/CAction.php(72): UAction->run() 67 { 68 $method=new ReflectionMethod($this, 'run'); 69 if($method->getNumberOfParameters()>0) 70 return $this->runWithParamsInternal($this, $method, $params); 71 else 72 return $this->run(); 73 } 74 75 /** 76 * Executes a method of an object with the supplied named parameters. 77 * This method is internally used. |
#21 |
+
–
/var/www/framework/yii/framework/web/CController.php(300): CAction->runWithParams(array("language" => "de")) 295 { 296 $priorAction=$this->_action; 297 $this->_action=$action; 298 if($this->beforeAction($action)) 299 { 300 if($action->runWithParams($this->getActionParams())===false) 301 $this->invalidActionParams($action); 302 else 303 $this->afterAction($action); 304 } 305 $this->_action=$priorAction; |
#22 |
+
–
/var/www/framework/yii/framework/web/filters/CFilterChain.php(134): CController->runAction(UAction) 129 $filter=$this->itemAt($this->filterIndex++); 130 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 131 $filter->filter($this); 132 } 133 else 134 $this->controller->runAction($this->action); 135 } 136 } |
#23 |
+
–
/var/www/framework/yii/framework/web/filters/CFilter.php(41): CFilterChain->run() 36 */ 37 public function filter($filterChain) 38 { 39 if($this->preFilter($filterChain)) 40 { 41 $filterChain->run(); 42 $this->postFilter($filterChain); 43 } 44 } 45 46 /** |
#24 |
+
–
/var/www/framework/yii/framework/web/filters/CFilterChain.php(131): CFilter->filter(CFilterChain) 126 { 127 if($this->offsetExists($this->filterIndex)) 128 { 129 $filter=$this->itemAt($this->filterIndex++); 130 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 131 $filter->filter($this); 132 } 133 else 134 $this->controller->runAction($this->action); 135 } 136 } |
#25 |
+
–
/var/www/framework/yii/framework/web/CController.php(283): CFilterChain->run() 278 $this->runAction($action); 279 else 280 { 281 $priorAction=$this->_action; 282 $this->_action=$action; 283 CFilterChain::create($this,$action,$filters)->run(); 284 $this->_action=$priorAction; 285 } 286 } 287 288 /** |
#26 |
+
–
/var/www/framework/yii/framework/web/CController.php(257): CController->runActionWithFilters(UAction, array(array("UAccessFilter"))) 252 { 253 if(($parent=$this->getModule())===null) 254 $parent=Yii::app(); 255 if($parent->beforeControllerAction($this,$action)) 256 { 257 $this->runActionWithFilters($action,$this->filters()); 258 $parent->afterControllerAction($this,$action); 259 } 260 } 261 else 262 $this->missingAction($actionID); |
#27 |
+
–
/var/www/framework/yii/framework/web/CWebApplication.php(277): CController->run("login") 272 { 273 list($controller,$actionID)=$ca; 274 $oldController=$this->_controller; 275 $this->_controller=$controller; 276 $controller->init(); 277 $controller->run($actionID); 278 $this->_controller=$oldController; 279 } 280 else 281 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 282 array('{route}'=>$route===''?$this->defaultController:$route))); |
#28 |
+
–
/var/www/framework/yii/framework/web/CWebApplication.php(136): CWebApplication->runController("social/twitter/login") 131 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 132 $_GET[$name]=$value; 133 } 134 else 135 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 136 $this->runController($route); 137 } 138 139 /** 140 * Registers the core application components. 141 * This method overrides the parent implementation by registering additional core components. |
#29 |
+
–
/var/www/framework/yii/framework/base/CApplication.php(158): CWebApplication->processRequest() 153 */ 154 public function run() 155 { 156 if($this->hasEventHandler('onBeginRequest')) 157 $this->onBeginRequest(new CEvent($this)); 158 $this->processRequest(); 159 if($this->hasEventHandler('onEndRequest')) 160 $this->onEndRequest(new CEvent($this)); 161 } 162 163 /** |
#30 |
+
–
/var/www/index.php(15): CApplication->run() 10 // ini_set('display_errors', 'Off'); 11 12 require_once($yii); 13 require_once(dirname(__FILE__).'/protected/components/UApp.php'); 14 15 Yii::createApplication('UApp',$config)->run(); |