Jellygnite\Seo\Forms\GoogleSearchPreview
Class GoogleSearchPreview
Synopsis
class GoogleSearchPreview
extends LiteralField
{
- // members
- protected $result;
- protected string $schemaComponent = 'GoogleSearchPreview';
- protected $template = self::class;
- // methods
- public void __construct()
- public mixed highlight()
- public $this setResult()
- public mixed|string urlSegmentHighlight()
Hierarchy
Extends
- SilverStripe\Forms\LiteralField
Members
protected
- $result — int
- $schemaComponent
- $template
Methods
public
- __construct() — HealthAnalysisField constructor.
- highlight() — Highlights parts of the $haystack that match the focus keyword as a whole, case insensitive
- setResult()
- urlSegmentHighlight() — Highlights parts of the URLSegment that match the focus keyword as a whole, does not highlight hyphens in that same match.