\CleanTeaser
A DataObject for Teasers Provides Title, Description and an Image
- Author: arillo
Synopsis
class CleanTeaser
extends DataObject
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static array $searchable_fields = ;
- private static array $summary_fields = ;
- public static string $upload_folder = "Teaser";
- // methods
- public void getCMSFields()
- public void getCleanDescription()
- public mixed getThumbnail()
Hierarchy
Extends
- DataObject
Members
private
- $db
- $has_one
- $searchable_fields
- $summary_fields
public
- $upload_folder
Methods
public
- getCMSFields()
- getCleanDescription()
- getThumbnail() — Returns CMS thumbnail, if an image is attached.