protected static function &_object() { $class = get_called_class(); if (!isset(static::$_instances[$class])) { static::$_instances[$class] = new $class(); static::config(); } $object = static::_initialize($class); return $object; }