diff options
author | alecpl <alec@alec.pl> | 2010-10-29 08:42:28 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-10-29 08:42:28 +0000 |
commit | 2cd443315dbd0b3d7fdec78f0042f22d20e57ede (patch) | |
tree | 0e81b5b095dae063eccf99c9bb49359963a00296 /program/include/rcube_plugin.php | |
parent | f0638be52a0bdb313e608447763eb4481770c4b2 (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
Diffstat (limited to 'program/include/rcube_plugin.php')
-rw-r--r-- | program/include/rcube_plugin.php | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/program/include/rcube_plugin.php b/program/include/rcube_plugin.php index b356c2239..8ac874597 100644 --- a/program/include/rcube_plugin.php +++ b/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. * |