diff --git a/classes.php b/classes.php
index dbd1aea..047f8be 100644
--- a/classes.php
+++ b/classes.php
@@ -124,6 +124,20 @@ class ActionUrlencode extends AbstractAction
}
}
+class ActionSerialize extends AbstractAction
+{
+ public function setUp()
+ {
+ $this->setContainer( new TextareaContainer );
+ $this->setFormatter( new EchoFormatter );
+ }
+
+ public function decode()
+ {
+ return serialize( $this->value );
+ }
+}
+
class ActionUnserialize extends AbstractAction
{
public function setUp()
diff --git a/index.php b/index.php
index b15c4db..a53dd93 100644
--- a/index.php
+++ b/index.php
@@ -38,6 +38,7 @@ if( 'POST' === $_SERVER['REQUEST_METHOD'] ) {
+