Update HTML links to the new methods
This commit is contained in:
父節點
4473037ae8
當前提交
2d83cd6e78
共有 4 個文件被更改,包括 19 次插入 和 4 次删除
11
book.php
11
book.php
|
|
@ -154,6 +154,17 @@ class Book extends Base {
|
|||
}
|
||||
}
|
||||
|
||||
public function getDataFormat ($format) {
|
||||
foreach ($this->getDatas () as $data)
|
||||
{
|
||||
if ($data->format == $format)
|
||||
{
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
public function getFilePath ($extension, $idData = NULL, $relative = false)
|
||||
{
|
||||
$file = NULL;
|
||||
|
|
|
|||
載入中…
Add table
Add a link
Reference in a new issue