All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.anotheria.anosite.cms.helper.BoxHelperUtility Maven / Gradle / Ivy

There is a newer version: 4.1.2
Show newest version
package net.anotheria.anosite.cms.helper;

import net.anotheria.anosite.cms.helper.impls.GoogleAnalyticsBoxSubHelper;
import net.anotheria.anosite.cms.helper.impls.IfSetBoxSubHelper;
import net.anotheria.asg.util.helper.cmsview.CMSViewHelperRegistry;

/**
 * BoxHelperUtility class.
 */
public class BoxHelperUtility {
	/**
	 * Setup itself.
	 */
	public static void setup(){
		BoxTypeBoxHelper typeHelper = new BoxTypeBoxHelper();
		typeHelper.addSubHelper("GoogleAnalytics", new GoogleAnalyticsBoxSubHelper());
		typeHelper.addSubHelper("IfSet", new IfSetBoxSubHelper());
		CMSViewHelperRegistry.addCMSViewHelper("ASWebData.Box", typeHelper);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy