Open zaus opened 9 years ago
As mentioned in suggestion here, the form plugin instances should
Probably as part of a base constructor in fplugin_base.php like:
fplugin_base.php
function __construct() { Forms3rdpartyIntegration::$instance->attach_plugin($this); }
and back in the main plugin
private $_addons = array(); function attach_plugin($addon) { $this->_addons[ $addon->FPLUGIN() ] = $addon; }
This would let you leverage (future) addon-agnostic functionality like field pickers in the admin ui, a la #22 .
As mentioned in suggestion here, the form plugin instances should
Probably as part of a base constructor in
fplugin_base.php
like:function __construct() { Forms3rdpartyIntegration::$instance->attach_plugin($this); }
and back in the main plugin
This would let you leverage (future) addon-agnostic functionality like field pickers in the admin ui, a la #22 .