Resource

A resource, representing the subject in an RDF triple. Note that the discriminator map is loaded dynamically.
extends Omeka\Entity\AbstractEntity

Known subclasses

Omeka\Entity\Item, Omeka\Entity\ItemSet, Omeka\Entity\Media
Abstract



Open source code
Methods Summary
public
abstract public
# getResourceName( )
Get the resource name of the corresponding entity API adapter. This can be used when the entity is known but the corresponding adapter is not. Primarily used when extracting children of this class (Item, Media, ItemSet, etc.) to an array when the adapter is unknown.
public
# getId( )
public
# setOwner( Omeka\Entity\User $owner = NULL )
public
# getOwner( )
public
# setResourceClass( Omeka\Entity\ResourceClass $resourceClass = NULL )
public
public
public
public
# setIsPublic( $isPublic )
public
# isPublic( )
public
# setCreated( DateTime $dateTime )
public
public
# setModified( DateTime $dateTime )
public
public
Methods inherited from Omeka\Entity\AbstractEntity
getResourceId()
Properties Summary
protected $id



# NULL
protected $owner



# NULL
protected $resourceClass



# NULL
protected $resourceTemplate



# NULL
protected $isPublic



# true
protected $created



# NULL
protected $modified



# NULL
protected $values



# NULL