mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Remove some arguments from query and add them to options
This commit is contained in:
@@ -114,6 +114,16 @@ class databox_descriptionStructure implements IteratorAggregate, Countable
|
||||
: null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return databox_field[]
|
||||
*/
|
||||
public function getDcesFields()
|
||||
{
|
||||
return array_filter($this->elements, function (databox_field $field) {
|
||||
return null !== $field->get_dces_element();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $label
|
||||
* @return databox_field|null
|
||||
|
Reference in New Issue
Block a user