gorriecoe\Action\Models\Action
Action
Synopsis
class Action
extends Link
{
- // members
- private static string $table_name = 'Action';
- private static string $singular_name = 'Action';
- private static string $plural_name = 'Actions';
- private static array $db = ;
- private static array $has_one = ;
- private static array $owns = ;
- private static array $summary_fields = ;
- protected $preview = NULL;
- // methods
- public FieldList getCMSFields()
- public void getPreview()
- public Image getImage()
- public Image Image()
- public String getTitle()
- public String getContent()
- public String getLabel()
- public HTML forTemplate()
Hierarchy
Extends
- gorriecoe\Link\Models\Link
Members
private
- $db
—
array
Database fields - $has_one
—
array
Has_one relationship - $owns
—
array
Relationship version ownership - $plural_name
—
string
Plural name for CMS - $singular_name
—
string
Singular name for CMS - $summary_fields
—
array
Defines summary fields commonly used in table columns as a quick overview of the data for this dataobject - $table_name
—
string
Defines the database table name
protected
- $preview
Methods
public
- Image() — CMS accessor for getImage()
- forTemplate() — Renders an HTML anchor tag for this link
- getCMSFields() — CMS Fields
- getContent() — Return summary content from current object if available or fall back the sitetree summary.
- getImage() — Return image from current object if available or fall back the sitetree image.
- getLabel() — Return label from current object if available or fall back the sitetree label.
- getPreview()
- getTitle() — Return title from current object if available or fall back the sitetree title.