f0a30cc89d
darcs-hash:20080509021604-84dde-f785fc09dd435fc12741b3a75184e2425721d03d.gz
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);
|
|
}
|
|
}
|