Make WebGUI::Definition property methods work the same way that Moose attribute methods do.

Specifically, get_property_list does not return property names from all classes.  Add a new
method to do that.  Refactor and reuse lots of code.
This commit is contained in:
Colin Kuskie 2010-01-08 09:04:27 -08:00
parent 49992dddb9
commit ed752a25c3
2 changed files with 43 additions and 19 deletions

View file

@ -143,7 +143,7 @@ Returns a list of the names of all properties of the object, as set by the Defin
sub getProperties {
my $self = shift;
return $self->meta->get_property_list;
return $self->meta->get_all_property_list;
}
1;