예제 #1
0
 public function getLanguage()
 {
     if (!$this->language instanceof RM_Lang) {
         $this->language = RM_Lang::getDefault();
     }
     return $this->language;
 }
예제 #2
0
 private function _formatLocationName($locationName)
 {
     if ($this->getLang() !== RM_Lang::getDefault()) {
         $locationName = str_replace(' St,', ' Street,', $locationName);
     }
     return $locationName;
 }
예제 #3
0
 protected function _initLang()
 {
     $lang = RM_Lang::getDefault();
     $lang->setAsCurrent();
 }