mgd_get_article_by_name

Name

mgd_get_article_by_name -- Get an article by its name

Synopsis

mgd_get_article_by_name(int id, string name);

Description

Minimum version: Midgard 1.4 (Bifrost)

Retrieves information about an article record by its name and the id of the topic it is in.

Returns and object describing the article with name name under topic id if successfull. Returns false on failure.

Example

<?php
 $article = mgd_get_article_by_name(3,"example");
?>