mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
58 lines
1.2 KiB
PHP
58 lines
1.2 KiB
PHP
<?php
|
|
|
|
namespace Alchemy\Phrasea\Model;
|
|
|
|
interface RecordInterface extends RecordReferenceInterface
|
|
{
|
|
/**
|
|
* The unique id of the collection where belong the record.
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getBaseId();
|
|
|
|
/**
|
|
* The id of the collection where belong the record.
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getCollectionId();
|
|
|
|
/** @return \DateTime */
|
|
public function getCreated();
|
|
|
|
/** @return boolean */
|
|
public function isStory();
|
|
|
|
/** @return string */
|
|
public function getMimeType();
|
|
|
|
/** @return string */
|
|
public function getOriginalName();
|
|
|
|
/** @return string */
|
|
public function getSha256();
|
|
|
|
/** @return string */
|
|
public function getType();
|
|
|
|
/** @return \DateTime */
|
|
public function getUpdated();
|
|
|
|
/** @return string */
|
|
public function getUuid();
|
|
|
|
/** @return integer */
|
|
public function getStatusBitField();
|
|
|
|
/** @return array */
|
|
public function getExif();
|
|
|
|
/**
|
|
* Get Caption with requested fields if exists.
|
|
* @param array $fields Returns only public fields when null
|
|
* @return array
|
|
*/
|
|
public function getCaption(array $fields = null);
|
|
}
|