public function main() { $objThis_M = new c_data(); $q_getData = $objThis_M->output(); $objThis_V = new c_view(); $s_main = $objThis_V->output($q_getData); return $s_main; }
public function output($i_orderID) { $objThis_m = new c_data(); $objThis_v = new c_view(); $s_sql = "select itemID, orderID, itemName, amount, status from dyn_eve_mining_order_item I left join braddoro.cfg_eve_mining_order_status S on I.itemStatusID = S.statusID where orderID = {$i_orderID} order by itemName;"; $q_getData = $objThis_m->getData($s_sql); $s_output = $objThis_v->output($q_getData); return $s_output; }