Files
Phraseanet/lib/Alchemy/Phrasea/Search/RecordView.php
Benoît Burnichon 24143759a7 WIP
2016-05-19 13:44:01 +02:00

54 lines
970 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
*/
private $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;
}
}