Class inheritance

I have controller myClass extends oxUbase
everything is working correctly, but on the same view i need results from news class,
[{assign var=“oNews” value=$oView->getNews() }]
I’m trying to assing var like this in the same view but i always have Function ‘getNews’ does not exist or is not accessible!
Anyone can help me ?
Thank you.

inherit from news instead of oxubase in your controller