select() ->where('ProviderOrderId = ?', (int)$date_st) ->limit(1); $result = $this->getAdapter()->fetchAll($sql); return ($result); } } ?>