summaryrefslogtreecommitdiff
path: root/framework/core.php
diff options
context:
space:
mode:
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.