Lines Matching refs:data
142 * @param $aData Array The data created by the <tt>handle()</tt>
149 function render($mode, &$renderer, $data) { argument
153 if (empty($data)) {
159 if (array_key_exists('defrag_vers', $data)) {
165 if (array_key_exists('g_gametype', $data)) {
166 switch($data['g_gametype']) {
182 $buf .= "<h3>".$this->_colorize($data['sv_hostname'], 'server')."</h3>";
190 (($data['g_needpass'] == 0) ?
195 if (array_key_exists('defrag_vers', $data))
197 else if (array_key_exists('g_gametype', $data) and $data['g_gametype'] == 4) {
201 else if (array_key_exists('g_gametype', $data) and $data['g_gametype'] == 3) {
205 else if (array_key_exists('g_gametype', $data) and $data['g_gametype'] == 0) {
214 $buf .= $this->_renderInformation($key, $data[$key]);
218 $buf .= $this->_flagbar($data);
220 $maxclient = $data['sv_maxclients'] - $data['sv_privateClients'];
221 $buf .= "<h4>{$this->getLang('players')} ".count($data['players'])."/{$maxclient}</h4>";
223 foreach ($data['players'] as $item) {
282 function _flagbar($data) { argument
298 $keytotest = ((isset($data['game'])) ? 'game' : 'gamename');
299 if ($data[$keytotest] == $key) {
305 if ($data[$key] == 1) {