Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Pmdev documentation

by ELISHEVA (Prior)
on Aug 12, 2009 at 18:06 UTC ( [id://788006]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       # !!!HARDCODED DATA!!! - common data with [rebless]
       # Note: for ease of use hash key names are the same as
    ...
       }
       return $hBogus; #not a docball
    
  2. or download this
       # replace lines 3-8
       my $sType = $NODE->{type}{title};
    ...
          ? "Normal View"
          : htmlcode('get_docball_data','',$sType)->{altview});
    
  3. or download this
       #lines 131-139
       # these hardcode the string 'sitedoc' but for now
    ...
           push @out, htmlcode('get_sitedoclet','',$NODE);
       }
    
  4. or download this
       # replace lines 15-20
       my $hDocball = htmlcode('get_docball_data',''
    ...
       htmlcode('groupeditor', 'string'
          , $hDocball->{stringtype});
    
  5. or download this
       [%
          # make very sure we pass a hash to avoid
    ...
          htmlcode('get_sitedoclet', $NODE);
       %]
    
  6. or download this
       [%
          # derive updaters group from node
    ...
          htmlcode('handle_node_edits', '', $updaters_group);
       %]
    
  7. or download this
       # !!!HARDCODED DATA!!!
       # !!!must be synchronized with group-based rules stored
    ...
       my $sType = $node->{type}{title};
       return grep {$sType eq $_} @aNodetypes;
    
  8. or download this
       # insert into hash @ lines 16-39:
       pmdev => {
    ...
       # replace line 143 with:
       } elsif ( $NODE->{type}{title} =~ /^(?:sitedoclet|pmdvdoclet)$/ ) {
    
  9. or download this
       # replace lines 5-13 (inside for loop)
       # not quite sure why this is inside a for loop since
    ...
          last;
       }
    
  10. or download this
       #replace line 5
       #remove hardcoded value for author_user
       $$N{author_user} = getNodeById($node_id->{type}{writers_user})->{ti
    +tle};
    
  11. or download this
       my $node     = $q->param('node_id');
       my $sNewType = $q->param('rebless_to');
    ...
          }
       }
    
  12. or download this
       # replace lines 19-21
       my $hAllDocballs
    ...
       }
       if ($bFiltered) {
    
  13. or download this
        #replace line 73: ); with
        htmlcode('genDocballEditorLinks,'', $NODE, $USER,
          'pmdev'));
    
  14. or download this
       my ($node, $user, $group) = @_;
       return '' unless $DB->isApproved($user,$group);
    ...
        return join ' | ', grep length($_),
            $history, $rebless, $masterlist, $create);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://788006]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-25 14:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found