]> Dogcows Code - chaz/p5-File-KDBX/blobdiff - lib/File/KDBX/Entry.pm
Add iterator
[chaz/p5-File-KDBX] / lib / File / KDBX / Entry.pm
index 0ad08a0c898c69010db4b98bafcf749357af3c89..a242def254fd6bcbc8e17dcf31225c26d3a08acc 100644 (file)
@@ -438,9 +438,19 @@ sub binary_value {
     return $binary->{value};
 }
 
+sub searching_enabled {
+    my $self = shift;
+    my $parent = $self->parent;
+    return $parent->effective_enable_searching if $parent;
+    return true;
+}
+
 sub auto_type_enabled {
-    my $entry = shift;
-    # TODO
+    my $self = shift;
+    return false if !$self->auto_type->{enabled};
+    my $parent = $self->parent;
+    return $parent->effective_enable_auto_type if $parent;
+    return true;
 }
 
 ##############################################################################
This page took 0.020177 seconds and 4 git commands to generate.