PHP Code:
function check() {
      if (!isset(
$this->_check)) {
        
$check_query tep_db_query("SELECT configuration_value FROM " TABLE_CONFIGURATION " WHERE configuration_key = 'MODULE_ORDER_TOTAL_REDEMPTIONS_SORT_ORDER'");
        
$this->_check tep_db_num_rows($check_query);
      }

      return 
$this->_check;
    } 
How can i make the above code zen-cart compliant??
I have read the wiki...
I am having trouble replacing $this-> check

Hoping to get a reply
Thanks