@@ -222,7 +222,7 @@ function footnote_close() {
222222 /**
223223 * Open an unordered list
224224 */
225- function listu_open () {
225+ function listu_open ($ classes = null ) {
226226 }
227227
228228 /**
@@ -234,7 +234,7 @@ function listu_close() {
234234 /**
235235 * Open an ordered list
236236 */
237- function listo_open () {
237+ function listo_open ($ classes = null ) {
238238 }
239239
240240 /**
@@ -292,7 +292,7 @@ function unformatted($text) {
292292 *
293293 * @param string $text The PHP code
294294 */
295- function php ($ text ) {
295+ function php ($ text, $ wrapper = ' code ' ) {
296296 }
297297
298298 /**
@@ -313,7 +313,7 @@ function phpblock($text) {
313313 *
314314 * @param string $text The HTML
315315 */
316- function html ($ text ) {
316+ function html ($ text, $ wrapper = ' code ' ) {
317317 }
318318
319319 /**
@@ -411,7 +411,7 @@ function entity($entity) {
411411 * @param string|int $x first value
412412 * @param string|int $y second value
413413 */
414- function multiplyentity () {
414+ function multiplyentity ($ x , $ y ) {
415415 $ this ->doc .= "$ x×$ y " ;
416416 }
417417
@@ -455,7 +455,7 @@ function doublequoteclosing() {
455455 * @param string $link The link name
456456 * @see http://en.wikipedia.org/wiki/CamelCase
457457 */
458- function camelcaselink ($ link ) {
458+ function camelcaselink ($ link, $ returnonly = false ) {
459459 $ this ->doc .= '[[ ' . $ link . ']] ' ;
460460 }
461461
@@ -465,7 +465,7 @@ function camelcaselink($link) {
465465 * @param string $hash hash link identifier
466466 * @param string $name name for the link
467467 */
468- function locallink ($ hash , $ name = null ) {
468+ function locallink ($ hash , $ name = null , $ returnonly = false ) {
469469 $ this ->doc .= '[[ ' . $ name . ']] ' ;
470470 }
471471
@@ -475,7 +475,7 @@ function locallink($hash, $name = null) {
475475 * @param string $link page ID to link to. eg. 'wiki:syntax'
476476 * @param string|array $title name for the link, array for media file
477477 */
478- function internallink ($ link , $ title = null ) {
478+ function internallink ($ id , $ name = null , $ search = null , $ returnonly = false , $ linktype = ' content ' ) {
479479 $ this ->doc .= '[[ ' . $ link . '| ' . $ title . ']] ' ;
480480 }
481481
@@ -485,7 +485,7 @@ function internallink($link, $title = null) {
485485 * @param string $link full URL with scheme
486486 * @param string|array $title name for the link, array for media file
487487 */
488- function externallink ($ link , $ title = null ) {
488+ function externallink ($ link , $ title = null , $ returnonly = false ) {
489489 $ this ->doc .= '[[ ' . $ link . '| ' . $ title . ']] ' ;
490490 }
491491
@@ -509,7 +509,7 @@ function rss($url, $params) {
509509 * @param string $wikiName indentifier (shortcut) for the remote wiki
510510 * @param string $wikiUri the fragment parsed from the original link
511511 */
512- function interwikilink ($ link , $ title = null , $ wikiName , $ wikiUri ) {
512+ function interwikilink ($ match , $ name , $ wikiName , $ wikiUri, $ returnonly = false ) {
513513 }
514514
515515 /**
@@ -527,7 +527,7 @@ function filelink($link, $title = null) {
527527 * @param string $link the link
528528 * @param string|array $title name for the link, array for media file
529529 */
530- function windowssharelink ($ link , $ title = null ) {
530+ function windowssharelink ($ link , $ title = null , $ returnonly = false ) {
531531 }
532532
533533 /**
@@ -538,7 +538,7 @@ function windowssharelink($link, $title = null) {
538538 * @param string $address Email-Address
539539 * @param string|array $name name for the link, array for media file
540540 */
541- function emaillink ($ address , $ name = null ) {
541+ function emaillink ($ address , $ name = null , $ returnonly = false ) {
542542 }
543543
544544 /**
@@ -553,7 +553,7 @@ function emaillink($address, $name = null) {
553553 * @param string $linking linkonly|detail|nolink
554554 */
555555 function internalmedia ($ src , $ title = null , $ align = null , $ width = null ,
556- $ height = null , $ cache = null , $ linking = null ) {
556+ $ height = null , $ cache = null , $ linking = null , $ return = false ) {
557557 }
558558
559559 /**
@@ -568,7 +568,7 @@ function internalmedia($src, $title = null, $align = null, $width = null,
568568 * @param string $linking linkonly|detail|nolink
569569 */
570570 function externalmedia ($ src , $ title = null , $ align = null , $ width = null ,
571- $ height = null , $ cache = null , $ linking = null ) {
571+ $ height = null , $ cache = null , $ linking = null , $ return = false ) {
572572 }
573573
574574 /**
@@ -606,7 +606,7 @@ function externalmedialink($src, $title = null, $align = null,
606606 * @param int $numrows NOT IMPLEMENTED
607607 * @param int $pos byte position in the original source
608608 */
609- function table_open ($ maxcols = null , $ numrows = null , $ pos = null ) {
609+ function table_open ($ maxcols = null , $ numrows = null , $ pos = null , $ classes = null ) {
610610 }
611611
612612 /**
@@ -646,7 +646,7 @@ function tabletbody_close() {
646646 /**
647647 * Open a table row
648648 */
649- function tablerow_open () {
649+ function tablerow_open ($ classes = null ) {
650650 $ this ->doc .= DOKU_LF ;
651651 }
652652
@@ -663,7 +663,7 @@ function tablerow_close() {
663663 * @param string $align left|center|right
664664 * @param int $rowspan
665665 */
666- function tableheader_open ($ colspan = 1 , $ align = null , $ rowspan = 1 ) {
666+ function tableheader_open ($ colspan = 1 , $ align = null , $ rowspan = 1 , $ classes = null ) {
667667 $ this ->doc .= str_repeat ( '^ ' , $ colspan );
668668 }
669669
@@ -680,7 +680,7 @@ function tableheader_close() {
680680 * @param string $align left|center|right
681681 * @param int $rowspan
682682 */
683- function tablecell_open ($ colspan = 1 , $ align = null , $ rowspan = 1 ) {
683+ function tablecell_open ($ colspan = 1 , $ align = null , $ rowspan = 1 , $ classes = null ) {
684684
685685 if ( $ this ->doc [strlen ($ this ->doc )-1 ] == '| ' ) {
686686 $ colspan --;
0 commit comments