public static function getWeightObject() { if (!self::$weight) { require_once 'weight.php'; self::$weight = K2StoreWeight::getInstance(); } return self::$weight; }