/[Frey]/trunk/lib/Frey/ClassBrowser.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Frey/ClassBrowser.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 456 by dpavlin, Wed Nov 19 15:28:23 2008 UTC revision 457 by dpavlin, Wed Nov 19 16:53:13 2008 UTC
# Line 39  sub as_markup { Line 39  sub as_markup {
39                  push @run, qq|<a href="/Frey-ObjectBrowser?class=$class">collection</a>| if $class->can('collection_table');                  push @run, qq|<a href="/Frey-ObjectBrowser?class=$class">collection</a>| if $class->can('collection_table');
40                  my @class_methods = $self->class_methods( $class );                  my @class_methods = $self->class_methods( $class );
41                                    
42                  push @run, qq|<a href="/$class/$_">$_</a>|                  push @run, qq|<a href="/$class/as_$_">$_</a>|
43                          foreach ( grep { m{^as_} } @class_methods );                          foreach ( map { s{^as_}{} } $self->class_runnable( $class ) );
44                  push @input, $_                  push @input, $_
45                          foreach ( grep { m{^(markup/as_data/as_sponge)$} } @class_methods );                          foreach $self->class_inputs( $class );
46    
47                  $usage->{$class} ||= 0;                  $usage->{$class} ||= 0;
48                  $html                  $html

Legend:
Removed from v.456  
changed lines
  Added in v.457

  ViewVC Help
Powered by ViewVC 1.1.26