cvs: pearweb /include/Damblan Site.php

From: Date: Sun, 01 Jun 2008 00:19:30 +0000
Subject: cvs: pearweb /include/Damblan Site.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-7591@lists.php.net to get a copy of this message
dufuz Sun Jun 1 00:19:30 2008 UTC Modified files: /pearweb/include/Damblan Site.php Log: change function name since it's not a factory, it is a getInstance function http://cvs.php.net/viewvc.cgi/pearweb/include/Damblan/Site.php?r1=1.3&r2=1.4&diff_format=u Index: pearweb/include/Damblan/Site.php diff -u pearweb/include/Damblan/Site.php:1.3 pearweb/include/Damblan/Site.php:1.4 --- pearweb/include/Damblan/Site.php:1.3 Thu Apr 13 05:13:01 2006 +++ pearweb/include/Damblan/Site.php Sun Jun 1 00:19:30 2008 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Author: Martin Jansen <mj@php.net> | +----------------------------------------------------------------------+ - $Id: Site.php,v 1.3 2006/04/13 05:13:01 dufuz Exp $ + $Id: Site.php,v 1.4 2008/06/01 00:19:30 dufuz Exp $ */ /** @@ -32,7 +32,7 @@ * @access public * @return object Instance of Damblan_Site */ - function &factory() + function &getInstance() { static $_instance; @@ -68,5 +68,4 @@ echo $error; } } -} -?> +} \ No newline at end of file

« previous php.pear.core (#7591) next »