Adds the initial classes needed for the new search feature. Adds the empty view for the search feature. #952

This commit is contained in:
2022-09-14 17:40:02 +02:00
parent 1dddba0fc8
commit d757e14fac
57 changed files with 6293 additions and 177 deletions

View File

@ -24106,17 +24106,9 @@ class Interpretation extends Fields
$placeholders[Placefix::_('views')]
= $nameListCode;
// load the global placeholders
if (ArrayHelper::check(
$this->globalPlaceholders
))
foreach (CFactory::_('Component.Placeholder')->get() as $globalPlaceholder => $gloabalValue)
{
foreach (
$this->globalPlaceholders as $globalPlaceholder =>
$gloabalValue
)
{
$placeholders[$globalPlaceholder] = $gloabalValue;
}
$placeholders[$globalPlaceholder] = $gloabalValue;
}
$view = '';
$viewType = 0;
@ -29015,10 +29007,12 @@ function vdm_dkim() {
public function getExtensionFieldsetXML(&$extension, &$fields, $dbkey = 'zz'
)
{
// get global placeholders
$placeholder = CFactory::_('Component.Placeholder')->get();
// build the fieldset
return $this->getFieldsetXML(
$fields, $extension->lang_prefix, $extension->key, $extension->key,
$this->globalPlaceholders, $dbkey
$placeholder, $dbkey
);
}