phpDocumentor plugins
Test
[ class tree: plugins ] [ index: plugins ] [ all elements ]

Class: test_plugin

Source Location: /qp_plugins/test_plugin/_test.plugin.php

Class test_plugin

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Plugin

Plugin::$help_url
Plugin::$long_desc
Plugin::$name
Plugin::$ping_service_name
Plugin::$ping_service_note
Plugin::$short_desc

Inherited From Plugin

Plugin::Plugin()
Constructor.
Plugin::AdminAfterMenuInit()
Event handler: Gets invoked in /admin.php for every backoffice page after the menu structure is built. You could use the $AdminUI object to modify it.
Plugin::AdminAfterNavbarInit()
Event handler: Gets invoked in /toolbar.inc.php after the menu structure is built.
Plugin::AdminAfterPageFooter()
Event handler: Called right after displaying the admin page footer.
Plugin::AdminBeforeItemEditCreate()
Event handler: Called before a new item gets created (in the backoffice).
Plugin::AdminBeforeItemEditDelete()
Event handler: Called before an item gets deleted (in the backoffice).
Plugin::AdminBeforeItemEditUpdate()
Event handler: Called before an existing item gets updated (in the backoffice).
Plugin::AdminBeginPayload()
Event handler: Gets invoked before the main payload in the backoffice.
Plugin::AdminDispCommentFormField()
Event handler: Called at the end of the "Edit comment" form.
Plugin::AdminDisplayCommentToolbar()
Event handler: Called when displaying comment editor toolbars in admin.
Plugin::AdminDisplayEditorButton()
Event handler: Called when displaying editor buttons.
Plugin::AdminDisplayFieldsetAbove()
Event handler: Called when displaying item form fieldsets above the post textarea.
Plugin::AdminDisplayFieldsetBelow()
Event handler: Called when displaying item form fieldsets below the post textarea.
Plugin::AdminDisplayFieldsetSidebar()
Event handler: Called when displaying item form fieldsets at the top of the sidebar.
Plugin::AdminDisplayToolbarAbove()
Event handler: Called when displaying editor toolbars above the post textarea.
Plugin::AdminDisplayToolbarBelow()
Event handler: Called when displaying editor toolbars below the post textarea.
Plugin::AdminDisplayToolbarSidebar()
Event handler: Called when displaying editor toolbars at the top of the sidebar.
Plugin::AdminEndHtmlHead()
Event handler: Called when ending the admin html head section.
Plugin::AdminTabAction()
Event handler: Method that gets invoked when our tab is selected.
Plugin::AdminTabPayload()
Event handler: Gets invoked when our tab is selected and should get displayed.
Plugin::AdminToolAction()
Event handler: Called when handling actions for the "Tools" menu.
Plugin::AdminToolPayload()
Event handler: Called when displaying the block in the "Tools -> misc" menu.
Plugin::AfterCommentDelete()
Event handler: called at the end of deleting a comment from the database.
Plugin::AfterCommentFormInsert()
Event handler: Called when a comment form has been processed and the comment got inserted into DB.
Plugin::AfterCommentInsert()
Event handler: called at the end of inserting a comment into the database, which means it has been created.
Plugin::AfterCommentUpdate()
Event handler: called at the end of updating a comment in the database.
Plugin::AfterFileSave()
Event handler: Called after an uploaded file gets saved on server.
Plugin::AfterFileUpload()
Event handler: Called before an uploaded file gets saved on server.
Plugin::AfterInstall()
Event handler: Called after the plugin has been installed.
Plugin::AfterItemDelete()
Event handler: called at the end of deleting an item/post from the database.
Plugin::AfterItemInsert()
Event handler: called at the end of inserting a item/post into the database, which means it has been created.
Plugin::AfterItemUpdate()
Event handler: called at the end of updating an item/post in the database.
Plugin::AfterLoginAnonymousUser()
Event handler: Called at the end of the login procedure, if the user is anonymous ($current_User NOT set).
Plugin::AfterLoginRegisteredUser()
Event handler: Called at the end of the login procedure, if the $current_User is set and the user is therefor registered.
Plugin::AfterSendMessage()
Event handler: Called after a message has been sent through the public email form.
Plugin::AfterTrackbackInsert()
Event handler: Gets called after a trackback has been recorded.
Plugin::AfterUserDelete()
Event handler: called at the end of deleting an user from the database.
Plugin::AfterUserInsert()
Event handler: called at the end of inserting an user account into the database, which means it has been created.
Plugin::AfterUserRegistration()
Event handler: Called when a new user has registered and got created.
Plugin::AfterUserUpdate()
Event handler: called at the end of updating an user account in the database, which means that it has been changed.
Plugin::AlternateAuthentication()
Event handler: called at the end of the login process, if the user did not try to login (by sending "login" and "pwd"), the session has no user attached or only "login" is given.
Plugin::AppendHitLog()
Event handler: Called when a hit gets logged, but before it gets recorded.
Plugin::AppendItemPreviewTransact()
Event handler: called when instantiating an Item for preview.
Plugin::AppendUserRegistrTransact()
Event handler: Called when a new user has registered, at the end of the DB transaction that created this user.
Plugin::are_events_available()
Check if the requested list of events is provided by any or one plugin.
Plugin::BeforeBlogDisplay()
Event handler: Called before a blog gets displayed (in _blog_main.inc.php).
Plugin::BeforeCommentFormInsert()
Event handler: Called before a comment gets inserted through the public comment form.
Plugin::BeforeDisable()
Event handler: Your plugin gets notified here, just before it gets disabled.
Plugin::BeforeEnable()
Event handler: Called when the admin tries to enable the plugin, changes its configuration/settings and after installation.
Plugin::BeforeInstall()
Event handler: Called before the plugin is going to be installed.
Plugin::BeforeSendMessage()
Event handler: Called when a message form has been submitted.
Plugin::BeforeSessionsDelete()
Event handler: Called before pruning sessions. The plugin can prevent deletion of particular sessions, by returning their IDs.
Plugin::BeforeThumbCreate()
This gets called before an image thumbnail gets created.
Plugin::BeforeTrackbackInsert()
Event handler: called before a trackback gets recorded.
Plugin::BeforeUninstall()
Event handler: Called before the plugin is going to be un-installed.
Plugin::BeforeUninstallPayload()
Event handler: Gets invoked to display the payload before uninstalling the plugin.
Plugin::CacheIsCollectingContent()
Event handler: gets asked for if we are generating cached content.
Plugin::CacheObjects()
Event handler: called to cache object data.
Plugin::CachePageContent()
Event handler: called to cache page content (get cached content or request caching).
Plugin::CaptchaPayload()
Event handler: general event to inject payload for a captcha test.
Plugin::CaptchaValidated()
Event handler: general event to validate a captcha which payload was added through CaptchaPayload().
Plugin::CaptchaValidatedCleanup()
Event handler: general event to be called after an action has been taken, which involved CaptchaPayload() and CaptchaValidated().
Plugin::CommentFormSent()
Event handler: Called before at the beginning, if a comment form gets sent (and received).
Plugin::debug_log()
Log a debug message.
Plugin::disable_event()
Disable an event.
Plugin::DisplayCommentFormButton()
Event handler: Called in the submit button section of the frontend comment form.
Plugin::DisplayCommentFormFieldset()
Event handler: Called at the end of the frontend comment form.
Plugin::DisplayCommentToolbar()
Event handler: Called when displaying comment editor toolbars.
Plugin::DisplayItemAsHtml()
Event handler: Called when displaying an item/post's content as HTML.
Plugin::DisplayItemAsText()
Event handler: Called when displaying an item/post's content as text.
Plugin::DisplayItemAsXml()
Event handler: Called when displaying an item/post's content as XML.
Plugin::DisplayLoginFormFieldset()
Event handler: Called at the end of the "Login" form.
Plugin::DisplayMessageFormButton()
Event handler: Called in the submit button section of the frontend message form.
Plugin::DisplayMessageFormFieldset()
Event handler: Called at the end of the frontend message form, which allows to send an email to a user/commentator.
Plugin::DisplayRegisterFormFieldset()
Event handler: Called at the end of the "Register as new user" form.
Plugin::DisplayTemplate()
Event handler: Display a template. Use Plugin::GetProvidedTemplates() to return a list of names that you register.
Plugin::DisplayTrackbackAddr()
Event handler: called to display the URL that accepts trackbacks for an item.
Plugin::DisplayValidateAccountFormFieldset()
Event handler: Called at the end of the "Validate user account" form, which gets invoked if newusers_mustvalidate is enabled and the user has not been validated yet.
Plugin::enable_event()
Enable an event.
Plugin::ExecCronJob()
Execute/handle a cron job, which has been scheduled by the admin out of the list that the Plugin provides (see GetCronJobs()).
Plugin::FilterCommentAuthor()
Event handler: called to filter the comment's author name (blog name for trackbacks)
Plugin::FilterCommentAuthorUrl()
Event handler: called to filter the comment's author URL.
Plugin::FilterCommentContent()
Event handler: called to filter the comment's content
Plugin::FilterIpAddress()
Event handler: Called when an IP address gets displayed, typically in a protected area or for a privileged user, e.g. in the backoffice statistics menu.
Plugin::forget_events()
Call this to unregister all your events for the current request.
Plugin::GetCronJobs()
This method gets asked for a list of cronjobs that the plugin provides.
Plugin::GetDbLayout()
This method should return your DB schema, consisting of a list of CREATE TABLE queries.
Plugin::GetDefaultBlogSettings()
Define here default collection/blog settings that are to be made available in the backoffice.
Plugin::GetDefaultSettings()
Define default settings here.
Plugin::GetDefaultUserSettings()
Define here default user settings that are then available in the backoffice.
Plugin::GetDefaultWidgetSettings()
Get definitions for widget specific editable params
Plugin::GetDependencies()
Get the list of dependencies that the plugin has.
Plugin::GetExtraEvents()
This method gets asked when plugins get installed and allows you to return a list of extra events, which your plugin triggers itself (e.g. through $Plugins->trigger_event()).
Plugin::GetProvidedTemplates()
Event handler: Gets asked about a list of template names that the plugin handles.
Plugin::GetSpamKarmaForComment()
Event handler: Called to ask the plugin for the spam karma of a comment/trackback.
Plugin::GetSrvcMethods()
Override this method to define methods/functions that you want to make accessible through /qp_srvc/call_plugin.php, which allows you to call those methods by HTTP request.
Plugin::get_class_id()
Get a string, unqiue for the plugin, usable in HTML form elements.
Plugin::get_coll_setting()
Get a template specific param value from current Blog
Plugin::get_edit_settings_link()
Get a link to edit the Plugin's settings (if the user has permission).
Plugin::get_help_file()
Get the help file for a Plugin ID. README.LOCALE.html will take precedence above the general (english) README.html.
Plugin::get_help_link()
Get a link to a help page (with icon).
Plugin::get_help_url()
Get the plugin's external help/website URL.
Plugin::get_plugin_url()
Get the absolute URL to the plugin's directory (where the plugins classfile is).
Plugin::get_sql_table()
Get canonical name for database tables a plugin uses, by adding an unique prefix for your plugin instance.
Plugin::get_srvc_url()
Get the URL to call a plugin method through http. This links to the /qp_srvc/call_plugin.php file.
Plugin::get_tools_tab_url()
Get URL for the tools tab for this plugin.
Plugin::IsValidFilteredEmail()
Event handler: Called when checking if an email address that looks syntactically correct is in fact valid.
Plugin::IsValidRawEmail()
Event handler: Called when checking if an unprocessed email address as supplied by the user is valid.
Plugin::ItemApplyAsRenderer()
Event handler: Does your Plugin want to apply as a renderer for the item?
Plugin::ItemCanComment()
Event handler: the plugin gets asked if an item can receive feedback/comments.
Plugin::ItemInsertFileJavascript()
Event handler: allows an editor plugin to write custom tags when inserting a file, usually an image.
Plugin::ItemSendPing()
Event handler: send a ping about a new item.
Plugin::ItemViewsIncreased()
Event handler: Called when the view counter of an item got increased.
Plugin::LoginAttempt()
Event handler: called when a user attemps to login.
Plugin::LoginAttemptNeedsRawPassword()
Event handler: your Plugin should return true here, if it needs a raw (un-hashed) password for the Plugin::LoginAttempt() event. If any Plugin returns true for this event, client-side hashing of the password is not used.
Plugin::Logout()
Event handler: called when a user logs out.
Plugin::ModifySendMessage()
Event handler: Called after preparing but before sending a message.
Plugin::msg()
A simple wrapper around the $Messages object with a default catgory of 'note'.
Plugin::PluginInit()
Init the Plugin after it has been registered/instantiated.
Plugin::PluginSettingsEditAction()
Event handler: Called as action before displaying the "Edit plugin" form, which includes the display of the Plugin::$Settings.
Plugin::PluginSettingsEditDisplayAfter()
Event handler: Called after the form to edit the Plugin::$Settings has been displayed.
Plugin::PluginSettingsUpdateAction()
Event handler: Called as action just before updating the Plugin::$Settings.
Plugin::PluginSettingsValidateSet()
Event handler: Called before displaying or setting a plugin's setting in the backoffice.
Plugin::PluginUserSettingsEditAction()
Event handler: Called as action before displaying the "Edit user" form, which includes the display of the Plugin::$UserSettings.
Plugin::PluginUserSettingsEditDisplayAfter()
Event handler: Called after the form to edit the Plugin::$UserSettings has been displayed.
Plugin::PluginUserSettingsUpdateAction()
Event handler: Called as action just before updating the Plugin::$UserSettings.
Plugin::PluginUserSettingsValidateSet()
Event handler: Called before displaying or setting a plugin's user setting in the backoffice.
Plugin::PluginVersionChanged()
Event handler: Called when we detect a version change (in Plugins::register()).
Plugin::PrependItemInsertTransact()
Event handler: called at the beginning of inserting an item/post in the database.
Plugin::PrependItemUpdateTransact()
Event handler: called at the beginning of updating an item/post in the database.
Plugin::RegisterFormSent()
Event handler: Called when a "Register as new user" form has been submitted.
Plugin::register_menu_entry()
Register a tab (sub-menu) for the backoffice Tools menus.
Plugin::RenderItemAsHtml()
Event handler: Called when rendering item/post contents as HTML. (CACHED)
Plugin::RenderItemAsText()
Event handler: Called when rendering item/post contents other than XML or HTML.
Plugin::RenderItemAsXml()
Event handler: Called when rendering item/post contents as XML.
Plugin::SessionLoaded()
Event handler: Called after initializing plugins, DB, Settings, Hit, .. but quite early.
Plugin::session_delete()
Delete a value from the session data, using a unique prefix to the Plugin.
Plugin::session_get()
Get a data value for the session, using a unique prefix to the Plugin.
Plugin::session_set()
Set a data value for the session.
Plugin::set_coll_setting()
Set a template specific param value for current Blog
Plugin::set_status()
Set the status of the plugin.
Plugin::stop_propagation()
Stop propagation of the event to next plugins (with lower priority) in events that get triggered for a batch of Plugins.
Plugin::TemplateBeginHtmlBody()
Event handler: Called at the beginning of the template's HTML BODY section.
Plugin::TemplateBeginHtmlHead()
Event handler: Called at the beginning of the template's HTML HEAD section.
Plugin::TemplateEndHtmlBody()
Event handler: Called at the end of the template's HTML BODY section.
Plugin::TemplateTag()
Called when a plugin gets called by its @{link $code}.
Plugin::TS_()
Translate and escape single quotes.
Plugin::T_()
Translate a given string, in the Plugin's context.
Plugin::ValidateAccountFormSent()
Event handler: Called when a "Validate user account" form has been submitted.
Plugin::__get()
PHP5 overloading of get method to lazy-load (User)Settings, when they get accessed.

