| Commit message (Collapse) | Author | Age |
|\
| |
| | |
Plugins can send usage data
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
They just need to register to the PLUGIN_USAGE_DATA event, and then to add
either a simple string, or an array of key / value. For example:
function register(Doku_Event_Handler $controller) {
$controller->register_hook('PLUGIN_USAGE_DATA', 'AFTER', $this, 'usage_data');
}
function usage_data(&$event){
$event->data['my_plugin_name'] = 'my usage data';
//or: $event->data['my_plugin_name'] = array ('k1' => 'v1', 'k2' => 'v2');
}
|
|/
|
|
|
|
|
| |
- replace PHP4 style class constructor function names (based on
class name) with php 5 __construct()
Also remove some '&' reference operators used with objects
And add some object type hints
|
|
|
|
|
|
|
| |
In an older version of PHP a file_exists() call would issue a warning
when the file did not exist. This was fixed in later PHP releases. Since
we require PHP 5.3 now, there's no need to supress any error here
anymore. This might even give a minor performance boost.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The POST data contained the raw data instead of an array with the data
that should be submitted like in the requests from the browser. The
server backend has been fixed to be able to process both versions.
|
|
|
|
|
|
| |
- removed some dead/unused code
- fixed phpdoc
- added typing on methods
|
| |
|
|
|
|
|
| |
Added information about the autosubmitting feature of the popularity
plugin itself.
|
| |
|
| |
|
|
|