/[cvs]/bareface/yakka/library/YakkaSerializableObject.php
ViewVC logotype

Annotation of /bareface/yakka/library/YakkaSerializableObject.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Sun Jan 5 00:22:25 2003 UTC (21 years, 10 months ago) by bareface
Branch: MAIN
CVS Tags: HEAD
init;

1 bareface 1.1 <?php
2    
3     require_once("YakkaObject.php");
4    
5     class YakkaSerializableObject extends YakkaObject {
6     function YakkaSerializableObject($id) {
7     $this->YakkaObject($id);
8     }
9    
10     function toString() {
11     return serialize($this);
12     }
13    
14     function fromString($string) {
15     $this = unserialize($string);
16     }
17    
18     function toXmlString() {
19     //abstract
20     }
21    
22     function fromXmlString($string) {
23     //abstract
24     }
25     }
26    
27     ?>

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed