Files
Phraseanet/lib/Alchemy/Phrasea/SearchEngine/Elastic/Structure/Structure.php
Mathieu Darse 929705f13e Structure -> GlobalStructure + LimitedStructure
Rename Structure to GlobalStructure.
Add new LimitedStructure to wrap another Structure and transparently restrict
access on private fields.
2015-07-10 12:30:13 +02:00

28 lines
599 B
PHP

<?php
namespace Alchemy\Phrasea\SearchEngine\Elastic\Structure;
interface Structure
{
public function getAllFields();
public function getUnrestrictedFields();
public function getPrivateFields();
public function getFacetFields();
public function getThesaurusEnabledFields();
public function getDateFields();
/**
* @param string $name
* @return null|Field
*/
public function get($name);
public function typeOf($name);
/**
* @param $name
* @return bool
* @throws \DomainException
*/
public function isPrivate($name);
}