Page get markup
Return the markup value for a given field name or {tag} string
- If given a field name (or
name.subname
orname1|name2|name3
) it will return the markup value as defined by the fieldtype. - If given a string with field names referenced in
{tags}
, it will populate those tags and return the populated string.
Usage
$string = $page->getMarkup(string $key);
Arguments
Name
Type(s)
Description
key
string
Field name or markup string with field {name} tags in it
Return value
string