diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-08 22:16:04 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-08 22:16:04 -0400 |
commit | f0a30cc89ddf82e3c774800d24f0ea3664065d9c (patch) | |
tree | 13053422786e83ab57a55e63879e5ceb07d9ecfd /action.php | |
parent | 2df28057cdd5c54fb4f754f5c2222154efe2ad5b (diff) |
read-only stuff
darcs-hash:20080509021604-84dde-f785fc09dd435fc12741b3a75184e2425721d03d.gz
Diffstat (limited to 'action.php')
-rw-r--r-- | action.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/action.php b/action.php new file mode 100644 index 000000000..539077bc3 --- /dev/null +++ b/action.php @@ -0,0 +1,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); + } +} |