Added Joomla Module builder - GUI

This commit is contained in:
2019-12-03 04:17:35 +02:00
parent 850ee4b7e9
commit ffbb733576
161 changed files with 18943 additions and 3699 deletions

View File

@ -1145,6 +1145,11 @@ class ComponentbuilderModelJoomla_plugin extends JModelAdmin
{
// make sure the name is safe to be used as a function name
$data['name'] = ComponentbuilderHelper::safeClassFunctionName($data['name']);
}
// if system name is empty create from name
if (empty($data['system_name']) || !ComponentbuilderHelper::checkString($data['system_name']))
{
$data['system_name'] = $data['name'];
}
// Set the method_selection items to data.