Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. senorcai

    Non OO functions calling objects

    I didn't realise you have to explicitly type global $stack in every method in which you need to use it. Problem sorted now thank you!
  2. senorcai

    Non OO functions calling objects

    Doesn't global $stack; do that for you? If not then that's most likely the problem, though I wouldn't have expected there to be a need to declare it global anyway - that was more through a matter of desperation. I just searched google and found another way of declaring the global variables so...
  3. senorcai

    Non OO functions calling objects

    Hi All I've been having all sorts of issues just trying to get a LIFO Stack working in PHP and am not quite sure why. In my latest incarnation I've actually build a Stack class. However, when I try to call the push function (and probably the pop too if it ever got that far) it just returns the...
  4. senorcai

    XMLHttpRequest using a callback function within an object

    Thanks. I figured that was probably what was going on. Its all working now so thanks a lot!
  5. senorcai

    XMLHttpRequest using a callback function within an object

    OK I've now got as far as combining queries together and found that this.Number doesn't work. Nor does there seem to be reference to it or anything similar anywhere. Does anyone know what this function might be called or how to build it? Thanks SenorCai
  6. senorcai

    XMLHttpRequest using a callback function within an object

    Thanks tsdragon. This works for one object in the array but if I do it this way, when I delete an object in the array won't this change the array indexing so that the handleReponse method will be called on a different object to the intended one? I don't know yet as I haven't got quite that...
  7. senorcai

    XMLHttpRequest using a callback function within an object

    Hi All I've got a working implementation using an XMLHttpRequest to grab some information from an RDF triplestore through a webservice and display it on the page. However, I'm trying to move to a more object-orientated design for the requests as we need to store certain information alongside...

Part and Inventory Search

Back
Top