summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_plugin.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-10-29 08:42:28 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-10-29 08:42:28 +0000
commit14666961f7ea8511dbd1a67d791359c9b78cb6b3 (patch)
tree8849909b6dd2824dcc57dc80453b5f4ed8303eb9 /roundcubemail/program/include/rcube_plugin.php
parent983ddf4b2b1e927386fa5a4551677942adfd9ac0 (diff)
- Plugin API: add possibility to disable plugin in AJAX mode, 'noajax' property
- Plugin API: add possibility to disable plugin in framed mode, 'noframe' property git-svn-id: https://svn.roundcube.net/trunk@4154 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_plugin.php')
-rw-r--r--roundcubemail/program/include/rcube_plugin.php29
1 files changed, 28 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_plugin.php b/roundcubemail/program/include/rcube_plugin.php
index b356c2239..8ac874597 100644
--- a/roundcubemail/program/include/rcube_plugin.php
+++ b/roundcubemail/program/include/rcube_plugin.php
@@ -26,19 +26,46 @@
*/
abstract class rcube_plugin
{
+ /**
+ * Class name of the plugin instance
+ *
+ * @var string
+ */
public $ID;
/**
- * Holds an istance of Plugin API
+ * Instance of Plugin API
*
* @var rcube_plugin_api
*/
public $api;
+
+ /**
+ * Regular expression defining task(s) to bind with
+ *
+ * @var string
+ */
public $task;
+
+ /**
+ * Disables plugin in AJAX requests
+ *
+ * @var boolean
+ */
+ public $noajax = false;
+
+ /**
+ * Disables plugin in framed mode
+ *
+ * @var boolean
+ */
+ public $noframe = false;
+
protected $home;
protected $urlbase;
private $mytask;
+
/**
* Default constructor.
*