Method | Description | |
---|---|---|
Alias ( ) : string |
This Alias must be unique and is used as an identifier that must match the alias in the package action XML.
|
|
Execute ( string packageName, |
Append the xmlData node to the web.config file
|
|
SampleXml ( ) : |
Returns a Sample XML Node In this case the Sample HTTP Module TimingModule
|
|
Test ( ) : bool |
Tests if the ImageProcessor HTTP module is added to web.config
|
|
Undo ( string packageName, |
Removes the xmlData node from the web.config file
|
Method | Description | |
---|---|---|
getAttribute ( |
Get a named attribute from xmlData root node
|
|
getAttributeDefault ( |
Get an optional named attribute from xmlData root node when attribute is unavailable, return the default value
|
|
getUser ( ) : umbraco.BusinessLogic.User |
Get the current user, or when unavailable admin user
|
public Execute ( string packageName, |
||
packageName | string | Name of the package that we install |
xmlData | The data that must be appended to the web.config file | |
return | bool |
public Undo ( string packageName, |
||
packageName | string | Name of the package that we install |
xmlData | The data that must be appended to the web.config file | |
return | bool |