MCManager API Reference |
Plugin Members |
Plugin Class Constructors Methods Properties See Also Send Feedback |
The Plugin type exposes the following members.
Constructors
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
OnAfterStream |
Gets called after data was streamed to client.
| |
OnAfterUpload |
Gets called before data is streamed/uploaded from client.
| |
OnAuthenticate |
Gets called on a authenication request. This method should check sessions or simmilar to verify that the user has access to the backend.
This method should return true if the current request is authenicated or false if it's not.
| |
OnBeforeFileAction |
Gets called before a file action occurs for example before a rename or copy.
| |
OnBeforeRPC |
Gets called before a RPC command is handled.
| |
OnBeforeStream |
Gets called before data is streamed to client.
| |
OnBeforeUpload |
Gets called before data is streamed/uploaded from client.
| |
OnCustomInfo |
Gets called when custom data is to be added for a file custom data can for example be
plugin specific name value items that should get added into a file listning.
| |
OnFileAction |
Gets called after a file action was perforem for example after a rename or copy.
| |
OnInit |
Gets called after any authenication is performed and verified.
This method should return false if the execution chain is to be broken.
| |
OnInsertFile |
Gets called when the user selects a file and inserts it into TinyMCE or a form or similar.
| |
OnLogin |
Gets called when a user has logged in to the system. This event should be dispatched from the login page.
These events is not fired internaly and should be fired/dispatched externally.
| |
OnLogout |
Gets called when a user has logged out from the system. This event should be dispatched from the logout page.
These events is not fired internaly and should be fired/dispatched externally.
| |
OnPreInit |
Gets called before the ManagerEngine is initialized. This method
can setup config and language pack data based on the prefix.
| |
OnRPC |
Gets executed when a RPC command is to be executed.
| |
OnStream |
Gets called when data is streamed to client. This method should setup HTTP headers, content type
etc and simply send out the binary data to the client and the return false ones that is done.
| |
OnUpload |
Gets called when data is streamed/uploaded from client. This method should take care of
any uploaded files and move them to the correct location.
| |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Prefix |
Prefix that the events will be filtered on. Defaults to null.
| |
ShortName |
Short name for the plugin, used in the authenticator config option for example
so that you don't need to write the long name for it namespace.classname.
|