/** * Return file link to the element. * * @return string */ public function getFileLink() { $fullName = $this->getFullName(); $fileName = Tools::getMdFileName($fullName); return sprintf('[%s](%s)', $fullName, $fileName); }