summaryrefslogtreecommitdiff
path: root/vendor/wikimedia/cdb/src/Reader/DBA.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/wikimedia/cdb/src/Reader/DBA.php')
-rw-r--r--vendor/wikimedia/cdb/src/Reader/DBA.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/wikimedia/cdb/src/Reader/DBA.php b/vendor/wikimedia/cdb/src/Reader/DBA.php
index 838bf6e0..62f1ad99 100644
--- a/vendor/wikimedia/cdb/src/Reader/DBA.php
+++ b/vendor/wikimedia/cdb/src/Reader/DBA.php
@@ -1,6 +1,7 @@
<?php
namespace Cdb\Reader;
+
use Cdb\Exception;
use Cdb\Reader;
@@ -46,4 +47,16 @@ class DBA extends Reader {
public function get( $key ) {
return dba_fetch( $key, $this->handle );
}
+
+ public function exists( $key ) {
+ return dba_exists( $key, $this->handle );
+ }
+
+ public function firstkey() {
+ return dba_firstkey( $this->handle );
+ }
+
+ public function nextkey() {
+ return dba_nextkey( $this->handle );
+ }
}