\ReaderWriterBase
Base class that manages the identifier stuff for readers and writers
- Author: <marcus@symbiote.com.au>
- License: BSD License http://www.silverstripe.org/bsd-license
Synopsis
class ReaderWriterBase
{
- // members
- protected sets $sourceIdentifier;
- protected $id;
- // methods
- public void __construct()
- public void setSourceIdentifier()
- public void getSourceIdentifier()
- public mixed getId()
- public void setId()
- public void getContentId()
- public ContentReader providerOfUrl()
Members
protected
- $id
—
string
The actual unique id that represents this content - $sourceIdentifier — sets
Methods
public
- __construct()
- getContentId() — Get content identifier that can be used to retrieve this content at a later point in timer
- getId() — Gets the underlying id if this item
- getSourceIdentifier() — A signature for this content store. For example, filesystem might return
- providerOfUrl() — Could this reader/writer be the source for the passed in URL?
- setId() — Allow external code to focerfully change where we're accessing this content from
- setSourceIdentifier()