forked from GNUsocial/gnu-social
0036795582
darcs-hash:20080514190009-84dde-30f0f1b5955d71cd85563e12078ab02bf8645524.gz
24 lines
307 B
PHP
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);
|
|
}
|
|
}
|