Files
Phraseanet/lib/Alchemy/Phrasea/Search/RecordView.php
jygaulier 9fd6c50377 PHRAS-3582
WIP
fix missing data on apiv3 stories (not implemented includes)
todo : check apiv1 "metadataS" (aka dublin core) output.
2021-12-01 20:35:27 +01:00

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