[CS-Project-svn_notify] SF.net SVN: cs-project: [690] trunk/lib
Brought to you by:
crazedsanity
From: <cra...@us...> - 2007-12-13 23:42:29
|
Revision: 690 http://cs-project.svn.sourceforge.net/cs-project/?rev=690&view=rev Author: crazedsanity Date: 2007-12-13 15:42:23 -0800 (Thu, 13 Dec 2007) Log Message: ----------- Fix logging name, add class for handling invoice transactions. Modified Paths: -------------- trunk/lib/invoice.class.php trunk/lib/invoiceItem.class.php Added Paths: ----------- trunk/lib/invoiceTransaction.class.php Modified: trunk/lib/invoice.class.php =================================================================== --- trunk/lib/invoice.class.php 2007-12-13 23:41:02 UTC (rev 689) +++ trunk/lib/invoice.class.php 2007-12-13 23:42:23 UTC (rev 690) @@ -23,7 +23,7 @@ $this->db = $db; $this->gfObj = new cs_globalFunctions; $this->gfObj->debugPrintOpt = DEBUGPRINTOPT; - $this->logsObj = new logsClass($this->db, 'Authentication Token'); + $this->logsObj = new logsClass($this->db, 'Invoice'); }//end __construct() //========================================================================= Modified: trunk/lib/invoiceItem.class.php =================================================================== --- trunk/lib/invoiceItem.class.php 2007-12-13 23:41:02 UTC (rev 689) +++ trunk/lib/invoiceItem.class.php 2007-12-13 23:42:23 UTC (rev 690) @@ -24,7 +24,7 @@ $this->db = $db; $this->gfObj = new cs_globalFunctions; $this->gfObj->debugPrintOpt = DEBUGPRINTOPT; - $this->logsObj = new logsClass($this->db, 'Authentication Token'); + $this->logsObj = new logsClass($this->db, 'Invoice Item'); }//end __construct() //========================================================================= Copied: trunk/lib/invoiceTransaction.class.php (from rev 687, trunk/lib/invoice.class.php) =================================================================== --- trunk/lib/invoiceTransaction.class.php (rev 0) +++ trunk/lib/invoiceTransaction.class.php 2007-12-13 23:42:23 UTC (rev 690) @@ -0,0 +1,30 @@ +<?php +/* + * + * SVN INFORMATION::: + * ------------------ + * SVN Signature::::::: $Id$ + * Last Author::::::::: $Author$ + * Current Revision:::: $Revision$ + * Repository Location: $HeadURL$ + * Last Updated:::::::: $Date$ + * + */ + +//TODO: log everything! + +class invoiceTransaction extends dbAbstract { + + protected $gfObj; + protected $logsObj; + + //========================================================================= + public function __construct(cs_phpDB $db) { + $this->db = $db; + $this->gfObj = new cs_globalFunctions; + $this->gfObj->debugPrintOpt = DEBUGPRINTOPT; + $this->logsObj = new logsClass($this->db, 'Invoice Transaction'); + }//end __construct() + //========================================================================= +} +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |