Add Calibre fields: Description, Language, Subjects, Isbn, CreationDate, ModificationDate

This commit is contained in:
Marsender 2013-10-10 01:16:43 +01:00
parent 356a1e263b
commit fce60d4079
6 changed files with 196 additions and 29 deletions

View file

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