gorriecoe\Embed\Models\Video
EmbedVideo
Synopsis
class Video
extends Embed
{
- // members
- private static string $table_name = 'Video';
- private static string $singular_name = 'Video';
- private static string $plural_name = 'Video';
- private static array $allowed_embed_types = ;
- private static string $embed_folder = 'Video';
- // Inherited methods from Embed
- public FieldList getCMSFields()
- public String getTitle()
- public $this setClass()
- public string getClass()
- public HTML forTemplate()
Hierarchy
Extends
Members
private
- $allowed_embed_types
—
array
List the allowed included embed types. If null all are allowed. - $embed_folder
—
string
Defines upload folder for embedded assets - $plural_name
—
string
Plural name for CMS - $singular_name
—
string
Singular name for CMS - $table_name
—
string
Defines the database table name
Methods
Inherited from gorriecoe\Embed\Models\Embed
public
- forTemplate() — Renders an HTML anchor tag for this link
- getCMSFields() — CMS Fields
- getClass() — Returns the classes for this embed.
- getTitle() — Alias for EmbedTitle This is used by CMS Title and breadcrumbs.
- setClass() — Set CSS classes for templates