\Book
This class represents a virtual library item, means information about item that may not exist yet or used to be exist in the library, regardless the publisher, the publish year or the number of pages and volumes.
The BookCopy represent an exisit copy of this item and the BookVolume class represents the phisical item.
- Book:
* Name: Hamlet
* Author: William Shakespeare
* Authoring Year: 1605
* Language: English
- Copies:
- 1
* ISBN: 978-0812036381
* Publish Year: 1986
* Edition: 86
* Publisher: Barron's Educational Series
* Format: Paperback
- 2
* ISBN: 978-1932219081
* Publish Year: 2005
* Edition: Unabridged edition
* Publisher: BBC Audiobooks America
* Format: CD
- 3
* ISBN: 978-1420922530
* Publish Year: 2005
* Edition: 05
* Publisher: Digireads.com
* Format: Paperback
- 4
* ISBN: 978-0671726546
* Publish Year: 1958
* Edition: 58
* Publisher: Washington Square Press
* Format: Paperback
- Author: Hudhaifa Shatnawi <hudhaifa.shatnawi@gmail.com>
Synopsis
class Book
extends DataObject
implements
ManageableDataObject,SearchableDataObject,SociableDataObject
{
- // members
- private static array $db = ;
- private static array $translate = ;
- private static array $has_one = ;
- private static array $has_many = ;
- private static array $many_many = ;
- private static array $searchable_fields = ;
- private static array $summary_fields = ;
- // methods
- public void fieldLabels()
- public void getCMSFields()
- protected void onBeforeWrite()
- protected void onBeforeDelete()
- public void canView()
- public void getTitle()
- public void Link()
- public void AbsoluteLink()
- public void getDefaultSearchContext()
- public void getObjectTitle()
- public void getObjectDefaultImage()
- public void getObjectEditableImageName()
- public void getObjectImage()
- public void getObjectEditLink()
- public void getObjectItem()
- public void getObjectLink()
- public void getObjectNav()
- public void getObjectRelated()
- public void getObjectSummary()
- public void getObjectTabs()
- public void canPublicView()
- public void getObjectRichSnippets()
- public void getSocialDescription()
- public void getRelated()
- public void getRandomCopies()
- public void getRandomCategories()
- public void getAuthor()
- public void getAvailable()
- public void ThumbCover()
- public void reorderField()
- public void removeField()
- public void trim()
Hierarchy
Extends
- DataObject
Implements
- ManageableDataObject
- SearchableDataObject
- SociableDataObject
Tasks
Line | Task |
---|---|
192 | generate default Index number |
Members
private
- $db
- $has_many
- $has_one
- $many_many
- $searchable_fields
- $summary_fields
- $translate
Methods
protected
public
- AbsoluteLink() — Show this DataObejct in the sitemap.xml
- Link()
- ThumbCover()
- canPublicView()
- canView()
- fieldLabels()
- getAuthor()
- getAvailable()
- getCMSFields()
- getDefaultSearchContext()
- getObjectDefaultImage()
- getObjectEditLink()
- getObjectEditableImageName()
- getObjectImage()
- getObjectItem()
- getObjectLink()
- getObjectRelated()
- getObjectRichSnippets()
- getObjectSummary()
- getObjectTabs()
- getObjectTitle()
- getRandomCategories()
- getRandomCopies()
- getRelated()
- getSocialDescription()
- getTitle()
- removeField()
- reorderField()
- trim()