Help for this page

Select Code to Download


  1. or download this
    # In perl script
    my $article = MPDatabase::Article->retrieve($articleId);
    ...
    <!-- TMPL_VAR NAME="article.title" -->
    <!-- TMPL_VAR NAME="article.author" -->
    etc...
    
  2. or download this
    # In perl script
    my @articles = MPDatabase::Article->retrieve_all;
    ...
    <!-- TMPL_VAR NAME="this.author" -->
    etc...
    <!-- /TMPL_LOOP -->
    
  3. or download this
    foreach my $article ( @articles ) {
      print STDERR $article->anyColumnName;
    }