getNodeList(); if($nodeList){ foreach($nodeList as $node){ if($node['code'] == $row){ return $node['name']; } } } return "-"; } }