Update HTML links to the new methods

This commit is contained in:
Sébastien Lucas 2012-06-26 14:45:09 +02:00
parent 4473037ae8
commit 2d83cd6e78
4 changed files with 19 additions and 4 deletions

View file

@ -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;