/** * Get cached ca_locales instance. Instance is shared across all models. */ public function getLocaleInstance() { if (!BundlableLabelableBaseModelWithAttributes::$s_locales) { BundlableLabelableBaseModelWithAttributes::$s_locales = new ca_locales(); } return BundlableLabelableBaseModelWithAttributes::$s_locales; }