ars_CreateAdminExtension(ctrl, adminExtensionHash)
adminExtensioHash
before calling this routine.
adminExtensionHash
is an
Admin Extension Attributes hash.
Example:
This example copies an existing admin extension to a new admin extension. I.e. it simply re-saves the admin extension under a new name.
($a = ars_GetAdminExtension($c, "AE-foobar")) || die $ars_errstr; $a->{name} = "Copy of ".$a->{name}; ars_CreateAdminExtensio($c, $a) || die $ars_errstr;Notes: hash keys
helpText, changeDiary
and
owner
are optional when calling this routine.
This function was introduced in version 1.50 of ARSperl