Add a new property. May be used later

This commit is contained in:
Sébastien Lucas 2012-11-30 08:34:54 +01:00
parent 4510124184
commit ee1264d087

View file

@ -69,6 +69,10 @@ class Data extends Base {
return self::getLink ($this->book, $this->extension, $this->getMimeType (), $rel, $this->getFilename (), $this->id, $title); 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 () { public function getHtmlLink () {
global $config; global $config;