Package: Record
A file and its metadata.
Get a property or special value of this record.
Parameters: |
|
---|---|
Returns: | mixed |
Initialize mixins.
Unset immutable properties from $_POST.
Parameters: |
|
---|---|
Returns: | array |
Do something before saving this record.
Parameters: |
|
---|
Do something after saving this record.
Parameters: |
|
---|
Retrieve the parent item of this record.
Returns: | Item |
---|
Retrieve a system path for this file.
Parameters: |
|
---|---|
Returns: | string |
Retrieve a web path for this file.
Parameters: |
|
---|---|
Returns: | string |
Retrieve the derivative filename.
Returns: | string |
---|
Determine whether this record has a thumbnail image.
Returns: | bool |
---|
Determine whether this record has a fullsize image.
Returns: | bool |
---|
Get the original file’s extension.
Returns: | string |
---|
Set the default values that will be stored for this record in the ‘files’ table.
Parameters: |
|
---|---|
Returns: | void |
Unlink the file and file derivatives belonging to this record.
Perform any further deletion when deleting this record.
Create derivatives of the original file.
Extract ID3 metadata associated with the file.
Returns: | boolean |
---|
Pull down the file’s extra metadata via getID3 library.
Returns: | getID3 |
---|
Store files belonging to this record.
Get the storage path.
Parameters: |
|
---|---|
Returns: | string |
Set the storage object.
Parameters: |
|
---|
Get the storage object.
Returns: | Omeka_Storage |
---|
Get the ACL resource ID for the record.
File records are ‘Files’ resources.
Returns: | string |
---|