\Alchemisable
Attach this to an object and its content will be
- Author: Marcus Nyeholt <marcus@silverstripe.com.au>
Synopsis
class Alchemisable
extends DataExtension
{
- // members
- private static array $db = ;
- private static array $stored_metadata = ;
- public bool $automatic = false;
- // methods
- public static array entity_fields()
- public string getContentForAlchemy()
- public void getDefaultAlchemyFields()
- public void getAlchemyData()
- public void updateCMSFields()
- public void onBeforeWrite()
- public void additionalSolrValues()
- public void updateSolrSearchableFields()
Hierarchy
Extends
- DataExtension
Members
Methods
public
- additionalSolrValues()
- entity_fields() — Returns a map of all the Alchemy entity DB fields to human-readable names.
- getAlchemyData()
- getContentForAlchemy() — Returns a plain text string which should be passed to Alchemy.
- getDefaultAlchemyFields()
- onBeforeWrite()
- updateCMSFields() — Add in some form fields for data returned from alchemy
- updateSolrSearchableFields()