/** * Get object spec * * @return CMbObjectSpec */ static function getSpec() { if (self::$spec) { return self::$spec; } $spec = new CMbObjectSpec(); $spec->dsn = "cim10"; $spec->init(); return self::$spec = $spec; }