Inherited From Plugin

Plugin::EmailInvalid
Plugin::EmailNotSure
Plugin::EmailValid
Plugin::EmailValidSyntax

[ Top ]
Property Summary
mixed   $apply_rendering  
mixed   $author  
mixed   $author_url  
mixed   $code  
mixed   $group  
mixed   $number_of_installs  
mixed   $priority  
mixed   $sub_group  
mixed   $version  

[ Top ]
Method Summary
void   AdminAfterMenuInit()  
void   AdminAfterNavbarInit()  
void   AdminAfterPageFooter()  
void   AdminBeforeItemEditCreate()  
void   AdminBeforeItemEditUpdate()  
void   AdminBeginPayload()  
void   AdminDispCommentFormField()  
void   AdminDisplayEditorButton()  
void   AdminDisplayFieldsetAbove()  
void   AdminDisplayFieldsetBelow()  
void   AdminDisplayFieldsetSidebar()  
void   AdminDisplayToolbarAbove()  
void   AdminDisplayToolbarBelow()  
void   AdminDisplayToolbarSidebar()  
void   AdminEndHtmlHead()  
void   AdminTabAction()  
void   AdminTabPayload()  
void   AdminToolAction()  
void   AdminToolPayload()  
void   AfterInstall()  
void   AfterUserRegistration()  
void   AlternateAuthentication()  
void   AppendLoginRegisteredUser()  
void   BeforeInstall()  
void   BeforeSessionsDelete()  
void   BeforeUninstall()  
void   DisplayItemAsHtml()  
void   DisplayItemAsText()  
void   DisplayItemAsXml()  
void   DisplayLoginFormFieldset()  
void   DisplayValidateAccountFormFieldset()  
void   ExecCronJob()  
void   FilterIpAddress()  
void   GetCronJobs()  
void   GetDbLayout()  
void   GetDefaultSettings()  
void   GetDefaultUserSettings()  
void   GetDependencies()  
void   GetExtraEvents()  
void   LoginAttempt()  
void   LoginAttemptNeedsRawPassword()  
void   PluginInit()  
void   PluginUserSettingsUpdateAction()  
void   RenderItemAsHtml()  
void   RenderItemAsText()  
void   RenderItemAsXml()  
void   TemplateBeginHtmlHead()  
integer   test_plugin_get_random()   Gets provided as plugin event (and gets also used internally for demonstration).

