[pLog-svn] r4221 - in plugins/branches/lifetype-1.1/plogpoll: . class/dao

Jon Daley plogworld at jon.limedaley.com
Wed Nov 1 12:48:21 GMT 2006


 	Ah - he released a 0.1.1 version a long time ago, but it runs on 
1.0.


On Wed, 1 Nov 2006, Jon Daley wrote:

> 	I guess that means they aren't.  I just copied it off the wiki.  I 
> wondered about the Object part - I haven't followed the datadictionary stuff. 
> I will ask on the forums.
>
> On Wed, 1 Nov 2006, Oscar Renalias wrote:
>> Are these changes correct? NewDataDictionary() doesn't exist anymore,
>> and classes should not extend Object anymore either...
>> 
>> 
>> 
>> On 10/31/06, jondaley at devel.lifetype.net <jondaley at devel.lifetype.net> 
>> wrote:
>>> Author: jondaley
>>> Date: 2006-10-31 21:58:32 +0000 (Tue, 31 Oct 2006)
>>> New Revision: 4221
>>> 
>>> Modified:
>>>    plugins/branches/lifetype-1.1/plogpoll/class/dao/plogpollpoll.class.php
>>>    plugins/branches/lifetype-1.1/plogpoll/class/dao/plogpollpolls.class.php
>>>    plugins/branches/lifetype-1.1/plogpoll/pluginplogpoll.class.php
>>> Log:
>>> updates from author/wiki
>>> 
>>> Modified: 
>>> plugins/branches/lifetype-1.1/plogpoll/class/dao/plogpollpoll.class.php
>>> ===================================================================
>>> --- 
>>> plugins/branches/lifetype-1.1/plogpoll/class/dao/plogpollpoll.class.php 
>>> 2006-10-31 21:56:16 UTC (rev 4220)
>>> +++ 
>>> plugins/branches/lifetype-1.1/plogpoll/class/dao/plogpollpoll.class.php 
>>> 2006-10-31 21:58:32 UTC (rev 4221)
>>> @@ -12,7 +12,7 @@
>>>
>>>  include_once(PLOG_CLASS_PATH."class/object/object.class.php");
>>> 
>>> -class PlogPollPoll
>>> +class PlogPollPoll extends Object
>>>  {
>>>    var $_id;
>>>    var $_subject;
>>> @@ -25,7 +25,7 @@
>>>    function PlogPollPoll(
>>>        $id,$subject,$responses,$responsedata,$dateadded,$active,$blogid)
>>>    {
>>> -
>>> +    $this->Object();
>>>      $this->_subject = $subject;
>>>      $this->_responses = $responses;
>>>      $this->_responsedata = $responsedata;
>>> 
>>> Modified: 
>>> plugins/branches/lifetype-1.1/plogpoll/class/dao/plogpollpolls.class.php
>>> ===================================================================
>>> --- 
>>> plugins/branches/lifetype-1.1/plogpoll/class/dao/plogpollpolls.class.php 
>>> 2006-10-31 21:56:16 UTC (rev 4220)
>>> +++ 
>>> plugins/branches/lifetype-1.1/plogpoll/class/dao/plogpollpolls.class.php 
>>> 2006-10-31 21:58:32 UTC (rev 4221)
>>> @@ -111,7 +111,7 @@
>>>          "'". Db::qstr(time()). "')";
>>>        $this->Execute($q);
>>> 
>>> -      return $this->updatePoll($poll);
>>> +      return $this->updatePoll(&$poll);
>>>      }
>>>      else
>>>      {
>>> 
>>> Modified: plugins/branches/lifetype-1.1/plogpoll/pluginplogpoll.class.php
>>> ===================================================================
>>> --- plugins/branches/lifetype-1.1/plogpoll/pluginplogpoll.class.php 
>>> 2006-10-31 21:56:16 UTC (rev 4220)
>>> +++ plugins/branches/lifetype-1.1/plogpoll/pluginplogpoll.class.php 
>>> 2006-10-31 21:58:32 UTC (rev 4221)
>>> @@ -75,7 +75,7 @@
>>>      $tableName = $dbPrefix."plogpoll_polls";
>>>      $tableName2 = $dbPrefix."plogpoll_voterips";
>>> 
>>> -    $dict = NewPDbDataDictionary($db);
>>> +    $dict = NewDataDictionary($db);
>>>
>>>      $sqlAry = $dict->ChangeTableSQL($tableName,$fields);
>>>      $result = $dict->ExecuteSQLArray($sqlAry);
>>> 
>>> _______________________________________________
>>> pLog-svn mailing list
>>> pLog-svn at devel.lifetype.net
>>> http://devel.lifetype.net/mailman/listinfo/plog-svn
>>> 
>> _______________________________________________
>> pLog-svn mailing list
>> pLog-svn at devel.lifetype.net
>> http://devel.lifetype.net/mailman/listinfo/plog-svn
>> 
>
> -- 
> Jon Daley
> http://jon.limedaley.com/
>
> A professor is one who can speak on any subject: for precisely fifty minutes.
> -- Norbert Weiner
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>

-- 
Jon Daley
http://jon.limedaley.com/

Our product is so useful, it would meet your needs
   "99.9 times out of a thousand."
-- Dilbert


More information about the pLog-svn mailing list