summaryrefslogtreecommitdiff
path: root/action.php
blob: 539077bc3fece06d0d861f3b5047022e3113ebec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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);
	}
}