Files
Phraseanet/lib/Alchemy/Phrasea/Model/RecordInterface.php
2016-03-07 12:30:51 +01:00

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);
}