summaryrefslogtreecommitdiff
path: root/framework/core.php
diff options
context:
space:
mode:
authorxue <>2005-12-03 04:42:14 +0000
committerxue <>2005-12-03 04:42:14 +0000
commit0d42be79b9dfeaa7686fb7da11920af4eb0561d7 (patch)
tree2ddbfeb4243ed5d87985158ee905ea521c430fca /framework/core.php
parentc488100ee3bf9d6c27a0a78e3174a6c698fabfa2 (diff)
Diffstat (limited to 'framework/core.php')
-rw-r--r--framework/core.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/framework/core.php b/framework/core.php
index 5c3d645c..84077a04 100644
--- a/framework/core.php
+++ b/framework/core.php
@@ -287,6 +287,30 @@ interface IUser
}
/**
+ * IPageStatePersister class.
+ *
+ * This interface must be implemented by all page state persister classes.
+ *
+ * @author Qiang Xue <qiang.xue@gmail.com>
+ * @version $Revision: $ $Date: $
+ * @package System
+ * @since 3.0
+ */
+interface IPageStatePersister
+{
+ /**
+ * Loads state from a persistent storage.
+ * @return mixed the state
+ */
+ public function load();
+ /**
+ * Saves state into a persistent storage.
+ * @param mixed the state to be saved
+ */
+ public function save($state);
+}
+
+/**
* PradoBase class.
*
* PradoBase implements a few fundamental static methods.