Privacy "cutting edge" Addon for JCB #429

Closed
opened 2019-06-19 10:34:13 +00:00 by ro-ot · 8 comments
ro-ot commented 2019-06-19 10:34:13 +00:00 (Migrated from github.com)

Steps to reproduce the issue

Feature Request to add the GDRP integration to all related components build with JCB.

Expected result

I think this must be a "paid option" , so when you sponsor JCB for $100 or more you can get access to it.

Actual result

@Llewellynvdm I am willing to help brainstorm and code some of this, I have some great ideas that will not only give JCB more scope for 3rd party integration, but also making it possible to sell new compiler features. (so I will private message you this)

System information (as much as possible)

Will work for all components build with JCB

Additional comments

To provide easy integration options with JCB via plugin events, and then to use those events to provide for all components build with JCB Integration to the new privacy component of Joomla.

### Steps to reproduce the issue Feature Request to add the GDRP integration to all related components build with JCB. ### Expected result I think this must be a _"paid option"_ , so when you **sponsor JCB** for $100 or more you can get access to it. ### Actual result @Llewellynvdm I am willing to help brainstorm and code some of this, I have some great ideas that will not only give JCB more scope for 3rd party integration, but also making it possible to sell new compiler features. (so I will private message you this) ### System information (as much as possible) Will work for all components build with JCB ### Additional comments To provide easy integration options with JCB via plugin events, and then to use those events to provide for all components build with JCB Integration to the new privacy component of Joomla.

@marcodings and I was talking about this, just the other evening. So sure lets see what can be done, I have read over the plugin requirements, and it all seems straightforward.

So lets do this! I am always open to these kind of ideas! Specially if we can get some more sponsors 👍

@marcodings and I was talking about this, just the other evening. So sure lets see what can be done, I have read over the plugin requirements, and it all seems straightforward. So lets do this! I am always open to these kind of ideas! Specially if we can get some more sponsors :+1:
marcodings commented 2019-06-19 13:22:29 +00:00 (Migrated from github.com)

I would argue that any core feature of joomla should be "free". Unfortunately time is not free. Until this project grows and gains traction to be supported by more developers any new functionality would fall to JCB-core developers. I see more people getting involved (as myself) in helping in other needed areas, however the total burden is still to much to bear with the things to do as J4?

I would argue to make this and future core features "donation" based, giving earlier access to project contributors and financial donors to the added features and the such, With the functionality basically coming to all. I you require the cutting edge either wait "a year?" or contribute/donate.

On top of this i would suggest to consider a "crowd funding" campaign with a set goal to start development and a total goal to complete it.

For future viability i would also consider splitting of none joomla core functionality as buyable addons (if techically possible). Top of my hat i think of pending "crowdin" support for translation, "release" support such a WHQM and asked ARS. I'm sure we can find more

my 2ct
marco

I would argue that any core feature of joomla should be "free". Unfortunately time is not free. Until this project grows and gains traction to be supported by more developers any new functionality would fall to JCB-core developers. I see more people getting involved (as myself) in helping in other needed areas, however the total burden is still to much to bear with the things to do as J4? I would argue to make this and future core features "donation" based, giving earlier access to project contributors and financial donors to the added features and the such, With the functionality basically coming to all. I you require the cutting edge either wait "a year?" or contribute/donate. On top of this i would suggest to consider a "crowd funding" campaign with a set goal to start development and a total goal to complete it. For future viability i would also consider splitting of none joomla core functionality as buyable addons (if techically possible). Top of my hat i think of pending "crowdin" support for translation, "release" support such a WHQM and asked ARS. I'm sure we can find more my 2ct marco
ro-ot commented 2019-06-19 19:46:09 +00:00 (Migrated from github.com)

@marcodings you have a point, and so let look at this option:

give access to project contributors and financial donors to the added feature ... if you want cutting edge either wait "a year?" or contribute/donate

I would vote that those who are listed here count as contributors.

