gnu-social/action.php
Evan Prodromou 0036795582 deny access to include files
darcs-hash:20080514190009-84dde-30f0f1b5955d71cd85563e12078ab02bf8645524.gz
2008-05-14 15:00:09 -04:00

24 lines
307 B
PHP

<?php
if (!defined('MICROBLOG')) { exit(1) }
class Action { // lawsuit
var $args;
function Action() {
}
function arg($key) {
if (array_has_key($this->args, $key)) {
return $this->args[$key];
} else {
return NULL;
}
}
function handle($args) {
$this->args = copy($argarray);
}
}