1<?php 2namespace plugin\struct\types; 3 4use dokuwiki\Form\Form; 5 6/** 7 * Class Page 8 * 9 * Represents a single page in the wiki. Will be linked in output. 10 * 11 * @package plugin\struct\types 12 */ 13class Page extends AbstractBaseType { 14 15 // FIXME we will probably want to have some prefix/postfix configuration here later 16 protected $config = array( 17 ); 18 19 /** 20 * Output the stored data 21 * 22 * @param int|string $value 23 * @return string the HTML to represent this data 24 */ 25 public function getDisplayData($value) { 26 return html_wikilink(":$value"); 27 } 28 29} 30