Merge branch 'static_definition' of github.com:plainblack/webgui into static_definition
This commit is contained in:
commit
7b0fcd9009
4 changed files with 95 additions and 4 deletions
|
|
@ -166,7 +166,10 @@ sub _gen_get {
|
|||
my $self = shift;
|
||||
if (@_) {
|
||||
my $prop = shift;
|
||||
return $self->$prop;
|
||||
if ($self->can($prop)) {
|
||||
return $self->$prop;
|
||||
}
|
||||
return undef;
|
||||
}
|
||||
my @all_properties = $self->getProperties;
|
||||
my %props;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue