Extension:SecureProperties

<?php /*

Purpose
Enables getting/setting global object properties securily (operations are only allowed on protected pages).

Usage

 * Property 'get':
 * Property 'set':
 * Method call:
 * Global variable 'get':
 * Global variable 'set':

Examples
Current user name:

Current user id:

Features

 * Security: the 'magic words' of the extension can only be used on protected pages
 * Namespace exemption: configured namespaces are exempted from the 'protection' requirement

Dependancy

 * StubManager extension

Installation
To install independantly from BizzWiki:
 * Download & Install Extension:StubManager extension
 * Dowload all this extension's files and place in the desired directory
 * Apply the following changes to 'LocalSettings.php' after the statements of Extension:StubManager:

History

 * added '#gg' and '#gs' magic words
 * Removed dependency on ExtensionClass

Todo

 * Fix for 'exempt' namespaces option even considering StubManager