Open Source Content Management System

mgd_list_topic_articles_all_of_person

  1. Description

mgd_list_topic_articles_all_of_person -- List articles under topic tree owned by a person

Description

`object **mgd_list_topic_articles_all_of_person** (int topic, int person)`

Minimum version: Midgard 1.1.1

Lists all articles under the topic tree that starts at topic with id id that are owned by person with id person.

Returns an object traversable by calling fetch() if successful. Returns FALSE on failure.

N == 0) {  
        echo "No articles from this author";  
      } else {  
        while( $article->fetch() ) {  
          echo $article->name . " from " . $article->authorname . "
\n"; } echo "$article->N article", ( $article->N == 1) ? '' : 's'; } ?>
Designed by Nemein, hosted by Anykey