LittleGiant\SilverStripeImagePoints\Forms\PointField
Class PointField
Synopsis
class PointField
extends FormField
{
- // members
- protected bool $xPosField = false;
- protected bool $yPosField = false;
- protected string $image = '';
- protected integer $width = 0;
- protected integer $height = 0;
- // methods
- public void __construct()
- public $this setForm()
- public mixed|string Value()
- public DBHTMLText FieldHolder()
- public void initFrontEndRequirements()
- private string getImageAspectRatio()
- public DBHTMLText|string Field()
- public $this setValue()
- public int getXPos()
- public int getYPos()
- public FormField setXPosField()
- public FormField getXPosField()
- public void setYPosField()
- public FormField getYPosField()
Hierarchy
Extends
- SilverStripe\Forms\FormField
Members
protected
- $height — int
- $image — string
- $width — int
- $xPosField — LittleGiant\SilverStripeImagePoints\Forms\bool
- $yPosField — LittleGiant\SilverStripeImagePoints\Forms\bool
Methods
private
public
- __construct() — HotSpotPointField constructor.
- Field()
- FieldHolder()
- Value()
- getXPos()
- getXPosField()
- getYPos()
- getYPosField()
- initFrontEndRequirements()
- setForm()
- setValue()
- setXPosField()
- setYPosField()