I'm new to PHP and SugarCRM, I wrote own DetailView.php & DetailView.html under my module to make a completely new layout. Already know current bean can be get by below approach
$focus = new PYR_Player();
$detailView = new DetailView();
$offset=0;
$result = $detailView->processSugarBean("PYR_Player", $focus, $offset);
But how to get list data from the referenced table? I tried processUnionBeans but don't know how to get subpanel_definitions. Any ideas?
$query=$detailView->processUnionBeans($focus, $subpanel_definitions, "pyr_player_pyr_balance_CELL");
SugarCRM version is Pro 6.5.8