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;
}
}