Add a new property. May be used later
This commit is contained in:
parent
4510124184
commit
ee1264d087
4
data.php
4
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);
|
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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue