Back to Microdata class

Method sanitizeProperty

public static string
sanitizeProperty
(mixed $property)
Return the sanitized $Property
Parameters
  • string $property The Property to sanitize
Returns
  • string
Since
  • 3.2
Class: Microdata
Project: Joomla

Method sanitizeProperty - Source code

/**
 * Return the sanitized $Property
 *
 * @param   string  $property  The Property to sanitize
 *
 * @return  string
 *
 * @since   3.2
 */
public static function sanitizeProperty($property)
{
    return lcfirst(trim($property));
}