Content Studio Web Content Management System
SystemObject
ContentStudio.SiteCodeBase
ContentStudio.Site.ActiveScriptingActiveScriptingBase
ContentStudio.Site.ActiveScriptingSecurityBase
ContentStudio.Site.ActiveScripting.SecurityInsertEncryptedEmailLink
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Top
Top
Top
This class can throw exceptions thus your code should be wrapped within try/catch statements in order to avoid the entire page to crash.
[This is preliminary documentation and is subject to change.]
Encrypts an email adress with the method specified in EncryptionMethod.
The generates inline code thus you must wrap it into a block element in order for the resulting code to validate.
The code generated is fully HTML/XHTML strict compatible.
Inheritance Hierarchy
ContentStudio.SiteCodeBase
ContentStudio.Site.ActiveScriptingActiveScriptingBase
ContentStudio.Site.ActiveScriptingSecurityBase
ContentStudio.Site.ActiveScripting.SecurityInsertEncryptedEmailLink
Namespace: ContentStudio.Site.ActiveScripting.Security
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
The InsertEncryptedEmailLink type exposes the following members.
Constructors
Name | Description | |
---|---|---|
InsertEncryptedEmailLink |
Constructs a new instance of the InsertEncryptedEmailLink class that writes to the default response stream
| |
InsertEncryptedEmailLink(Stream) |
Constructs a new instance of the InsertEncryptedEmailLink class that writes to the supplied stream
|
Properties
Name | Description | |
---|---|---|
BackwardsComponentCompatibilityMode |
Sets or gets a value that indicates whether the code runs in backwards
compatibility component mode. The default value is false.
(Inherited from ActiveScriptingBase.) | |
ClassName |
Sets or gets link class
The default value is an empty string
| |
ComponentName | Gets the name of the component (Overrides ActiveScriptingBaseComponentName.) | |
Conformance |
Gets a value which specifies which type of code a component can generate.
(Overrides ActiveScriptingBaseConformance.) | |
ElementType |
Gets a value which specifies the type of outer element the component generates.
(Overrides ActiveScriptingBaseElementType.) | |
EmailAddress |
Sets or gets the email adress
The default value is an empty string
| |
EmailText |
Sets or gets the text of the email link
The default value is "Mail me"
| |
Encoding |
Sets or gets the encoding the component uses. The default encoding is
the UTF8 encoding without byte order mark.
(Inherited from ActiveScriptingBase.) | |
EncryptionMethod |
Sets or gets the EncryptionMethod
The default value is EmailEncryptionMethod.ASCII
| |
NumBreaks |
Sets or gets the number of times the email address will be split.
Only used when encrypting using EncryptionMethod.JavascriptASCII
| |
Tooltip |
Sets or gets Tooltip (title attribute) of link
The default value is an empty string
|
Methods
Name | Description | |
---|---|---|
AccessCheckForCurrentCategory |
Determines if access us granted to the current category for
the calling user.
(Inherited from SecurityBase.) | |
AccessCheckForCurrentDocument |
Determines if access us granted to the current document for
the calling user.
(Inherited from SecurityBase.) | |
EncryptMethod1 |
Encrypts email address by replacing @ and . to decimal values.
| |
EncryptMethod2 |
Encrypts email address by splitting it into the number of pieces specified in SplitNum. Each piece will have ' surrounding them. The encypted email address returned is intended to be used in a javascript.
| |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Invoke |
This method invokes the component and writes its content into the specified stream
| |
ToString | (Inherited from Object.) |
Remarks
See Also