Search found 5 matches

by dsainteclaire
Wed Sep 09, 2009 11:19 am
Forum: PHP - Code
Topic: wat does the operator :: use for?
Replies: 3
Views: 99

Re: wat does the operator :: use for?

You really could easily have searched on the php.net to determine that what you're looking for is the scope resolution operator that lets you call methods of classes outside the class you're currently in, without inheriting the method. Here is the detail for what you're looking for. http://us3.php.n...
by dsainteclaire
Tue Sep 08, 2009 8:06 pm
Forum: PHP - Code
Topic: XML Parsing with xml_set_character_data_handler help!!!!
Replies: 0
Views: 269

XML Parsing with xml_set_character_data_handler help!!!!

Ok, so I am hoping that maybe I'm just a dumb noob at PHP, and that either there's an easy answer to my question, or a much better way to do what I'm trying to do. I am reading an XML file in that is returned to me from a SOAP webservice call (yeah yeah I don't like SOAP either). And I'm using PHP's...
by dsainteclaire
Fri Sep 04, 2009 7:30 pm
Forum: PHP - Code
Topic: Accessing included constants from a class method
Replies: 5
Views: 283

Accessing included constants from a class method

I tried searching the forum for details on this in case someone had a similar question, but maybe my search terms weren't correct or something because I didn't find anything that would meet my needs. As a former C programmer, I have gotten used to having a separate file that's used just for constant...
by dsainteclaire
Mon Aug 31, 2009 3:27 pm
Forum: PHP - Code
Topic: Need help parsing an XML file!!
Replies: 2
Views: 161

Re: Need help parsing an XML file!!

Ok, I think that your advice will really help me out, but it brings up a question that I haven't been able to find a very clear answer to. So the parser reads in the XML file and then calls the start function for each tag that it comes across. Then in sequence calls the data handler function and the...
by dsainteclaire
Fri Aug 28, 2009 2:51 pm
Forum: PHP - Code
Topic: Need help parsing an XML file!!
Replies: 2
Views: 161

Need help parsing an XML file!!

Hello, I am really new to PHP. Normally I have done most of my server side development using Rails, but for my current project my employer asked me to test drive PHP to see if it's something we could use a little more often. My company exposes a SOAP webservice, but does not publish a WSDL. For test...