Back to Microdata class

Method htmlProperty

public static string
htmlProperty
(mixed $property)
Return the HTML Property
Parameters
  • string $property The Property to process
Returns
  • string
Since
  • 3.2
Class: Microdata
Project: Joomla

Method htmlProperty - Source code

/**
 * Return the HTML Property
 *
 * @param   string  $property  The Property to process
 *
 * @return  string
 *
 * @since   3.2
 */
public static function htmlProperty($property)
{
    return "itemprop='{$property}'";
}