Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.4.4

Request #6589 Request to get the currently generated url
Submitted: 2006-01-26 06:49 UTC
From: electroteque Assigned: avb
Status: Closed Package: HTTP_Request
PHP Version: 5.1.1 OS: n/a
Roadmaps: (Not assigned)    
Subscription  


 [2006-01-26 06:49 UTC] electroteque
Description: ------------ Im wondering if there is a way for me to prevent doing this to obtain the generated url after adding parameters $url = $request->_url->getURL(); Im having to get the Net_URL object which is obviously private :) So maybe a wrapper method function getURL() { return $url = $this->_url->getURL(); }

Comments

 [2006-02-05 04:55 UTC] electroteque
Hi any update on this ? Its a bit silly trying to access a private variable right ? Sure PHP4 lets you do it though :D
 [2006-06-03 10:05 UTC] avb (Alexey Borzov)
Yes, this addition makes sense since I'm accessing the _url property all over the place in HTTP_Client myself. I'd rather have the method return the Net_URL object itself, though.
 [2006-10-10 19:31 UTC] avb (Alexey Borzov)
Added to CVS
 [2006-10-11 02:00 UTC] electroteque
Ill hassle the Net_URL maintainer.
 [2006-10-11 02:01 UTC] electroteque
Woops seems i got the wrong message sorry.