Resolved gh-441 to allow fieldtype name prefixing. Resolved gh-443 to allow Alphanumeric+dot in fieldtype name. Fixed gh-446 to insure that JFormRuleInt validates correctly in the admin field realtions. Improved the new plugin area to also have system name and option to add custom header code. gh-436

This commit is contained in:
2019-07-19 04:17:15 +02:00
parent a5ae94b93a
commit affaeb72f8
77 changed files with 4338 additions and 3890 deletions

View File

@ -255,7 +255,6 @@ class ComponentbuilderModelAjax extends JModelList
return ComponentbuilderHelper::getClassCode($id, $type);
}
public function getClassCodeIds($id, $type)
{
if ('property' === $type || 'method' === $type)
@ -268,6 +267,15 @@ class ComponentbuilderModelAjax extends JModelList
}
return false;
}
public function getClassHeaderCode($id, $type)
{
if ('extends' === $type && ($head = ComponentbuilderHelper::getVar('class_' . $type, $id, 'id', 'head')) !== false && ComponentbuilderHelper::checkString($head))
{
return base64_decode($head);
}
return false;
}
// Used in admin_view