/** * Main cnRole Instance. * * Insures that only one instance of cnRole exists at any one time. * * @access public * @since 0.7.5 * @return object cnRole */ public static function getInstance() { if (!isset(self::$instance)) { /* * Initiate an instance of the class. */ self::$instance = new self(); } return self::$instance; }