I'm getting there - I can now get my data, but only by requesting them in my view. To do it right (the MVC way), I believe I should request the data in my model, not in the view...
I added this to my view.html.php
$this->statistics = $statistics = BankmanagerHelper::getData(
'currencies',array(
'select' => array(
'currency_name',
'currency_short_name',
'currency_symbol',
'ordering'
),
'relation' => array(
// LOAD Positions (N:1 relation)
'positions' => array(
'select' => 'amount'
)
)
)
);
so now I can access it in my view file through $this->statistics
I just think this more or less belongs in the model...