[Cs-webapplibs-commits] SF.net SVN: cs-webapplibs:[139] trunk/0.3/cs_tabs.class.php
Status: Beta
Brought to you by:
crazedsanity
From: <cra...@us...> - 2009-08-24 16:56:21
|
Revision: 139 http://cs-webapplibs.svn.sourceforge.net/cs-webapplibs/?rev=139&view=rev Author: crazedsanity Date: 2009-08-24 16:56:14 +0000 (Mon, 24 Aug 2009) Log Message: ----------- Fix cs_tabs so it works in its new location. /cs_tabs.class.php: * MAIN::: -- require the standard cs_webapplibsAbstract class. * __construct(): -- don't call parent classes' __construct() (it is an abstract function and will cause a fatal error). Modified Paths: -------------- trunk/0.3/cs_tabs.class.php Modified: trunk/0.3/cs_tabs.class.php =================================================================== --- trunk/0.3/cs_tabs.class.php 2009-08-24 16:25:59 UTC (rev 138) +++ trunk/0.3/cs_tabs.class.php 2009-08-24 16:56:14 UTC (rev 139) @@ -4,10 +4,10 @@ * */ -require_once(dirname(__FILE__) .'/abstract/cs_content.abstract.class.php'); +require_once(dirname(__FILE__) .'/abstract/cs_webapplibs.abstract.class.php'); -class cs_tabs extends cs_contentAbstract { +class cs_tabs extends cs_webapplibsAbstract { private $tabsArr=array(); private $selectedTab; @@ -25,7 +25,6 @@ * @param $templateVar (str,optional) What template var to find the tab blockrows in. */ public function __construct($templateVar="tabs") { - parent::__construct(false); if(is_object($templateVar)) { //trying to pass cs_genericPage{}... tell 'em we don't like that anymore. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |