\SubsiteProfile
A profile is a code based extension that changes aspects of the subsite based on some conventions
Your profiles must extend this class
- Author: LeKoala <thomas@lekoala.be>
Synopsis
class SubsiteProfile
{
- // members
- private static $_current_profile;
- // methods
- public static void getProfileDir()
- public static void changeSubsite()
- public static void applyToFields()
- protected static void enable_custom_fields()
- protected static FieldList|array change_field_title()
- protected static void enable_custom_translations()
- protected static void enable_custom_code()
- public static void clear_profile()
- public static void enable()
Members
private
- $_current_profile
Methods
protected
- change_field_title() — Update a field title in an array or a FieldList
- enable_custom_code()
- enable_custom_fields()
- enable_custom_translations()
public
- applyToFields()
- changeSubsite() — Convenience method to change subsite and reenable subsite profile
- clear_profile()
- enable()
- getProfileDir()