Sunnysideup\Typography\TypographyTestPageController
Add a page to your site that allows you to view all the html that can be used in the typography section - if applied correctly.
Synopsis
class TypographyTestPageController
extends PageController
{
- // members
- protected string $URLSegment = 'typo';
- private static integer $image_min_width_height = 200;
- private static integer $image_max_width_height = 600;
- private static bool $include_first_heading_in_test_copy = false;
- private static string $form_class_name = Form::class;
- // methods
- public void index()
- public void IsTypographyTestPage()
- public void ShowFirstHeading()
- public void ImageWidth()
- public void ImageHeight()
- public void ClassName()
- public void Form()
- public void TestForm()
- public void RandomLinkExternal()
- public void RandomLinkInternal()
- public void getURLSegment()
- public void Link()
- protected void init()
- protected void getWidthHeight()
- protected void typographyhtml()
Hierarchy
Extends
- PageController
Members
private
- $form_class_name
—
string
use this to set up alternative form formats. - $image_max_width_height — int
- $image_min_width_height — int
- $include_first_heading_in_test_copy — Sunnysideup\Typography\bool
protected
- $URLSegment