From 13da9b8593942e8c20467aabaae5a18827c038b6 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 28 May 2014 21:39:40 +0200 Subject: [PATCH] Add missing IContentCondition file --- .../condition/IContentCondition.class.php | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 wcfsetup/install/files/lib/system/condition/IContentCondition.class.php diff --git a/wcfsetup/install/files/lib/system/condition/IContentCondition.class.php b/wcfsetup/install/files/lib/system/condition/IContentCondition.class.php new file mode 100644 index 0000000000..ce980bca16 --- /dev/null +++ b/wcfsetup/install/files/lib/system/condition/IContentCondition.class.php @@ -0,0 +1,26 @@ + + * @package com.woltlab.wcf + * @subpackage system.condition + * @category Community Framework + */ +interface IContentCondition extends ICondition { + /** + * Returns true if content with the given condition will be shown. + * + * All necessary data to check the condition needs to be globally available + * like the active user object via WCF::getUser(). + * + * @param \wcf\data\condition\Condition $condition + * @return boolean + */ + public function showContent(Condition $condition); +} -- 2.20.1