NSWDPC\Elemental\Models\Image\ElementImage
ElementImage adds an image with some config
Synopsis
class ElementImage
extends BaseElement
{
- // members
- private static string $icon = "font-icon-image";
- private static string $table_name = "ElementImage";
- private static string $title = "Image";
- private static string $description = "Display an image";
- private static string $singular_name = "Image";
- private static string $plural_name = "Images";
- private static array $allowed_file_types = ;
- private static array $db = ;
- private static array $has_one = ;
- private static array $summary_fields = ;
- private static array $owns = ;
- // methods
- public void getType()
- public void getAllowedFileTypes()
- public void getCMSFields()
Hierarchy
Extends
- DNADesign\Elemental\Models\BaseElement
Members
private
- $allowed_file_types
- $db
- $description
- $has_one
- $icon
- $owns
- $plural_name
- $singular_name
- $summary_fields
- $table_name
- $title