21303 Posts in 5736 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 484 Views |
-
Inheritance

19 July 2010 at 9:28pm
Hi!
For me is not clear the idea of inheritance between page.
I create Page A and Page B. Both of them extends Page.
1. I define a function (function C) in Page Controller. Can I use this function in Page A and B Controller?
2. I define a function (function D) in Page A controller. Can I use This function in Page B controller? -
Re: Inheritance

19 July 2010 at 9:41pm
I create Page A and Page B. Both of them extends Page.
1. I define a function (function C) in Page Controller. Can I use this function in Page A and B Controller?
yes, because both pages inheirt from page controller
2. I define a function (function D) in Page A controller. Can I use This function in Page B controller?
no, only in page a
| 484 Views | ||
|
Page:
1
|
Go to Top |


