See L</Placeholders>.
-Some placeholders (notably field references) require the entry be associated with a database and will throw an
-error if there is no association.
+Some placeholders (notably field references) require the entry be connected to a database and will throw an
+error if it is not.
=cut
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;
}
##############################################################################
$entry->prune_history(%options);
Remove as many older historical entries as necessary to get under the database limits. The limits are taken
-from the associated database (if any) or can be overridden with C<%options>:
+from the connected database (if any) or can be overridden with C<%options>:
=for :list
* C<max_items> - Maximum number of historical entries to keep (default: 10, no limit: -1)