Open Source Content Management System

midgard_reflection_property method description

  1. Usage example

description is Midgard Reflection Property method which returns property's description ( if defined as property's attribute in schema file ).

string $mrp->description(string 'property')

Minimum version: CVS HEAD

The method takes one parameter:

  • 'property' is the name of property which is registered as 'classname' member

Usage example

<?php    

$mrp = new midgard_reflection_property("midgard_article");
echo $mrp->description("sitegroup"))

?>

Empty string is returned if there's no description for property.

Designed by Nemein, hosted by Anykey