Guest User

Untitled

a guest
Apr 25th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. #-------------------------------------------------------------------
  2.  
  3. =head2 get_property_list ( )
  4.  
  5. Returns the name of all properties, in the order they were created in the Definition.
  6.  
  7. =cut
  8.  
  9. sub get_property_list {
  10. my $self = shift;
  11. my @properties =
  12. map { $_->name }
  13. sort { $a->insertion_order <=> $b->insertion_order }
  14. grep { $_->meta->isa('WebGUI::Definition::Meta::Property') }
  15. $self->meta->get_all_attributes;
  16. return \@properties;
  17. }
Add Comment
Please, Sign In to add comment