@@ -47,10 +47,9 @@ public function register(Doku_Event_Handler $controller) {
4747 * Do the HTML to PDF conversion work
4848 *
4949 * @param Doku_Event $event
50- * @param array $param
5150 * @return bool
5251 */
53- public function convert (Doku_Event $ event, $ param ) {
52+ public function convert (Doku_Event $ event ) {
5453 global $ ACT ;
5554 global $ ID ;
5655
@@ -426,6 +425,9 @@ protected function sendPDFFile($cachefile, $title) {
426425
427426 /**
428427 * Load the various template files and prepare the HTML/CSS for insertion
428+ *
429+ * @param string $title
430+ * @return array
429431 */
430432 protected function load_template ($ title ) {
431433 global $ ID ;
@@ -646,6 +648,10 @@ public function getExportedPages() {
646648
647649 /**
648650 * usort callback to sort by file lastmodified time
651+ *
652+ * @param array $a
653+ * @param array $b
654+ * @return int
649655 */
650656 public function _datesort ($ a , $ b ) {
651657 if ($ b ['rev ' ] < $ a ['rev ' ]) return -1 ;
@@ -655,6 +661,9 @@ public function _datesort($a, $b) {
655661
656662 /**
657663 * usort callback to sort by page id
664+ * @param array $a
665+ * @param array $b
666+ * @return int
658667 */
659668 public function _pagenamesort ($ a , $ b ) {
660669 if ($ a ['id ' ] <= $ b ['id ' ]) return -1 ;
@@ -763,9 +772,8 @@ public function getExportConfig($name, $notset = false) {
763772 * Add 'export pdf'-button to pagetools
764773 *
765774 * @param Doku_Event $event
766- * @param mixed $param not defined
767775 */
768- public function addbutton (Doku_Event $ event, $ param ) {
776+ public function addbutton (Doku_Event $ event ) {
769777 global $ ID , $ REV ;
770778
771779 if ($ this ->getConf ('showexportbutton ' ) && $ event ->data ['view ' ] == 'main ' ) {
0 commit comments