Stable release of v5.0.0-alpha2
Fix the plug-in installer script builder bug #1067. Fix Event triggers for Joomla 4 and 5 builds.
This commit is contained in:
@@ -101,9 +101,9 @@ class Infusion extends Interpretation
|
||||
CFactory::_('Placeholder')->get('component')
|
||||
);
|
||||
|
||||
// ComponentNameSpace
|
||||
CFactory::_('Compiler.Builder.Content.One')->set('ComponentNameSpace',
|
||||
NamespaceHelper::safeSegment(CFactory::_('Placeholder')->get('Component'))
|
||||
// ComponentNamespace
|
||||
CFactory::_('Compiler.Builder.Content.One')->set('ComponentNamespace',
|
||||
CFactory::_('Placeholder')->get('ComponentNamespace')
|
||||
);
|
||||
|
||||
// COMPANYNAME
|
||||
@@ -197,7 +197,7 @@ class Infusion extends Interpretation
|
||||
|
||||
// set the namespace prefix
|
||||
CFactory::_('Compiler.Builder.Content.One')->set('NAMESPACEPREFIX',
|
||||
CFactory::_('Config')->namespace_prefix
|
||||
CFactory::_('Placeholder')->get('NAMESPACEPREFIX')
|
||||
);
|
||||
|
||||
// set the global version in case
|
||||
|
@@ -2274,11 +2274,11 @@ class Interpretation extends Fields
|
||||
{
|
||||
$xml .= PHP_EOL . Indent::_(3)
|
||||
. 'addruleprefix="' . CFactory::_('Config')->namespace_prefix
|
||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNameSpace')
|
||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNamespace')
|
||||
. '\\'. $target_area . '\Rule"';
|
||||
$xml .= PHP_EOL . Indent::_(3)
|
||||
. 'addfieldprefix="' . CFactory::_('Config')->namespace_prefix
|
||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNameSpace')
|
||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNamespace')
|
||||
. '\\'. $target_area . '\Field">';
|
||||
}
|
||||
|
||||
@@ -2331,11 +2331,11 @@ class Interpretation extends Fields
|
||||
{
|
||||
$xml .= PHP_EOL . Indent::_(3)
|
||||
. 'addruleprefix="' . CFactory::_('Config')->namespace_prefix
|
||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNameSpace')
|
||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNamespace')
|
||||
. '\\'. $target_area . '\Rule"';
|
||||
$xml .= PHP_EOL . Indent::_(3)
|
||||
. 'addfieldprefix="' . CFactory::_('Config')->namespace_prefix
|
||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNameSpace')
|
||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNamespace')
|
||||
. '\\'. $target_area . '\Field">';
|
||||
}
|
||||
$xml .= implode(Indent::_(3), $params);
|
||||
@@ -8918,7 +8918,7 @@ class Interpretation extends Fields
|
||||
// set the table
|
||||
$array['table'] = '{"special": {"dbtable": "#__' . $component . '_'
|
||||
. $view . '","key": "id","type": "' . $View . 'Table","prefix": "' . CFactory::_('Config')->namespace_prefix
|
||||
. '\\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNameSpace')
|
||||
. '\\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNamespace')
|
||||
. '\\Administrator\\Table"}}';
|
||||
|
||||
// set rules field
|
||||
@@ -23182,11 +23182,11 @@ class Interpretation extends Fields
|
||||
{
|
||||
$xml .= PHP_EOL . Indent::_(3)
|
||||
. 'addruleprefix="' . CFactory::_('Config')->namespace_prefix
|
||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNameSpace')
|
||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNamespace')
|
||||
. '\Administrator\Rule"';
|
||||
$xml .= PHP_EOL . Indent::_(3)
|
||||
. 'addfieldprefix="' . CFactory::_('Config')->namespace_prefix
|
||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNameSpace')
|
||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNamespace')
|
||||
. '\Administrator\Field">';
|
||||
}
|
||||
$xml .= PHP_EOL . Indent::_(1) . '>';
|
||||
@@ -23585,11 +23585,11 @@ class Interpretation extends Fields
|
||||
{
|
||||
$xml .= PHP_EOL . Indent::_(3)
|
||||
. 'addruleprefix="' . CFactory::_('Config')->namespace_prefix
|
||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNameSpace')
|
||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNamespace')
|
||||
. '\Administrator\Rule"';
|
||||
$xml .= PHP_EOL . Indent::_(3)
|
||||
. 'addfieldprefix="' . CFactory::_('Config')->namespace_prefix
|
||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNameSpace')
|
||||
. '\Component\\' . CFactory::_('Compiler.Builder.Content.One')->get('ComponentNamespace')
|
||||
. '\Administrator\Field">';
|
||||
}
|
||||
$xml .= PHP_EOL . Indent::_(1) . '>';
|
||||
|
Reference in New Issue
Block a user