⇦ Back to Microdata classMethod content
public \Joomla\CMS\Microdata\Microdata
content
(mixed $content, mixed $machineContent = null)
Setup a Human content or content for the Machines
Parameters
- string $content The human content or machine content to be used
- string $machineContent The machine content
Returns
- \Joomla\CMS\Microdata\Microdata Instance of $this
Since
Method content - Source code
/**
* Setup a Human content or content for the Machines
*
* @param string $content The human content or machine content to be used
* @param string $machineContent The machine content
*
* @return Microdata Instance of $this
*
* @since 3.2
*/
public function content($content, $machineContent = null)
{
$this->content = $content;
$this->machineContent = $machineContent;
return $this;
}