@marcodings you have a point, and so let look at this option: > give access to project contributors and financial donors to the added feature ... if you want cutting edge either wait "a year?" or contribute/donate I would vote that those who are [listed here](https://github.com/vdm-io/Joomla-Component-Builder#contributors) count as contributors.

My vote also includes guys like @marcodings, @peterpetrov and other who has been contributing in the unseen 👍

I think once we have this feature ready, we will setup a form on JCB website where request can be made for access, and the motivation/reason that person feels they are eligible to access can then be fine tuned. For now lets focus on the feature, and all its requirements.

My vote also includes guys like @marcodings, @peterpetrov and other who has been contributing in the unseen :+1: I think once we have this feature ready, we will setup a form on JCB website where request can be made for access, and the motivation/reason that person feels they are eligible to access can then be fine tuned. For now lets focus on the feature, and all its requirements.

Okay some of the first steps is to add events all over the compiler, so we can target areas via a plugin. I have started with this. I am first take small steps here, since once these events are added we will need to keep them intact, so any help in terms of advice and direction to best practice and implementation on this will be great. Here is the list of my first few events, and I am only now in the Fields class, started in the Get class.

  • jcb_onBeforeQueryComponentData
  • jcb_onBeforeModelComponentData
  • jcb_onAfterModelComponentData
  • jcb_onBeforeQueryViewData
  • jcb_onBeforeModelViewData
  • jcb_onAfterModelViewData
  • jcb_onBeforeQueryCustomViewData
  • jcb_onBeforeModelCustomViewData
  • jcb_onAfterModelCustomViewData
  • jcb_onBeforeQueryFieldData
  • jcb_onBeforeModelFieldData
  • jcb_onAfterModelFieldData
  • jcb_onBeforeSetLibaries
  • jcb_onAfterSetJoomlaVersionData
  • jcb_onBeforeBuildFields
  • jcb_onAfterBuildFields

I think there are still many to follow...

Okay some of the first steps is to add events all over the compiler, so we can target areas via a plugin. I have started with this. I am first take small steps here, since once these events are added we will need to keep them intact, so any help in terms of advice and direction to best practice and implementation on this will be great. Here is the list of my first few events, and I am only now in the Fields class, started in the Get class. - jcb_onBeforeQueryComponentData - jcb_onBeforeModelComponentData - jcb_onAfterModelComponentData - jcb_onBeforeQueryViewData - jcb_onBeforeModelViewData - jcb_onAfterModelViewData - jcb_onBeforeQueryCustomViewData - jcb_onBeforeModelCustomViewData - jcb_onAfterModelCustomViewData - jcb_onBeforeQueryFieldData - jcb_onBeforeModelFieldData - jcb_onAfterModelFieldData - jcb_onBeforeSetLibaries - jcb_onAfterSetJoomlaVersionData - jcb_onBeforeBuildFields - jcb_onAfterBuildFields I think there are still many to follow...

Okay so I have now added over 40 events to the compiler ,and here is a plugin to start testing this major improvement, there is more to come and all is not yet stable, but give it a go and let me know.

The plugin:

plg_componentbuildercompilerevents_1.0.1.zip

Okay so I have now added over 40 events to the compiler ,and here is a plugin to start testing this major improvement, there is more to come and all is not yet stable, but give it a go and let me know. ### The plugin: [plg_componentbuildercompilerevents_1.0.1.zip](https://github.com/vdm-io/Joomla-Component-Builder/files/3316748/plg_componentbuildercompilerevents_1.0.1.zip)

Looking over this list, give me more ideas!

/**
 * Event Triggered in the compiler [on Before Query Component Data]
 */
public function jcb_ce_onBeforeQueryComponentData(&$id, &$query, &$db)
{
	// do something on the jcb_ce_onBeforeQueryComponentData event

	return true;
}

/**
 * Event Triggered in the compiler [on Before Model Component Data]
 */
public function jcb_ce_onBeforeModelComponentData(&$component)
{
	// do something on the jcb_ce_onBeforeModelComponentData event

	return true;
}

/**
 * Event Triggered in the compiler [on After Model Component Data]
 */
public function jcb_ce_onAfterModelComponentData(&$component)
{
	// do something on the jcb_ce_onAfterModelComponentData event

	return true;
}

/**
 * Event Triggered in the compiler [on Before Query View Data]
 */
public function jcb_ce_onBeforeQueryViewData(&$id, &$query, &$db)
{
	// do something on the jcb_ce_onBeforeQueryViewData event

	return true;
}

/**
 * Event Triggered in the compiler [on Before Model View Data]
 */
public function jcb_ce_onBeforeModelViewData(&$view, &$placeholders)
{
	// do something on the jcb_ce_onBeforeModelViewData event

	return true;
}

/**
 * Event Triggered in the compiler [on After Model View Data]
 */
public function jcb_ce_onAfterModelViewData(&$view, &$placeholders)
{
	// do something on the jcb_ce_onAfterModelViewData event

	return true;
}

/**
 * Event Triggered in the compiler [on Before Query Custom View Data]
 */
public function jcb_ce_onBeforeQueryCustomViewData(&$id, &$table, &$query, &$db)
{
	// do something on the jcb_ce_onBeforeQueryCustomViewData event

	return true;
}

/**
 * Event Triggered in the compiler [on Before Model Custom View Data]
 */
public function jcb_ce_onBeforeModelCustomViewData(&$view, &$id, &$table)
{
	// do something on the jcb_ce_onBeforeModelCustomViewData event

	return true;
}

/**
 * Event Triggered in the compiler [on After Model Custom View Data]
 */
public function jcb_ce_onAfterModelCustomViewData(&$view)
{
	// do something on the jcb_ce_onAfterModelCustomViewData event

	return true;
}

/**
 * Event Triggered in the compiler [on Before Query Field Data]
 */
public function jcb_ce_onBeforeQueryFieldData(&$id, &$query, &$db)
{
	// do something on the jcb_ce_onBeforeQueryFieldData event

	return true;
}

/**
 * Event Triggered in the compiler [on Before Model Field Data]
 */
public function jcb_ce_onBeforeModelFieldData(&$field)
{
	// do something on the jcb_ce_onBeforeModelFieldData event

	return true;
}

/**
 * Event Triggered in the compiler [on After Model Field Data]
 */
public function jcb_ce_onAfterModelFieldData(&$field)
{
	// do something on the jcb_ce_onAfterModelFieldData event

	return true;
}

/**
 * Event Triggered in the compiler [on After Set Joomla Version Data]
 */
public function jcb_ce_onAfterSetJoomlaVersionData(&$joomlaVersionData)
{
	// do something on the jcb_ce_onAfterSetJoomlaVersionData event

	return true;
}

/**
 * Event Triggered in the compiler [on Before Set Libaries]
 */
public function jcb_ce_onBeforeSetLibaries(&$libraries)
{
	// do something on the jcb_ce_onBeforeSetLibaries event

	return true;
}

/**
 * Event Triggered in the compiler [on Before Build Fields]
 */
public function jcb_ce_onBeforeBuildFields(&$dynamicFields, &$readOnly, &$dbkey, &$view, &$component, &$view_name_single, &$view_name_list, &$placeholders, &$langView, &$langViews)
{
	// do something on the jcb_ce_onBeforeBuildFields event

	return true;
}

/**
 * Event Triggered in the compiler [on After Build Fields]
 */
public function jcb_ce_onAfterBuildFields(&$dynamicFields, &$readOnly, &$dbkey, &$view, &$component, &$view_name_single, &$view_name_list, &$placeholders, &$langView, &$langViews)
{
	// do something on the jcb_ce_onAfterBuildFields event

	return true;
}

/**
 * Event Triggered in the compiler [on Before Build Files Content]
 */
public function jcb_ce_onBeforeBuildFilesContent(&$componentData, &$fileContentStatic, &$fileContentDynamic, &$placeholders, &$hhh)
{
	// do something on the jcb_ce_onBeforeBuildFilesContent event

	return true;
}

/**
 * Event Triggered in the compiler [on Before Build Admin Edit View Content]
 */
public function jcb_ce_onBeforeBuildAdminEditViewContent(&$view, &$viewName_single, &$viewName_list, &$fileContentStatic, &$fileContentDynamic, &$placeholders, &$hhh)
{
	// do something on the jcb_ce_onBeforeBuildAdminEditViewContent event

	return true;
}

/**
 * Event Triggered in the compiler [on After Build Admin Edit View Content]
 */
public function jcb_ce_onAfterBuildAdminEditViewContent(&$view, &$viewName_single, &$viewName_list, &$fileContentStatic, &$fileContentDynamic, &$placeholders, &$hhh)
{
	// do something on the jcb_ce_onAfterBuildAdminEditViewContent event

	return true;
}

/**
 * Event Triggered in the compiler [on Before Build Admin List View Content]
 */
public function jcb_ce_onBeforeBuildAdminListViewContent(&$view, &$viewName_single, &$viewName_list, &$fileContentStatic, &$fileContentDynamic, &$placeholders, &$hhh)
{
	// do something on the jcb_ce_onBeforeBuildAdminListViewContent event

	return true;
}

/**
 * Event Triggered in the compiler [on After Build Admin List View Content]
 */
public function jcb_ce_onAfterBuildAdminListViewContent(&$view, &$viewName_single, &$viewName_list, &$fileContentStatic, &$fileContentDynamic, &$placeholders, &$hhh)
{
	// do something on the jcb_ce_onBeforeBuildAdminListViewContent event

	return true;
}

/**
 * Event Triggered in the compiler [on After Build Admin List View Content]
 */
public function jcb_ce_onAfterBuildAdminViewContent(&$view, &$viewName_single, &$viewName_list, &$fileContentStatic, &$fileContentDynamic, &$placeholders, &$hhh)
{
	// do something on the jcb_ce_onAfterBuildAdminViewContent event

	return true;
}

/**
 * Event Triggered in the compiler [on Before Build Custom Admin View Content]
 */
public function jcb_ce_onBeforeBuildCustomAdminViewContent(&$view, &$code, &$fileContentStatic, &$fileContentDynamic, &$placeholders, &$hhh)
{
	// do something on the jcb_ce_onBeforeBuildCustomAdminViewContent event

	return true;
}

/**
 * Event Triggered in the compiler [on After Build Custom Admin View Content]
 */
public function jcb_ce_onAfterBuildCustomAdminViewContent(&$view, &$code, &$fileContentStatic, &$fileContentDynamic, &$placeholders, &$hhh)
{
	// do something on the jcb_ce_onAfterBuildCustomAdminViewContent event

	return true;
}

/**
 * Event Triggered in the compiler [on Before Build Site View Content]
 */
public function jcb_ce_onBeforeBuildSiteViewContent(&$view, &$code, &$fileContentStatic, &$fileContentDynamic, &$placeholders, &$hhh)
{
	// do something on the jcb_ce_onBeforeBuildSiteViewContent event

	return true;
}

/*
 * Event Triggered in the compiler [on After Build Site View Content]
 */
public function jcb_ce_onAfterBuildSiteViewContent(&$view, &$code, &$fileContentStatic, &$fileContentDynamic, &$placeholders, &$hhh)
{
	// do something on the jcb_ce_onAfterBuildSiteViewContent event

	return true;
}

/**
 * Event Triggered in the compiler [on After Build Files Content]
 */
public function jcb_ce_onAfterBuildFilesContent(&$componentData, &$fileContentStatic, &$fileContentDynamic, &$placeholders, &$hhh)
{
	// do something on the jcb_ce_onAfterBuildFilesContent event

	return true;
}

/**
 * Event Triggered in the compiler [on Before Build Admin Lang]
 */
public function jcb_ce_onBeforeBuildAdminLang(&$langContent, &$langPrefix, &$componentName)
{
	// do something on the jcb_ce_onBeforeBuildAdminLang event

	return true;
}

/**
 * Event Triggered in the compiler [on After Build Admin Lang]
 */
public function jcb_ce_onAfterBuildAdminLang(&$langContent, &$langPrefix, &$componentName)
{
	// do something on the jcb_ce_onAfterBuildAdminLang event

	return true;
}

/**
 * Event Triggered in the compiler [on Before Build Site Lang]
 */
public function jcb_ce_onBeforeBuildSiteLang(&$langContent, &$langPrefix, &$componentName)
{
	// do something on the jcb_ce_onBeforeBuildSiteLang event

	return true;
}

/**
 * Event Triggered in the compiler [on After Build Site Lang]
 */
public function jcb_ce_onAfterBuildSiteLang(&$langContent, &$langPrefix, &$componentName)
{
	// do something on the jcb_ce_onAfterBuildSiteLang event

	return true;
}

/**
 * Event Triggered in the compiler [on Before Build Site Sys Lang]
 */
public function jcb_ce_onBeforeBuildSiteSysLang(&$langContent, &$langPrefix, &$componentName)
{
	// do something on the jcb_ce_onBeforeBuildSiteSysLang event

	return true;
}

/**
 * Event Triggered in the compiler [on After Build Site Sys Lang]
 */
public function jcb_ce_onAfterBuildSiteSysLang(&$langContent, &$langPrefix, &$componentName)
{
	// do something on the jcb_ce_onAfterBuildSiteSysLang event

	return true;
}

/**
 * Event Triggered in the compiler [on Before Build Admin Sys Lang]
 */
public function jcb_ce_onBeforeBuildAdminSysLang(&$langContent, &$langPrefix, &$componentName)
{
	// do something on the jcb_ce_onBeforeBuildAdminSysLang event

	return true;
}

/**
 * Event Triggered in the compiler [on After Build Admin Sys Lang]
 */
public function jcb_ce_onAfterBuildAdminSysLang(&$langContent, &$langPrefix, &$componentName)
{
	// do something on the jcb_ce_onAfterBuildAdminSysLang event

	return true;
}

/**
 * Event Triggered in the compiler [on Before Build All Lang Files]
 */
public function jcb_ce_onBeforeBuildAllLangFiles(&$languages, &$langTag)
{
	// do something on the jcb_ce_onBeforeBuildAllLangFiles event

	return true;
}

/**
 * Event Triggered in the compiler [on Before Set File Content]
 */
public function jcb_ce_onBeforeSetFileContent(&$name, &$path, &$bom, &$view)
{
	// do something on the jcb_ce_onBeforeSetFileContent event

	return true;
}

/**
 * Event Triggered in the compiler [on Get File Contents]
 */
public function jcb_ce_onGetFileContents(&$content, &$name, &$path, &$bom, &$view)
{
	// do something on the jcb_ce_onGetFileContents event

	return true;
}

/**
 * Event Triggered in the compiler [on Before Set File Content]
 */
public function jcb_ce_onBeforeWriteFileContent(&$content, &$name, &$path, &$bom, &$view)
{
	// do something on the jcb_ce_onBeforeWriteFileContent event

	return true;
}

/**
 * Event Triggered in the compiler [on Before Set Config Fieldsets]
 */
public function jcb_ce_onBeforeSetConfigFieldsets(&$timer, &$configFieldSets, &$configFieldSetsCustomField, &$componentDataConfig, &$extensionsParams, &$placeholders)
{
	// do something on the jcb_ce_onBeforeSetConfigFieldsets event

	return true;
}

/**
 * Event Triggered in the compiler [on After Set Config Fieldsets]
 */
public function jcb_ce_onAfterSetConfigFieldsets(&$timer, &$configFieldSets, &$configFieldSetsCustomField, &$extensionsParams, &$frontEndParams, &$placeholders)
{
	// do something on the jcb_ce_onAfterSetConfigFieldsets event

	return true;
}
Looking over this list, give me more ideas! ``` /** * Event Triggered in the compiler [on Before Query Component Data] */ public function jcb_ce_onBeforeQueryComponentData(&$id, &$query, &$db) { // do something on the jcb_ce_onBeforeQueryComponentData event return true; } /** * Event Triggered in the compiler [on Before Model Component Data] */ public function jcb_ce_onBeforeModelComponentData(&$component) { // do something on the jcb_ce_onBeforeModelComponentData event return true; } /** * Event Triggered in the compiler [on After Model Component Data] */ public function jcb_ce_onAfterModelComponentData(&$component) { // do something on the jcb_ce_onAfterModelComponentData event return true; } /** * Event Triggered in the compiler [on Before Query View Data] */ public function jcb_ce_onBeforeQueryViewData(&$id, &$query, &$db) { // do something on the jcb_ce_onBeforeQueryViewData event return true; } /** * Event Triggered in the compiler [on Before Model View Data] */ public function jcb_ce_onBeforeModelViewData(&$view, &$placeholders) { // do something on the jcb_ce_onBeforeModelViewData event return true; } /** * Event Triggered in the compiler [on After Model View Data] */ public function jcb_ce_onAfterModelViewData(&$view, &$placeholders) { // do something on the jcb_ce_onAfterModelViewData event return true; } /** * Event Triggered in the compiler [on Before Query Custom View Data] */ public function jcb_ce_onBeforeQueryCustomViewData(&$id, &$table, &$query, &$db) { // do something on the jcb_ce_onBeforeQueryCustomViewData event return true; } /** * Event Triggered in the compiler [on Before Model Custom View Data] */ public function jcb_ce_onBeforeModelCustomViewData(&$view, &$id, &$table) { // do something on the jcb_ce_onBeforeModelCustomViewData event return true; } /** * Event Triggered in the compiler [on After Model Custom View Data] */ public function jcb_ce_onAfterModelCustomViewData(&$view) { // do something on the jcb_ce_onAfterModelCustomViewData event return true; } /** * Event Triggered in the compiler [on Before Query Field Data] */ public function jcb_ce_onBeforeQueryFieldData(&$id, &$query, &$db) { // do something on the jcb_ce_onBeforeQueryFieldData event return true; } /** * Event Triggered in the compiler [on Before Model Field Data] */ public function jcb_ce_onBeforeModelFieldData(&$field) { // do something on the jcb_ce_onBeforeModelFieldData event return true; } /** * Event Triggered in the compiler [on After Model Field Data] */ public function jcb_ce_onAfterModelFieldData(&$field) { // do something on the jcb_ce_onAfterModelFieldData event return true; } /** * Event Triggered in the compiler [on After Set Joomla Version Data] */ public function jcb_ce_onAfterSetJoomlaVersionData(&$joomlaVersionData) { // do something on the jcb_ce_onAfterSetJoomlaVersionData event return true; } /** * Event Triggered in the compiler [on Before Set Libaries] */ public function jcb_ce_onBeforeSetLibaries(&$libraries) { // do something on the jcb_ce_onBeforeSetLibaries event return true; } /** * Event Triggered in the compiler [on Before Build Fields] */ public function jcb_ce_onBeforeBuildFields(&$dynamicFields, &$readOnly, &$dbkey, &$view, &$component, &$view_name_single, &$view_name_list, &$placeholders, &$langView, &$langViews) { // do something on the jcb_ce_onBeforeBuildFields event return true; } /** * Event Triggered in the compiler [on After Build Fields] */ public function jcb_ce_onAfterBuildFields(&$dynamicFields, &$readOnly, &$dbkey, &$view, &$component, &$view_name_single, &$view_name_list, &$placeholders, &$langView, &$langViews) { // do something on the jcb_ce_onAfterBuildFields event return true; } /** * Event Triggered in the compiler [on Before Build Files Content] */ public function jcb_ce_onBeforeBuildFilesContent(&$componentData, &$fileContentStatic, &$fileContentDynamic, &$placeholders, &$hhh) { // do something on the jcb_ce_onBeforeBuildFilesContent event return true; } /** * Event Triggered in the compiler [on Before Build Admin Edit View Content] */ public function jcb_ce_onBeforeBuildAdminEditViewContent(&$view, &$viewName_single, &$viewName_list, &$fileContentStatic, &$fileContentDynamic, &$placeholders, &$hhh) { // do something on the jcb_ce_onBeforeBuildAdminEditViewContent event return true; } /** * Event Triggered in the compiler [on After Build Admin Edit View Content] */ public function jcb_ce_onAfterBuildAdminEditViewContent(&$view, &$viewName_single, &$viewName_list, &$fileContentStatic, &$fileContentDynamic, &$placeholders, &$hhh) { // do something on the jcb_ce_onAfterBuildAdminEditViewContent event return true; } /** * Event Triggered in the compiler [on Before Build Admin List View Content] */ public function jcb_ce_onBeforeBuildAdminListViewContent(&$view, &$viewName_single, &$viewName_list, &$fileContentStatic, &$fileContentDynamic, &$placeholders, &$hhh) { // do something on the jcb_ce_onBeforeBuildAdminListViewContent event return true; } /** * Event Triggered in the compiler [on After Build Admin List View Content] */ public function jcb_ce_onAfterBuildAdminListViewContent(&$view, &$viewName_single, &$viewName_list, &$fileContentStatic, &$fileContentDynamic, &$placeholders, &$hhh) { // do something on the jcb_ce_onBeforeBuildAdminListViewContent event return true; } /** * Event Triggered in the compiler [on After Build Admin List View Content] */ public function jcb_ce_onAfterBuildAdminViewContent(&$view, &$viewName_single, &$viewName_list, &$fileContentStatic, &$fileContentDynamic, &$placeholders, &$hhh) { // do something on the jcb_ce_onAfterBuildAdminViewContent event return true; } /** * Event Triggered in the compiler [on Before Build Custom Admin View Content] */ public function jcb_ce_onBeforeBuildCustomAdminViewContent(&$view, &$code, &$fileContentStatic, &$fileContentDynamic, &$placeholders, &$hhh) { // do something on the jcb_ce_onBeforeBuildCustomAdminViewContent event return true; } /** * Event Triggered in the compiler [on After Build Custom Admin View Content] */ public function jcb_ce_onAfterBuildCustomAdminViewContent(&$view, &$code, &$fileContentStatic, &$fileContentDynamic, &$placeholders, &$hhh) { // do something on the jcb_ce_onAfterBuildCustomAdminViewContent event return true; } /** * Event Triggered in the compiler [on Before Build Site View Content] */ public function jcb_ce_onBeforeBuildSiteViewContent(&$view, &$code, &$fileContentStatic, &$fileContentDynamic, &$placeholders, &$hhh) { // do something on the jcb_ce_onBeforeBuildSiteViewContent event return true; } /* * Event Triggered in the compiler [on After Build Site View Content] */ public function jcb_ce_onAfterBuildSiteViewContent(&$view, &$code, &$fileContentStatic, &$fileContentDynamic, &$placeholders, &$hhh) { // do something on the jcb_ce_onAfterBuildSiteViewContent event return true; } /** * Event Triggered in the compiler [on After Build Files Content] */ public function jcb_ce_onAfterBuildFilesContent(&$componentData, &$fileContentStatic, &$fileContentDynamic, &$placeholders, &$hhh) { // do something on the jcb_ce_onAfterBuildFilesContent event return true; } /** * Event Triggered in the compiler [on Before Build Admin Lang] */ public function jcb_ce_onBeforeBuildAdminLang(&$langContent, &$langPrefix, &$componentName) { // do something on the jcb_ce_onBeforeBuildAdminLang event return true; } /** * Event Triggered in the compiler [on After Build Admin Lang] */ public function jcb_ce_onAfterBuildAdminLang(&$langContent, &$langPrefix, &$componentName) { // do something on the jcb_ce_onAfterBuildAdminLang event return true; } /** * Event Triggered in the compiler [on Before Build Site Lang] */ public function jcb_ce_onBeforeBuildSiteLang(&$langContent, &$langPrefix, &$componentName) { // do something on the jcb_ce_onBeforeBuildSiteLang event return true; } /** * Event Triggered in the compiler [on After Build Site Lang] */ public function jcb_ce_onAfterBuildSiteLang(&$langContent, &$langPrefix, &$componentName) { // do something on the jcb_ce_onAfterBuildSiteLang event return true; } /** * Event Triggered in the compiler [on Before Build Site Sys Lang] */ public function jcb_ce_onBeforeBuildSiteSysLang(&$langContent, &$langPrefix, &$componentName) { // do something on the jcb_ce_onBeforeBuildSiteSysLang event return true; } /** * Event Triggered in the compiler [on After Build Site Sys Lang] */ public function jcb_ce_onAfterBuildSiteSysLang(&$langContent, &$langPrefix, &$componentName) { // do something on the jcb_ce_onAfterBuildSiteSysLang event return true; } /** * Event Triggered in the compiler [on Before Build Admin Sys Lang] */ public function jcb_ce_onBeforeBuildAdminSysLang(&$langContent, &$langPrefix, &$componentName) { // do something on the jcb_ce_onBeforeBuildAdminSysLang event return true; } /** * Event Triggered in the compiler [on After Build Admin Sys Lang] */ public function jcb_ce_onAfterBuildAdminSysLang(&$langContent, &$langPrefix, &$componentName) { // do something on the jcb_ce_onAfterBuildAdminSysLang event return true; } /** * Event Triggered in the compiler [on Before Build All Lang Files] */ public function jcb_ce_onBeforeBuildAllLangFiles(&$languages, &$langTag) { // do something on the jcb_ce_onBeforeBuildAllLangFiles event return true; } /** * Event Triggered in the compiler [on Before Set File Content] */ public function jcb_ce_onBeforeSetFileContent(&$name, &$path, &$bom, &$view) { // do something on the jcb_ce_onBeforeSetFileContent event return true; } /** * Event Triggered in the compiler [on Get File Contents] */ public function jcb_ce_onGetFileContents(&$content, &$name, &$path, &$bom, &$view) { // do something on the jcb_ce_onGetFileContents event return true; } /** * Event Triggered in the compiler [on Before Set File Content] */ public function jcb_ce_onBeforeWriteFileContent(&$content, &$name, &$path, &$bom, &$view) { // do something on the jcb_ce_onBeforeWriteFileContent event return true; } /** * Event Triggered in the compiler [on Before Set Config Fieldsets] */ public function jcb_ce_onBeforeSetConfigFieldsets(&$timer, &$configFieldSets, &$configFieldSetsCustomField, &$componentDataConfig, &$extensionsParams, &$placeholders) { // do something on the jcb_ce_onBeforeSetConfigFieldsets event return true; } /** * Event Triggered in the compiler [on After Set Config Fieldsets] */ public function jcb_ce_onAfterSetConfigFieldsets(&$timer, &$configFieldSets, &$configFieldSetsCustomField, &$extensionsParams, &$frontEndParams, &$placeholders) { // do something on the jcb_ce_onAfterSetConfigFieldsets event return true; } ```
marcodings commented 2019-06-24 16:43:47 +00:00 (Migrated from github.com)

struggling to see how to "test" this in real life without knowing what i would want "to do to the compiler"

struggling to see how to "test" this in real life without knowing what i would want "to do to the compiler"
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#429
No description provided.