[CS-Project-svn_notify] SF.net SVN: cs-project: [687] trunk/lib
Brought to you by:
crazedsanity
From: <cra...@us...> - 2007-12-12 23:03:58
|
Revision: 687 http://cs-project.svn.sourceforge.net/cs-project/?rev=687&view=rev Author: crazedsanity Date: 2007-12-12 15:03:52 -0800 (Wed, 12 Dec 2007) Log Message: ----------- New invoice classes, for creating invoices. Yay! Added Paths: ----------- trunk/lib/invoice.class.php trunk/lib/invoiceItem.class.php Copied: trunk/lib/invoice.class.php (from rev 686, trunk/lib/authToken.class.php) =================================================================== --- trunk/lib/invoice.class.php (rev 0) +++ trunk/lib/invoice.class.php 2007-12-12 23:03:52 UTC (rev 687) @@ -0,0 +1,37 @@ +<?php +/* + * + * SVN INFORMATION::: + * ------------------ + * SVN Signature::::::: $Id$ + * Last Author::::::::: $Author$ + * Current Revision:::: $Revision$ + * Repository Location: $HeadURL$ + * Last Updated:::::::: $Date$ + * + */ + +//TODO: log everything! + +class invoice 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, 'Authentication Token'); + }//end __construct() + //========================================================================= + + + + //========================================================================= + public function add_item(invoiceItem $item) { + }//end add_item() + //========================================================================= +} +?> Copied: trunk/lib/invoiceItem.class.php (from rev 686, trunk/lib/authToken.class.php) =================================================================== --- trunk/lib/invoiceItem.class.php (rev 0) +++ trunk/lib/invoiceItem.class.php 2007-12-12 23:03:52 UTC (rev 687) @@ -0,0 +1,38 @@ +<?php +/* + * + * SVN INFORMATION::: + * ------------------ + * SVN Signature::::::: $Id$ + * Last Author::::::::: $Author$ + * Current Revision:::: $Revision$ + * Repository Location: $HeadURL$ + * Last Updated:::::::: $Date$ + * + * TODO: test methods to make sure they work! + */ + +//TODO: log everything! + +class invoiceItem 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, 'Authentication Token'); + }//end __construct() + //========================================================================= + + + + //========================================================================= + public function create_item(array $data) { + }//end create_item() + //========================================================================= +} +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |