Insert extra
public static insertExtra ( string $type, string $module, string $action = null, string $label = null, array $data = null, boolean $hidden = false, integer $sequence = null ) : integer | ||
$type | string | What type do you want to insert, 'homepage', 'block' or 'widget'. |
$module | string | The module you are inserting this extra for. |
$action | string | The action this extra will use. |
$label | string | Label which will be used when you want to connect this block. |
$data | array | Containing extra variables. |
$hidden | boolean | Should this extra be visible in frontend or not? |
$sequence | integer | |
return | integer | The new extra id |