Created
December 10, 2009 23:50
-
-
Save perlDreamer/253832 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#------------------------------------------------------------------- | |
=head2 get_property_list ( ) | |
Returns the name of all properties, in the order they were created in the Definition. | |
=cut | |
sub get_property_list { | |
my $self = shift; | |
my @properties = | |
map { $_->name } | |
sort { $a->insertion_order <=> $b->insertion_order } | |
grep { $_->meta->isa('WebGUI::Definition::Meta::Property') } | |
$self->meta->get_all_attributes; | |
return \@properties; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment