<?php
final class DModelskyhubskysetting extends Model{

  public function getKeyFromOrderStatus($order_status_id){

    $sql = "select `key` from oc_setting where `group` = 'skyhub' and `key` like 'skyhub_order_status_%' and `value` = $order_status_id";
    $retorno = $this->db->query($sql);

    return ($retorno->num_rows > 0) ? $retorno->row : false;


  }
}

