SilverStripe\IFrame\IFramePage
Iframe page type embeds an iframe of URL of choice into the page.
CMS editor can choose width, height, or set it to attempt automatic size configuration.
Synopsis
class IFramePage
extends Page
{
- // members
- private static array $db = ;
- private static array $defaults = ;
- private static string $table_name = 'IFramePage';
- private static string $description = 'Embeds an iframe into the body of the page.';
- private static string $singular_name = 'IFrame Page';
- // methods
- public void getCMSFields()
- public void getClass()
- public void getStyle()
- public ValidationResult validate()
Hierarchy
Extends
- Page
Members
private
- $db
- $defaults
- $description
- $singular_name
- $table_name
Methods
public
- getCMSFields()
- getClass() — Compute class from the size parameters.
- getStyle() — Compute style from the size parameters.
- validate() — Ensure that the IFrameURL is a valid url and prevents XSS