![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 17 Pomógł: 0 Dołączył: 31.05.2008 Ostrzeżenie: (0%) ![]() ![]() |
Witam,
mam taki kod:
Wszystko jest ok aż do ostatniej linijki kodu - echo $Node->Hello(); Wynik skryptu: Hello! World. test1 Fatal error: Call to undefined method DOMElement::Hello() in D:\WebServ\httpd-users\test\index.php on line 17 Czy istnieje jakieś rozwiązanie aby obiekt $Node = new MyClass() po przypisaniu $NodeList->item(0); był nadal obiektem klasy MyClass? (IMG:style_emoticons/default/questionmark.gif) ? Przez to cała robota mi stanęła...proszę o pomoc (IMG:style_emoticons/default/smile.gif) Ten post edytował morris4life 30.11.2009, 11:31:00 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 17.10.2025 - 23:44 |