From: Matthias Schmidt Date: Wed, 28 May 2014 19:39:40 +0000 (+0200) Subject: Add missing IContentCondition file X-Git-Tag: 2.1.0_Alpha_1~786^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=13da9b8593942e8c20467aabaae5a18827c038b6;p=GitHub%2FWoltLab%2FWCF.git Add missing IContentCondition file --- 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); +}