Add Calibre fields: Description, Language, Subjects, Isbn, CreationDate, ModificationDate
This commit is contained in:
parent
356a1e263b
commit
fce60d4079
6 changed files with 196 additions and 29 deletions
|
@ -322,6 +322,30 @@ class EPub {
|
|||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set or get the book's creation date
|
||||
*
|
||||
* @param string Date eg: 2012-05-19T12:54:25Z
|
||||
*/
|
||||
public function CreationDate($date = false)
|
||||
{
|
||||
$res = $this->getset('dc:date', $date, 'opf:event', 'creation');
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set or get the book's modification date
|
||||
*
|
||||
* @param string Date eg: 2012-05-19T12:54:25Z
|
||||
*/
|
||||
public function ModificationDate($date = false)
|
||||
{
|
||||
$res = $this->getset('dc:date', $date, 'opf:event', 'modification');
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set or get the book's URI
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue