From 35c9ff85a32a231d6c47d74bcc3c3581a4797319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Badet=20Aur=C3=A9lien?= Date: Sat, 19 Nov 2016 00:02:37 +0100 Subject: [PATCH] add const FORMATS = array() Add a constant FORMATS as a list of compatibles formats. If the list is set null, all formats are compatibles. --- lib/BridgeAbstract.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/BridgeAbstract.php b/lib/BridgeAbstract.php index 9629ee3d..cf8b962a 100644 --- a/lib/BridgeAbstract.php +++ b/lib/BridgeAbstract.php @@ -8,6 +8,7 @@ abstract class BridgeAbstract implements BridgeInterface { const MAINTAINER = 'No maintainer'; const CACHE_TIMEOUT = 3600; const PARAMETERS = array(); + const FORMATS = array(); // array of compatibles formats or null protected $cache; protected $items = array();