[limb-svn] r7044 - 3.x/trunk/limb/active_record/src
svn at limb-project.com
svn at limb-project.com
Tue May 27 11:55:50 MSD 2008
Author: alex433
Date: 2008-05-27 11:55:49 +0400 (Tue, 27 May 2008)
New Revision: 7044
URL: http://fisheye.limb-project.com/changelog/limb/?cs=7044
Modified:
3.x/trunk/limb/active_record/src/lmbActiveRecord.class.php
Log:
-- Adding declaration lmbActiveRecord :: _getCallingClass() method as static
Modified: 3.x/trunk/limb/active_record/src/lmbActiveRecord.class.php
===================================================================
--- 3.x/trunk/limb/active_record/src/lmbActiveRecord.class.php 2008-05-26 09:04:06 UTC (rev 7043)
+++ 3.x/trunk/limb/active_record/src/lmbActiveRecord.class.php 2008-05-27 07:55:49 UTC (rev 7044)
@@ -1240,7 +1240,7 @@
return false;
}
- protected static function _isClass($name)
+ static protected function _isClass($name)
{
if(!is_scalar($name) || !$name)
return false;
@@ -1248,7 +1248,7 @@
return ctype_alnum("$name") && !ctype_digit("$name");
}
- protected function _getCallingClass()
+ static protected function _getCallingClass()
{
//once PHP-5.3 LSB patch is available we'll use get_called_class
//currently it's a quite a slow implementation and it doesn't
More information about the limb-svn
mailing list