[ Top ]
Properties
mixed   $apply_rendering = 'opt-out' [line 53]

Redefinition of:
Plugin::$apply_rendering
If this is a rendering plugin, when should rendering apply? This is the default value for the plugin and can be overriden in the Plugins administration for plugins that provide rendering events.

[ Top ]
mixed   $author = 'Your Name' [line 54]

Redefinition of:
Plugin::$author
Plugin author.

[ Top ]
mixed   $author_url = 'http://yourdomain.tld/' [line 55]

Redefinition of:
Plugin::$author_url
Plugin author URL.

[ Top ]
mixed   $code = 'test' [line 56]

Redefinition of:
Plugin::$code
Globally unique code for this plugin functionality. 32 chars.

[ Top ]
mixed   $group = 'other' [line 57]

Redefinition of:
Plugin::$group
Main group of the plugin.

[ Top ]
mixed   $number_of_installs = 1 [line 59]

Redefinition of:
Plugin::$number_of_installs
Number of allowed installs.

[ Top ]
mixed   $priority = 50 [line 60]

Redefinition of:
Plugin::$priority
Default priority.

[ Top ]
mixed   $sub_group = 'plugin demo' [line 58]

Redefinition of:
Plugin::$sub_group
Sub-Group of the plugin.

[ Top ]
mixed   $version = '0.2' [line 61]

