gnu-social/action.php

22 lines
267 B
PHP
Raw Normal View History

<?php
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);
}
}