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