| ||||||||||||||||
|
>> class a { >> function x() { echo "a"; } >> } >> class b { >> function x() { echo "b"; } >> function y() { родитель->x(); } // вот тут a::x() не проходит ;-) >> } Я предполагаю, вы хотели сказать "class b extends a"? Почему тогда a::x не подходит? -- frodo@xxxxxxxxxxxx \/ There shall be counsels taken Stanislav Malyshev /\ Stronger than Morgul-spells phone +972-3-9316425 /\ JRRT LotR. http://sharat.co.il/frodo/ whois:!SM8333 ============================================================================= = Apache-Talk@xxxxxxxxxxxxx mailing list = Mail "unsubscribe apache-talk" to majordomo@xxxxxxxxxxxxx if you want to quit. = Archive avaliable at http://www.lexa.ru/apache-talk =
"Russian Apache" includes software developed
by the Apache Group for use in the Apache HTTP server project
(http://www.apache.org/) See
Apache LICENSE. Copyright (C) 1995-2001 The Apache Group. All rights reserved. Copyright (C) 1996 Dm. Kryukov; Copyright (C) 1997-2009 |
|
|