Added context to all compiler events. Added layout fields override options for dynamic field generation.

This commit is contained in:
2019-07-01 18:10:28 +02:00
parent 663f8405e5
commit b9c758b800
291 changed files with 4951 additions and 370 deletions

View File

@ -18,13 +18,29 @@ use Joomla\Registry\Registry;
* Componentbuilder Admin_custom_tabs Model
*/
class ComponentbuilderModelAdmin_custom_tabs extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'tabs' => array(
'fullwidth' => array(
'tabs'
),
'above' => array(
'admin_view'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,30 @@ use Joomla\Registry\Registry;
* Componentbuilder Admin_fields Model
*/
class ComponentbuilderModelAdmin_fields extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'fields' => array(
'fullwidth' => array(
'note_on_views',
'addfields'
),
'above' => array(
'admin_view'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,30 @@ use Joomla\Registry\Registry;
* Componentbuilder Admin_fields_conditions Model
*/
class ComponentbuilderModelAdmin_fields_conditions extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'conditions' => array(
'fullwidth' => array(
'note_on_conditions',
'addconditions'
),
'above' => array(
'admin_view'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,30 @@ use Joomla\Registry\Registry;
* Componentbuilder Admin_fields_relations Model
*/
class ComponentbuilderModelAdmin_fields_relations extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'relations' => array(
'fullwidth' => array(
'note_on_relations',
'addrelations'
),
'above' => array(
'admin_view'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,176 @@ use Joomla\Registry\Registry;
* Componentbuilder Admin_view Model
*/
class ComponentbuilderModelAdmin_view extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'details' => array(
'left' => array(
'name_single',
'name_list',
'type',
'icon',
'icon_add',
'icon_category'
),
'right' => array(
'short_description',
'description',
'add_fadein'
),
'fullwidth' => array(
'note_linked_to_notice'
),
'above' => array(
'system_name'
),
'under' => array(
'not_required'
)
),
'php' => array(
'fullwidth' => array(
'add_php_ajax',
'php_ajaxmethod',
'ajax_input',
'add_php_getitem',
'php_getitem',
'add_php_getitems',
'php_getitems',
'add_php_getitems_after_all',
'php_getitems_after_all',
'add_php_getlistquery',
'php_getlistquery',
'add_php_getform',
'php_getform',
'add_php_before_save',
'php_before_save',
'add_php_save',
'php_save',
'add_php_postsavehook',
'php_postsavehook',
'add_php_allowadd',
'php_allowadd',
'add_php_allowedit',
'php_allowedit',
'add_php_before_cancel',
'php_before_cancel',
'add_php_after_cancel',
'php_after_cancel',
'add_php_batchcopy',
'php_batchcopy',
'add_php_batchmove',
'php_batchmove',
'add_php_before_publish',
'php_before_publish',
'add_php_after_publish',
'php_after_publish',
'add_php_before_delete',
'php_before_delete',
'add_php_after_delete',
'php_after_delete',
'add_php_document',
'php_document'
)
),
'mysql' => array(
'left' => array(
'mysql_table_engine',
'mysql_table_charset',
'mysql_table_collate',
'mysql_table_row_format',
'add_sql',
'source',
'addtables'
),
'fullwidth' => array(
'sql'
)
),
'custom_import' => array(
'fullwidth' => array(
'note_beginner_import',
'note_advanced_import',
'add_custom_import',
'php_import_display',
'html_import_view',
'php_import',
'php_import_headers',
'php_import_setdata',
'php_import_save',
'php_import_ext'
)
),
'settings' => array(
'fullwidth' => array(
'note_on_permissions',
'addpermissions',
'note_on_tabs',
'addtabs',
'note_custom_tabs_note',
'note_on_linked_views',
'addlinked_views'
)
),
'fields' => array(
'left' => array(
'note_create_edit_notice',
'alias_builder_type',
'note_alias_builder_custom',
'note_alias_builder_default',
'alias_builder'
),
'right' => array(
'note_create_edit_buttons'
),
'fullwidth' => array(
'note_create_edit_display'
)
),
'css' => array(
'fullwidth' => array(
'add_css_view',
'css_view',
'add_css_views',
'css_views'
)
),
'javascript' => array(
'fullwidth' => array(
'add_javascript_view_file',
'javascript_view_file',
'add_javascript_view_footer',
'javascript_view_footer',
'add_javascript_views_file',
'javascript_views_file',
'add_javascript_views_footer',
'javascript_views_footer'
)
),
'custom_buttons' => array(
'left' => array(
'add_custom_button',
'custom_button'
),
'fullwidth' => array(
'php_controller',
'php_model',
'php_controller_list',
'php_model_list'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,30 @@ use Joomla\Registry\Registry;
* Componentbuilder Component_admin_views Model
*/
class ComponentbuilderModelComponent_admin_views extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'views' => array(
'fullwidth' => array(
'note_on_admin_views',
'addadmin_views'
),
'above' => array(
'joomla_component'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,29 @@ use Joomla\Registry\Registry;
* Componentbuilder Component_config Model
*/
class ComponentbuilderModelComponent_config extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'tweaks' => array(
'fullwidth' => array(
'addconfig'
),
'above' => array(
'joomla_component'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,29 @@ use Joomla\Registry\Registry;
* Componentbuilder Component_custom_admin_menus Model
*/
class ComponentbuilderModelComponent_custom_admin_menus extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'tweaks' => array(
'fullwidth' => array(
'addcustommenus'
),
'above' => array(
'joomla_component'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,30 @@ use Joomla\Registry\Registry;
* Componentbuilder Component_custom_admin_views Model
*/
class ComponentbuilderModelComponent_custom_admin_views extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'views' => array(
'fullwidth' => array(
'note_on_custom_admin_views',
'addcustom_admin_views'
),
'above' => array(
'joomla_component'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,30 @@ use Joomla\Registry\Registry;
* Componentbuilder Component_dashboard Model
*/
class ComponentbuilderModelComponent_dashboard extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'dashboard' => array(
'fullwidth' => array(
'php_dashboard_methods',
'dashboard_tab'
),
'above' => array(
'joomla_component'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,41 @@ use Joomla\Registry\Registry;
* Componentbuilder Component_files_folders Model
*/
class ComponentbuilderModelComponent_files_folders extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'basic' => array(
'fullwidth' => array(
'note_add_files',
'addfiles',
'note_add_folders',
'addfolders'
),
'above' => array(
'joomla_component'
)
),
'advance' => array(
'fullwidth' => array(
'note_add_files_fullpath',
'addfilesfullpath',
'note_add_folders_fullpath',
'addfoldersfullpath',
'note_constant_paths'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,29 @@ use Joomla\Registry\Registry;
* Componentbuilder Component_mysql_tweaks Model
*/
class ComponentbuilderModelComponent_mysql_tweaks extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'tweaks' => array(
'fullwidth' => array(
'sql_tweak'
),
'above' => array(
'joomla_component'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,29 @@ use Joomla\Registry\Registry;
* Componentbuilder Component_placeholders Model
*/
class ComponentbuilderModelComponent_placeholders extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'details' => array(
'fullwidth' => array(
'addplaceholders'
),
'above' => array(
'joomla_component'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,30 @@ use Joomla\Registry\Registry;
* Componentbuilder Component_site_views Model
*/
class ComponentbuilderModelComponent_site_views extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'views' => array(
'fullwidth' => array(
'note_on_site_views',
'addsite_views'
),
'above' => array(
'joomla_component'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,29 @@ use Joomla\Registry\Registry;
* Componentbuilder Component_updates Model
*/
class ComponentbuilderModelComponent_updates extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'updates' => array(
'fullwidth' => array(
'version_update'
),
'above' => array(
'joomla_component'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,95 @@ use Joomla\Registry\Registry;
* Componentbuilder Custom_admin_view Model
*/
class ComponentbuilderModelCustom_admin_view extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'details' => array(
'left' => array(
'name',
'codename',
'description',
'note_libraries_selection',
'libraries',
'note_add_language_string'
),
'right' => array(
'icon',
'snippet',
'note_uikit_snippet',
'note_snippet_usage'
),
'fullwidth' => array(
'default'
),
'above' => array(
'system_name',
'context'
),
'under' => array(
'not_required'
),
'rightside' => array(
'custom_get',
'main_get',
'dynamic_get',
'dynamic_values'
)
),
'php' => array(
'fullwidth' => array(
'add_php_ajax',
'php_ajaxmethod',
'ajax_input',
'add_php_document',
'php_document',
'add_php_view',
'php_view',
'add_php_jview_display',
'php_jview_display',
'add_php_jview',
'php_jview'
)
),
'javascript_css' => array(
'fullwidth' => array(
'add_js_document',
'js_document',
'add_javascript_file',
'javascript_file',
'add_css_document',
'css_document',
'add_css',
'css'
)
),
'custom_buttons' => array(
'left' => array(
'add_custom_button',
'custom_button'
),
'fullwidth' => array(
'php_controller',
'php_model'
)
),
'linked_components' => array(
'fullwidth' => array(
'note_linked_to_notice'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,48 @@ use Joomla\Registry\Registry;
* Componentbuilder Custom_code Model
*/
class ComponentbuilderModelCustom_code extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'details' => array(
'left' => array(
'comment_type',
'component',
'type',
'hashtarget'
),
'right' => array(
'from_line',
'to_line',
'hashendtarget'
),
'fullwidth' => array(
'path',
'note_jcb_placeholder',
'code',
'note_placeholders_explained'
),
'above' => array(
'target',
'system_name',
'function_name'
),
'under' => array(
'not_required'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,88 @@ use Joomla\Registry\Registry;
* Componentbuilder Dynamic_get Model
*/
class ComponentbuilderModelDynamic_get extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'main' => array(
'left' => array(
'main_source',
'view_table_main',
'db_table_main',
'select_all',
'view_selection',
'db_selection'
),
'right' => array(
'plugin_events'
),
'fullwidth' => array(
'php_custom_get',
'note_linked_to_notice'
),
'above' => array(
'name',
'gettype',
'getcustom',
'pagination'
),
'under' => array(
'not_required'
)
),
'abacus' => array(
'left' => array(
'addcalculation'
),
'fullwidth' => array(
'note_calculation_item',
'note_calculation_items',
'php_calculation'
)
),
'custom_script' => array(
'fullwidth' => array(
'add_php_before_getitem',
'php_before_getitem',
'add_php_after_getitem',
'php_after_getitem',
'add_php_getlistquery',
'php_getlistquery',
'add_php_before_getitems',
'php_before_getitems',
'add_php_after_getitems',
'php_after_getitems',
'add_php_router_parse',
'php_router_parse'
)
),
'joint' => array(
'fullwidth' => array(
'join_view_table',
'join_db_table'
)
),
'tweak' => array(
'fullwidth' => array(
'filter',
'where',
'order',
'group',
'global'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,74 @@ use Joomla\Registry\Registry;
* Componentbuilder Field Model
*/
class ComponentbuilderModelField extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'set_properties' => array(
'fullwidth' => array(
'note_select_field_type',
'note_filter_information'
),
'above' => array(
'fieldtype',
'name',
'catid'
),
'under' => array(
'not_required'
)
),
'database' => array(
'left' => array(
'datatype',
'datalenght',
'datalenght_other',
'datadefault',
'datadefault_other'
),
'right' => array(
'indexes',
'null_switch',
'store',
'note_whmcs_encryption'
),
'fullwidth' => array(
'note_no_database_settings_needed',
'note_database_settings_needed'
)
),
'scripts' => array(
'left' => array(
'add_css_view',
'css_view',
'add_css_views',
'css_views'
),
'right' => array(
'add_javascript_view_footer',
'javascript_view_footer',
'add_javascript_views_footer',
'javascript_views_footer'
)
),
'type_info' => array(
'fullwidth' => array(
'helpnote',
'xml'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,54 @@ use Joomla\Registry\Registry;
* Componentbuilder Fieldtype Model
*/
class ComponentbuilderModelFieldtype extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'details' => array(
'left' => array(
'catid',
'short_description'
),
'right' => array(
'description'
),
'fullwidth' => array(
'note_on_fields',
'properties',
'not_required'
),
'above' => array(
'name'
)
),
'database_defaults' => array(
'left' => array(
'has_defaults',
'datatype',
'datalenght',
'datalenght_other',
'datadefault',
'datadefault_other'
),
'right' => array(
'indexes',
'null_switch',
'store',
'note_whmcs_encryption'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,45 @@ use Joomla\Registry\Registry;
* Componentbuilder Help_document Model
*/
class ComponentbuilderModelHelp_document extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'details' => array(
'left' => array(
'target',
'groups',
'location',
'admin_view',
'site_view'
),
'right' => array(
'type',
'url',
'article'
),
'fullwidth' => array(
'content'
),
'above' => array(
'title',
'alias'
),
'under' => array(
'not_required'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,199 @@ use Joomla\Registry\Registry;
* Componentbuilder Joomla_component Model
*/
class ComponentbuilderModelJoomla_component extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'details' => array(
'left' => array(
'name',
'name_code',
'component_version',
'debug_linenr',
'add_placeholders',
'mvc_versiondate',
'note_version_options_one',
'note_version_options_two',
'note_version_options_three',
'short_description',
'description',
'copyright'
),
'right' => array(
'companyname',
'author',
'email',
'website',
'add_license',
'license_type',
'note_whmcs_lisencing_note',
'whmcs_key',
'whmcs_url',
'whmcs_buy_link',
'license',
'bom',
'image'
),
'above' => array(
'system_name'
),
'under' => array(
'not_required'
)
),
'libs_helpers' => array(
'fullwidth' => array(
'creatuserhelper',
'adduikit',
'addfootable',
'add_email_helper',
'add_php_helper_both',
'php_helper_both',
'add_php_helper_admin',
'php_helper_admin',
'add_admin_event',
'php_admin_event',
'add_php_helper_site',
'php_helper_site',
'add_site_event',
'php_site_event',
'add_javascript',
'javascript',
'add_css_admin',
'css_admin',
'add_css_site',
'css_site'
)
),
'dynamic_integration' => array(
'left' => array(
'add_update_server',
'update_server_url',
'update_server_target',
'note_update_server_note_ftp',
'note_update_server_note_zip',
'note_update_server_note_other',
'update_server',
'add_sales_server',
'sales_server'
),
'right' => array(
'translation_tool',
'note_crowdin',
'crowdin_project_identifier',
'crowdin_project_api_key',
'crowdin_username',
'crowdin_account_api_key'
)
),
'readme' => array(
'left' => array(
'addreadme',
'readme'
),
'right' => array(
'note_readme'
)
),
'dash_install' => array(
'left' => array(
'dashboard_type'
),
'right' => array(
'note_dynamic_dashboard',
'dashboard',
'note_botton_component_dashboard'
),
'fullwidth' => array(
'add_php_preflight_install',
'php_preflight_install',
'add_php_preflight_update',
'php_preflight_update',
'add_php_postflight_install',
'php_postflight_install',
'add_php_postflight_update',
'php_postflight_update',
'add_php_method_uninstall',
'php_method_uninstall'
)
),
'mysql' => array(
'fullwidth' => array(
'add_sql',
'sql',
'add_sql_uninstall',
'sql_uninstall'
)
),
'settings' => array(
'left' => array(
'note_moved_views',
'spacer_hr_one',
'note_mysql_tweak_options',
'spacer_hr_two',
'note_add_custom_menus',
'spacer_hr_three',
'note_add_config'
),
'right' => array(
'note_component_files_folders',
'spacer_hr_four',
'add_menu_prefix',
'menu_prefix',
'spacer_hr_five',
'to_ignore_note',
'toignore',
'spacer_hr_six',
'jcb_export_package_note',
'export_key',
'joomla_source_link',
'export_buy_link'
),
'fullwidth' => array(
'spacer_hr_seven',
'note_on_contributors',
'addcontributors',
'emptycontributors',
'number'
)
),
'dynamic_build_beta' => array(
'fullwidth' => array(
'note_buildcomp_dynamic_mysql',
'buildcomp',
'buildcompsql'
)
),
'admin_views' => array(
'fullwidth' => array(
'note_on_admin_views',
'note_display_component_admin_views'
)
),
'site_views' => array(
'fullwidth' => array(
'note_on_site_views',
'note_display_component_site_views'
)
),
'custom_admin_views' => array(
'fullwidth' => array(
'note_on_custom_admin_views',
'note_display_component_custom_admin_views'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,29 @@ use Joomla\Registry\Registry;
* Componentbuilder Language Model
*/
class ComponentbuilderModelLanguage extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'details' => array(
'left' => array(
'name'
),
'right' => array(
'langtag'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,28 @@ use Joomla\Registry\Registry;
* Componentbuilder Language_translation Model
*/
class ComponentbuilderModelLanguage_translation extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'details' => array(
'fullwidth' => array(
'source',
'translation',
'components'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,52 @@ use Joomla\Registry\Registry;
* Componentbuilder Layout Model
*/
class ComponentbuilderModelLayout extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'details' => array(
'left' => array(
'name',
'alias',
'description',
'note_libraries_selection',
'libraries',
'note_add_language_string'
),
'right' => array(
'snippet',
'note_uikit_snippet',
'note_snippet_usage'
),
'fullwidth' => array(
'layout'
),
'under' => array(
'not_required'
),
'rightside' => array(
'dynamic_get',
'dynamic_values'
)
),
'custom_script' => array(
'fullwidth' => array(
'add_php_view',
'php_view'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,65 @@ use Joomla\Registry\Registry;
* Componentbuilder Library Model
*/
class ComponentbuilderModelLibrary extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'behaviour' => array(
'left' => array(
'note_library_instruction',
'libraries'
),
'right' => array(
'description'
),
'fullwidth' => array(
'note_no_behaviour_one',
'note_yes_behaviour_one',
'note_build_in_behaviour_one',
'addconditions',
'php_setdocument'
),
'above' => array(
'name',
'how',
'type'
),
'under' => array(
'not_required'
)
),
'config' => array(
'fullwidth' => array(
'note_no_behaviour_two',
'note_yes_behaviour_two',
'note_build_in_behaviour_two',
'note_display_library_config'
)
),
'files_folders_urls' => array(
'fullwidth' => array(
'note_no_behaviour_three',
'note_build_in_behaviour_three',
'note_display_library_files_folders_urls'
)
),
'linked' => array(
'fullwidth' => array(
'note_linked_to_notice'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,29 @@ use Joomla\Registry\Registry;
* Componentbuilder Library_config Model
*/
class ComponentbuilderModelLibrary_config extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'tweaks' => array(
'fullwidth' => array(
'addconfig'
),
'above' => array(
'library'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,43 @@ use Joomla\Registry\Registry;
* Componentbuilder Library_files_folders_urls Model
*/
class ComponentbuilderModelLibrary_files_folders_urls extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'basic' => array(
'fullwidth' => array(
'note_add_urls',
'addurls',
'note_add_files',
'addfiles',
'note_add_folders',
'addfolders'
),
'above' => array(
'library'
)
),
'advance' => array(
'fullwidth' => array(
'note_add_files_fullpath',
'addfilesfullpath',
'note_add_folders_fullpath',
'addfoldersfullpath',
'note_constant_paths'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,32 @@ use Joomla\Registry\Registry;
* Componentbuilder Placeholder Model
*/
class ComponentbuilderModelPlaceholder extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'details' => array(
'left' => array(
'target'
),
'right' => array(
'value'
),
'fullwidth' => array(
'note_placeholders_placedin'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,46 @@ use Joomla\Registry\Registry;
* Componentbuilder Server Model
*/
class ComponentbuilderModelServer extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'details' => array(
'left' => array(
'username',
'host',
'port',
'path'
),
'right' => array(
'authentication',
'password',
'private',
'private_key',
'secret'
),
'fullwidth' => array(
'note_ftp_signature',
'signature',
'note_ssh_security',
'not_required'
),
'above' => array(
'name',
'protocol'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,98 @@ use Joomla\Registry\Registry;
* Componentbuilder Site_view Model
*/
class ComponentbuilderModelSite_view extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'details' => array(
'left' => array(
'name',
'codename',
'description',
'note_libraries_selection',
'libraries',
'note_add_language_string'
),
'right' => array(
'snippet',
'note_uikit_snippet',
'note_snippet_usage'
),
'fullwidth' => array(
'default'
),
'above' => array(
'system_name',
'context'
),
'under' => array(
'not_required'
),
'rightside' => array(
'custom_get',
'main_get',
'dynamic_get',
'dynamic_values'
)
),
'php' => array(
'fullwidth' => array(
'add_php_ajax',
'php_ajaxmethod',
'ajax_input',
'add_php_document',
'php_document',
'add_php_view',
'php_view',
'add_php_jview_display',
'php_jview_display',
'add_php_jview',
'php_jview'
)
),
'javascript_css' => array(
'fullwidth' => array(
'add_javascript_file',
'javascript_file',
'add_js_document',
'js_document',
'add_css_document',
'css_document',
'add_css',
'css'
)
),
'custom_buttons' => array(
'left' => array(
'add_custom_button'
),
'right' => array(
'button_position'
),
'fullwidth' => array(
'note_custom_toolbar_placeholder',
'custom_button',
'php_controller',
'php_model'
)
),
'linked_components' => array(
'fullwidth' => array(
'note_linked_to_notice'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,50 @@ use Joomla\Registry\Registry;
* Componentbuilder Snippet Model
*/
class ComponentbuilderModelSnippet extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'details' => array(
'left' => array(
'type',
'heading',
'description',
'usage'
),
'right' => array(
'snippet'
),
'above' => array(
'name',
'url',
'library'
)
),
'contributor' => array(
'left' => array(
'contributor_company',
'contributor_website'
),
'right' => array(
'contributor_name',
'contributor_email'
),
'fullwidth' => array(
'note_contributor_details'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,29 @@ use Joomla\Registry\Registry;
* Componentbuilder Snippet_type Model
*/
class ComponentbuilderModelSnippet_type extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'details' => array(
'left' => array(
'name'
),
'right' => array(
'description'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,52 @@ use Joomla\Registry\Registry;
* Componentbuilder Template Model
*/
class ComponentbuilderModelTemplate extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'details' => array(
'left' => array(
'name',
'alias',
'description',
'note_libraries_selection',
'libraries',
'note_add_language_string'
),
'right' => array(
'snippet',
'note_snippet_usage',
'note_uikit_snippet'
),
'fullwidth' => array(
'template'
),
'under' => array(
'not_required'
),
'rightside' => array(
'dynamic_get',
'dynamic_values'
)
),
'custom_script' => array(
'fullwidth' => array(
'add_php_view',
'php_view'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*

View File

@ -18,13 +18,35 @@ use Joomla\Registry\Registry;
* Componentbuilder Validation_rule Model
*/
class ComponentbuilderModelValidation_rule extends JModelAdmin
{
{
/**
* The tab layout fields array.
*
* @var array
*/
protected $tabLayoutFields = array(
'extends_formrule' => array(
'left' => array(
'name'
),
'right' => array(
'short_description'
),
'fullwidth' => array(
'php'
),
'above' => array(
'inherit'
)
)
);
/**
* @var string The prefix to use with controller messages.
* @since 1.6
*/
protected $text_prefix = 'COM_COMPONENTBUILDER';
/**
* The type alias for this content type.
*