\CleanTeasersExtension
Provides your SiteTree class with has_many teasers feature.
It will utilize CleanTeaser 's.
Add this extension to a SiteTree instance
by adding this to your _config.php:
Object::add_extension('Page', 'CleanTeasersExtension');
- Author: arillo
Synopsis
class CleanTeasersExtension
extends DataExtension
{
- // members
- private static array $has_many = ;
- // methods
- public void updateCMSFields()
- public void Teasers()
- public bool MoreTeasersThan()
Hierarchy
Extends
- DataExtension
Members
private
- $has_many