Version 4.1.19

This commit is contained in:
Neo committed 2025-12-19 05:38:56 -08:00
1 parent 28bd025b35
commit 2bd5025018
2674 files changed
+233518 -77766

No files matched your search

+26 -2
View File
@@ -2,9 +2,9 @@
/**
* @brief Hidebale Interface for Content Models/Comments
* @author <a href='http://www.invisionpower.com'>Invision Power Services, Inc.</a>
* @copyright (c) 2001 - SVN_YYYY Invision Power Services, Inc.
* @copyright (c) 2001 - 2016 Invision Power Services, Inc.
* @license http://www.invisionpower.com/legal/standards/
* @package IPS Social Suite
* @package IPS Community Suite
* @since 6 Nov 2013
* @version SVN_VERSION_NUMBER
*/
@@ -25,4 +25,28 @@ if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
*/
interface Hideable
{
/**
* @brief Filter: Determine if the member is a moderator with permission to view hidden content (default)
*/
const FILTER_AUTOMATIC = NULL;
/**
* @brief Filter: Show hidden content regardless of permissions (use very cautiously)
*/
const FILTER_SHOW_HIDDEN = TRUE;
/**
* @brief Filter: Only return unapproved content that the current viewing user submitted
*/
const FILTER_OWN_HIDDEN = FALSE;
/**
* @brief Filter: Only return hidden content (used primarily for widgets when you select 'hidden', respects permission to view hidden content)
*/
const FILTER_ONLY_HIDDEN = 0;
/**
* @brief Filter: Only return public content (approved and not hidden, useful when things may get cached)
*/
const FILTER_PUBLIC_ONLY = -1;
}