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,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.
*