22 lines
267 B
PHP
22 lines
267 B
PHP
|
<?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);
|
||
|
}
|
||
|
}
|