Revision: 6
http://cs-cms.svn.sourceforge.net/cs-cms/?rev=6&view=rev
Author: crazedsanity
Date: 2009-02-20 05:43:02 +0000 (Fri, 20 Feb 2009)
Log Message:
-----------
Another unneeded class...
Removed Paths:
-------------
trunk/0.1/csb_blog.class.php
Deleted: trunk/0.1/csb_blog.class.php
===================================================================
--- trunk/0.1/csb_blog.class.php 2009-02-20 05:41:37 UTC (rev 5)
+++ trunk/0.1/csb_blog.class.php 2009-02-20 05:43:02 UTC (rev 6)
@@ -1,51 +0,0 @@
-<?php
-
-require_once(dirname(__FILE__) .'/abstract/csb_blog.abstract.class.php');
-
-class csb_blog extends csb_blogAbstract {
-
- /** Internal name of blog (looks like a permalink) */
- protected $blogName;
-
- /** Displayable name of blog */
- protected $blogDisplayName;
-
- /** Numeric ID of blog */
- protected $blogId=false;
-
- /** Location of blog */
- protected $blogLocation;
-
- //-------------------------------------------------------------------------
- /**
- * The constructor.
- *
- * @param $blogName (str) name of blog (NOT the display name)
- * @param $dbType (str) Type of database (pgsql/mysql/sqlite)
- * @param $dbParams (array) connection options for database
- *
- * @return exception throws an exception on error.
- */
- public function __construct($blogName, array $dbParams=null) {
-
- //TODO: put these in the constructor args, or require CONSTANTS.
- parent::__construct($dbParams);
-
-
- if(!isset($blogName) || !strlen($blogName)) {
- throw new exception(__METHOD__ .": invalid blog name (". $blogName .")");
- }
-
- $this->blogName = $blogName;
- if(!defined('CSBLOG_SETUP_PENDING')) {
- //proceed normally...
- $this->initialize_locals($blogName);
- }
-
- }//end __construct()
- //-------------------------------------------------------------------------
-
-
-
-}// end blog{}
-?>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|