function OnLoadPageData() { # new data manager $o_manager = new ClubManager($this->GetSettings(), $this->GetDataConnection()); # get teams $o_manager->ReadAll(); $this->a_clubs = $o_manager->GetItems(); # tidy up unset($o_manager); }