API docs     >     Extensions     >     ExtensionMgr

ExtensionMgr->add

Description

add ( $code, $path, $name, $developerName, $version, $description, $url, $type )
Adds a new Extension

Parameters

$code
string
Extension code
$path
string
Extension path
$name
string
Extension name
$developerName
string
Name of the Extension developer
$version
string
Extension version
$description
string
Extension Description
$url
string
$type
int
Extension type

Returns

int|false
New Extension Id or FALSE in case of an error