[Cs-rssdb-commits] SF.net SVN: cs-rssdb:[50] trunk/0.1/rssDBClass.php
Status: Abandoned
Brought to you by:
crazedsanity
From: <cra...@us...> - 2009-09-10 18:18:39
|
Revision: 50 http://cs-rssdb.svn.sourceforge.net/cs-rssdb/?rev=50&view=rev Author: crazedsanity Date: 2009-09-10 18:18:27 +0000 (Thu, 10 Sep 2009) Log Message: ----------- Changes to help with unit testing. /rssDBClass.php: * MAIN::: -- changed $db to public for transactional stuff. -- added internal rssFilesDir var. * __construct(): -- ARG CHANGE: NEW ARG: #1 ($rssFilesDir) -- pass location of files in constructor instead of requiring a constant: helps facilitate testing. -- remove RSS_FILES_DIR as a required constant, add all the constants for database connectivity parameters. -- call connect_db() right away. * parse_all_files(): -- use internal rssFilesDir var instead of constant * parse_file(): -- use internal rssFilesDir var instead of constant * load_schema() [NEW]: -- method for loading the database schema. Modified Paths: -------------- trunk/0.1/rssDBClass.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |