mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 13:03:20 +00:00

WIP fix missing data on apiv3 stories (not implemented includes) todo : check apiv1 "metadataS" (aka dublin core) output.
54 lines
972 B
PHP
54 lines
972 B
PHP
<?php
|
|
/*
|
|
* This file is part of Phraseanet
|
|
*
|
|
* (c) 2005-2016 Alchemy
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Alchemy\Phrasea\Search;
|
|
|
|
class RecordView
|
|
{
|
|
use SubdefsAware;
|
|
use CaptionAware;
|
|
|
|
/**
|
|
* @var \record_adapter
|
|
*/
|
|
protected $record;
|
|
|
|
/**
|
|
* @var TechnicalDataView
|
|
*/
|
|
private $technicalDataView;
|
|
|
|
public function __construct(\record_adapter $record)
|
|
{
|
|
$this->record = $record;
|
|
}
|
|
|
|
/**
|
|
* @return \record_adapter
|
|
*/
|
|
public function getRecord()
|
|
{
|
|
return $this->record;
|
|
}
|
|
|
|
public function setTechnicalDataView(TechnicalDataView $technicalDataView)
|
|
{
|
|
$this->technicalDataView = $technicalDataView;
|
|
}
|
|
|
|
/**
|
|
* @return TechnicalDataView
|
|
*/
|
|
public function getTechnicalDataView()
|
|
{
|
|
return $this->technicalDataView;
|
|
}
|
|
}
|