[pLog-svn] r5680 - plog/branches/lifetype-1.3-ajax/class/dao
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Thu Jul 19 00:18:21 EDT 2007
Author: oscar
Date: 2007-07-19 00:18:21 -0400 (Thu, 19 Jul 2007)
New Revision: 5680
Modified:
plog/branches/lifetype-1.3-ajax/class/dao/mylink.class.php
Log:
Added some extra data to the serialization of MyLink objects to json (for Ajax purposes)
Modified: plog/branches/lifetype-1.3-ajax/class/dao/mylink.class.php
===================================================================
--- plog/branches/lifetype-1.3-ajax/class/dao/mylink.class.php 2007-07-18 21:58:25 UTC (rev 5679)
+++ plog/branches/lifetype-1.3-ajax/class/dao/mylink.class.php 2007-07-19 04:18:21 UTC (rev 5680)
@@ -210,5 +210,13 @@
{
$this->_rssFeed = $rssFeed;
}
+
+ function toJson()
+ {
+ $data = parent::toJson();
+ $data["linkcategory"] = $this->getMyLinkCategory();
+
+ return( $data );
+ }
}
?>
More information about the pLog-svn
mailing list