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

Contents of /bareface/yakka/library/YakkaObject.php

Parent Directory Parent Directory | Revision Log Revision Log


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

1 <?php
2 /*
3
4 YakkaObject
5
6 Is the base-class of all objects of Yakka able to be identified and serialized to XML.
7
8 TODO:DESCRIPTION
9 */
10
11 class YakkaObject {
12 var $id;
13
14 function YakkaObject($id) {
15 $this->id = $id;
16 }
17
18 function getId() {
19 return $this->id;
20 }
21
22 function getType() {
23 return get_class($this);
24 }
25
26 function is($className) {
27 return strtolower($className) == get_class($this);
28 }
29 }
30
31 ?>

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