From ee1264d087e54d038430ed7655590deaa191aed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Fri, 30 Nov 2012 08:34:54 +0100 Subject: [PATCH] Add a new property. May be used later --- data.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data.php b/data.php index 6bdc6cf..6869636 100644 --- a/data.php +++ b/data.php @@ -69,6 +69,10 @@ class Data extends Base { return self::getLink ($this->book, $this->extension, $this->getMimeType (), $rel, $this->getFilename (), $this->id, $title); } + public function getLocalPath () { + return $this->book->path . "/" . $this->getFilename (); + } + public function getHtmlLink () { global $config;