Cita\ImageCropper\Model\CitaCroppableImage
Description
Synopsis
class CitaCroppableImage
extends DataObject
{
- // members
- private static string $table_name = 'CitaCroppableImage';
- private static array $db = ;
- private static array $has_one = ;
- // methods
- public void URL()
- public void getURL()
- public void getThumbnail()
- public void Cropped()
- public void getCropped()
- public FieldList getCMSFields()
- public void onAfterWrite()
- public void forTemplate()
- public void getData()
- private void get_base_data()
- private void get_ratio()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db
—
array
Database fields - $has_one
—
array
Has_one relationship - $table_name
—
string
Defines the database table name
Methods
private
public
- Cropped()
- URL()
- forTemplate()
- getCMSFields() — CMS Fields
- getCropped()
- getData()
- getThumbnail()
- getURL()
- onAfterWrite() — Event handler called after writing to the database.