HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/PvdBoogaard/indoorski.nl/backup/oude-site/cms/api/class.permission.php
<?php
/**
* This file contains the iwp_permission class
*
* @package IWP
* @subpackage Permissions
*/

IWP::GetLib('class.permission');

/**
* IWP Permission class
*
* This class contains an IWP specific extension of the base Permission class
*
* @package IWP
* @subpackage Permissions
*/
class iwp_permission extends Permission {

	protected $tableFields = array(
		"permid",
		"groupid",
		"scopetype",
		"itemcsv",
		"granularity",
		"catcsv",
		"flag",
		"scopename",
		"scopeitem",
	);

	public static $Instance;

	/**
	 * getInstance
	 * This is a static function that sets up the class instance and stores it to the static variable. It will then return that instantiation in the future.
	 *
	 * @return object Returns the instantiated object
	 */
	public static function getInstance () {
		if (!isset(self::$Instance)) {
			self::$Instance = new self();
		}
		return self::$Instance;
	}
}