_rspErr(1, 'current stage Have not yet started'); return ; } $info = array( 'start_time' => strtotime($circuitStageMeta['start_time']), 'end_time' => strtotime($circuitStageMeta['end_time']), 'cec_pool' => $circuitStageMeta['cec_pool'] ); $this->_rspData(array('info' => $info)); } public function getCircuitRanking(){ $currentCircuitMeta = mt\CircuitTime::getCurrentCircuit(); if (!$currentCircuitMeta){ $this->_rspErr(1, 'current stage Have not yet started'); return ; } } }