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:
@ -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
|
||||
|
Reference in New Issue
Block a user