Redefinition of:
Plugin::$version
Plugin version number (max 42 chars, so obscure CVS Revision keywords get handled).

[ Top ]
Methods
AdminAfterMenuInit  [line 492]

  void AdminAfterMenuInit( )


API Tags:
See:  Plugin::AdminAfterMenuInit()


Redefinition of:
Plugin::AdminAfterMenuInit()
Event handler: Gets invoked in /admin.php for every backoffice page after the menu structure is built. You could use the $AdminUI object to modify it.

[ Top ]
AdminAfterNavbarInit  [line 470]

  void AdminAfterNavbarInit( )


API Tags:
See:  Plugin::AdminAfterNavbarInit()


Redefinition of:
Plugin::AdminAfterNavbarInit()
Event handler: Gets invoked in /toolbar.inc.php after the menu structure is built.

[ Top ]
AdminAfterPageFooter  [line 343]

  void AdminAfterPageFooter( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::AdminAfterPageFooter()


Redefinition of:
Plugin::AdminAfterPageFooter()
Event handler: Called right after displaying the admin page footer.

[ Top ]
AdminBeforeItemEditCreate  [line 441]

  void AdminBeforeItemEditCreate( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::AdminBeforeItemEditCreate()


Redefinition of:
Plugin::AdminBeforeItemEditCreate()
Event handler: Called before a new item gets created (in the backoffice).

[ Top ]
AdminBeforeItemEditUpdate  [line 450]

  void AdminBeforeItemEditUpdate( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::AdminBeforeItemEditUpdate()


Redefinition of:
Plugin::AdminBeforeItemEditUpdate()
Event handler: Called before an existing item gets updated (in the backoffice).

[ Top ]
AdminBeginPayload  [line 562]

  void AdminBeginPayload( )


API Tags:
See:  Plugin::AdminBeginPayload()


Redefinition of:
Plugin::AdminBeginPayload()
Event handler: Gets invoked before the main payload in the backoffice.

[ Top ]
AdminDispCommentFormField  [line 459]

  void AdminDispCommentFormField( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::AdminDispCommentFormField()


Redefinition of:
Plugin::AdminDispCommentFormField()
Event handler: Called at the end of the "Edit comment" form.

[ Top ]
AdminDisplayEditorButton  [line 387]

  void AdminDisplayEditorButton( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::AdminDisplayEditorButton()


Redefinition of:
Plugin::AdminDisplayEditorButton()
Event handler: Called when displaying editor buttons.

[ Top ]
AdminDisplayFieldsetAbove  [line 399]

  void AdminDisplayFieldsetAbove( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::AdminDisplayFieldsetAbove()


Redefinition of:
Plugin::AdminDisplayFieldsetAbove()
Event handler: Called when displaying item form fieldsets above the post textarea.

[ Top ]
AdminDisplayFieldsetBelow  [line 410]

  void AdminDisplayFieldsetBelow( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::AdminDisplayFieldsetBelow()


Redefinition of:
Plugin::AdminDisplayFieldsetBelow()
Event handler: Called when displaying item form fieldsets below the post textarea.

[ Top ]
AdminDisplayFieldsetSidebar  [line 421]

  void AdminDisplayFieldsetSidebar( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::AdminDisplayFieldsetSidebar()


Redefinition of:
Plugin::AdminDisplayFieldsetSidebar()
Event handler: Called when displaying item form fieldsets at the top of the sidebar.

[ Top ]
AdminDisplayToolbarAbove  [line 354]

  void AdminDisplayToolbarAbove( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::AdminDisplayToolbarAbove()


Redefinition of:
Plugin::AdminDisplayToolbarAbove()
Event handler: Called when displaying editor toolbars above the post textarea.

[ Top ]
AdminDisplayToolbarBelow  [line 365]

  void AdminDisplayToolbarBelow( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::AdminDisplayToolbarBelow()


Redefinition of:
Plugin::AdminDisplayToolbarBelow()
Event handler: Called when displaying editor toolbars below the post textarea.

[ Top ]
AdminDisplayToolbarSidebar  [line 376]

  void AdminDisplayToolbarSidebar( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::AdminDisplayToolbarSidebar()


Redefinition of:
Plugin::AdminDisplayToolbarSidebar()
Event handler: Called when displaying editor toolbars at the top of the sidebar.

[ Top ]
AdminEndHtmlHead  [line 332]

  void AdminEndHtmlHead( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::AdminEndHtmlHead()


Redefinition of:
Plugin::AdminEndHtmlHead()
Event handler: Called when ending the admin html head section.

[ Top ]
AdminTabAction  [line 521]

  void AdminTabAction( )


API Tags:
See:  Plugin::AdminTabAction()


Redefinition of:
Plugin::AdminTabAction()
Event handler: Method that gets invoked when our tab is selected.

[ Top ]
AdminTabPayload  [line 539]

  void AdminTabPayload( )


API Tags:
See:  Plugin::AdminTabPayload()


Redefinition of:
Plugin::AdminTabPayload()
Event handler: Gets invoked when our tab is selected and should get displayed.

[ Top ]
AdminToolAction  [line 501]

  void AdminToolAction( $params  )

Parameters:
   $params: 

API Tags:
See:  Plugin::AdminToolAction()


Redefinition of:
Plugin::AdminToolAction()
Event handler: Called when handling actions for the "Tools" menu.

[ Top ]
AdminToolPayload  [line 512]

  void AdminToolPayload( $params  )

Parameters:
   $params: 

API Tags:
See:  Plugin::AdminToolPayload()


Redefinition of:
Plugin::AdminToolPayload()
Event handler: Called when displaying the block in the "Tools -> misc" menu.

[ Top ]
AfterInstall  [line 649]

  void AfterInstall( )


API Tags:
See:  Plugin::AfterInstall()


Redefinition of:
Plugin::AfterInstall()
Event handler: Called after the plugin has been installed.

[ Top ]
AfterUserRegistration  [line 668]

  void AfterUserRegistration( $params  )

Parameters:
   $params: 

API Tags:
See:  Plugin::AfterUserRegistration()


Redefinition of:
Plugin::AfterUserRegistration()
Event handler: Called when a new user has registered and got created.

[ Top ]
AlternateAuthentication  [line 705]

  void AlternateAuthentication( )


API Tags:
See:  Plugin::AlternateAuthentication()


Redefinition of:
Plugin::AlternateAuthentication()
Event handler: called at the end of the login process, if the user did not try to login (by sending "login" and "pwd"), the session has no user attached or only "login" is given.

[ Top ]
AppendLoginRegisteredUser  [line 283]

  void AppendLoginRegisteredUser( )


API Tags:
See:  Plugin::AppendLoginRegisteredUser()


[ Top ]
BeforeInstall  [line 638]

  void BeforeInstall( )


API Tags:
See:  Plugin::BeforeInstall()


Redefinition of:
Plugin::BeforeInstall()
Event handler: Called before the plugin is going to be installed.

[ Top ]
BeforeSessionsDelete  [line 734]

  void BeforeSessionsDelete( $params  )

Parameters:
   $params: 

API Tags:
See:  Plugin::BeforeSessionsDelete()


Redefinition of:
Plugin::BeforeSessionsDelete()
Event handler: Called before pruning sessions. The plugin can prevent deletion of particular sessions, by returning their IDs.

[ Top ]
BeforeUninstall  [line 658]

  void BeforeUninstall( )


API Tags:
See:  Plugin::BeforeUninstall()


Redefinition of:
Plugin::BeforeUninstall()
Event handler: Called before the plugin is going to be un-installed.

[ Top ]
DisplayItemAsHtml  [line 602]

  void DisplayItemAsHtml( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::DisplayItemAsHtml()


Redefinition of:
Plugin::DisplayItemAsHtml()
Event handler: Called when displaying an item/post's content as HTML.

[ Top ]
DisplayItemAsText  [line 620]

  void DisplayItemAsText( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::DisplayItemAsText()


Redefinition of:
Plugin::DisplayItemAsText()
Event handler: Called when displaying an item/post's content as text.

[ Top ]
DisplayItemAsXml  [line 611]

  void DisplayItemAsXml( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::DisplayItemAsXml()


Redefinition of:
Plugin::DisplayItemAsXml()
Event handler: Called when displaying an item/post's content as XML.

[ Top ]
DisplayLoginFormFieldset  [line 677]

  void DisplayLoginFormFieldset( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::DisplayLoginFormFieldset()


Redefinition of:
Plugin::DisplayLoginFormFieldset()
Event handler: Called at the end of the "Login" form.

[ Top ]
DisplayValidateAccountFormFieldset  [line 725]

  void DisplayValidateAccountFormFieldset( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::DisplayValidateAccountFormFieldset()


Redefinition of:
Plugin::DisplayValidateAccountFormFieldset()
Event handler: Called at the end of the "Validate user account" form, which gets invoked if newusers_mustvalidate is enabled and the user has not been validated yet.

[ Top ]
ExecCronJob  [line 267]

  void ExecCronJob( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::ExecCronJob()


Redefinition of:
Plugin::ExecCronJob()
Execute/handle a cron job, which has been scheduled by the admin out of the list that the Plugin provides (see GetCronJobs()).

[ Top ]
FilterIpAddress  [line 629]

  void FilterIpAddress( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::FilterIpAddress()


Redefinition of:
Plugin::FilterIpAddress()
Event handler: Called when an IP address gets displayed, typically in a protected area or for a privileged user, e.g. in the backoffice statistics menu.

[ Top ]
GetCronJobs  [line 246]

  void GetCronJobs( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::GetCronJobs()


Redefinition of:
Plugin::GetCronJobs()
This method gets asked for a list of cronjobs that the plugin provides.

[ Top ]
GetDbLayout  [line 84]

  void GetDbLayout( )


API Tags:
See:  Plugin::GetDbLayout()


Redefinition of:
Plugin::GetDbLayout()
This method should return your DB schema, consisting of a list of CREATE TABLE queries.

[ Top ]
GetDefaultSettings  [line 104]

  void GetDefaultSettings( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::GetDefaultSettings()


Redefinition of:
Plugin::GetDefaultSettings()
Define default settings here.

[ Top ]
GetDefaultUserSettings  [line 213]

  void GetDefaultUserSettings( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::GetDefaultUserSettings()


Redefinition of:
Plugin::GetDefaultUserSettings()
Define here default user settings that are then available in the backoffice.

[ Top ]
GetDependencies  [line 295]

  void GetDependencies( )


API Tags:
See:  Plugin::GetDependencies()


Redefinition of:
Plugin::GetDependencies()
Get the list of dependencies that the plugin has.

[ Top ]
GetExtraEvents  [line 234]

  void GetExtraEvents( )


API Tags:
See:  Plugin::GetExtraEvents()


Redefinition of:
Plugin::GetExtraEvents()
This method gets asked when plugins get installed and allows you to return a list of extra events, which your plugin triggers itself (e.g. through $Plugins->trigger_event()).

[ Top ]
LoginAttempt  [line 686]

  void LoginAttempt( )


API Tags:
See:  Plugin::LoginAttempt()


Redefinition of:
Plugin::LoginAttempt()
Event handler: called when a user attemps to login.

[ Top ]
LoginAttemptNeedsRawPassword  [line 696]

  void LoginAttemptNeedsRawPassword( )


API Tags:
See:  Plugin::LoginAttemptNeedsRawPassword()


Redefinition of:
Plugin::LoginAttemptNeedsRawPassword()
Event handler: your Plugin should return true here, if it needs a raw (un-hashed) password for the Plugin::LoginAttempt() event. If any Plugin returns true for this event, client-side hashing of the password is not used.

[ Top ]
PluginInit  [line 67]

  void PluginInit( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::PluginInit()


Redefinition of:
Plugin::PluginInit()
Init the Plugin after it has been registered/instantiated.

[ Top ]
PluginUserSettingsUpdateAction  [line 314]

  void PluginUserSettingsUpdateAction( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::PluginUserSettingsUpdateAction()


Redefinition of:
Plugin::PluginUserSettingsUpdateAction()
Event handler: Called as action just before updating the Plugin::$UserSettings.

[ Top ]
RenderItemAsHtml  [line 574]

  void RenderItemAsHtml( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::RenderItemAsHtml()


Redefinition of:
Plugin::RenderItemAsHtml()
Event handler: Called when rendering item/post contents as HTML. (CACHED)

[ Top ]
RenderItemAsText  [line 593]

  void RenderItemAsText( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::RenderItemAsText()


Redefinition of:
Plugin::RenderItemAsText()
Event handler: Called when rendering item/post contents other than XML or HTML.

[ Top ]
RenderItemAsXml  [line 583]

  void RenderItemAsXml( &$params  )

Parameters:
   &$params: 

API Tags:
See:  Plugin::RenderItemAsXml()


Redefinition of:
Plugin::RenderItemAsXml()
Event handler: Called when rendering item/post contents as XML.

[ Top ]
TemplateBeginHtmlHead  [line 432]

  void TemplateBeginHtmlHead( )


API Tags:
See:  Plugin::TemplateBeginHtmlHead()


Redefinition of:
Plugin::TemplateBeginHtmlHead()
Event handler: Called at the beginning of the template's HTML HEAD section.

[ Top ]
test_plugin_get_random  [line 749]

  integer test_plugin_get_random( array &$params  )

Gets provided as plugin event (and gets also used internally for demonstration).

Parameters:
array   &$params:  Associative array of parameters 'min': mininum number 'max': maxinum number


[ Top ]