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