public function _($translateKey, $defaultTranslation = "", $placeholders = null)
	{
		$translation = $translateKey;
		
		if (is_array($defaultTranslation) && $placeholders === null) {
			$placeholders = $defaultTranslation;
		} else {
			if ($defaultTranslation!="") {
				$translation = $defaultTranslation;
			}
		}
		if ($this->exists($translateKey)) {
			$translation = $this->_translate[$translateKey];
		}
		return $this->replacePlaceholders($translation, $placeholders);
	}
public function _($translateKey, $defaultTranslation = "", $placeholders = null)
	{
		$translation = $translateKey;
		
		if (is_array($defaultTranslation) && $placeholders === null) {
			$placeholders = $defaultTranslation;
		} else {
			if ($defaultTranslation!="") {
				$translation = $defaultTranslation;
			}
		}
		if ($this->exists($translateKey)) {
			$translation = $this->_translate[$translateKey];
		}
		return $this->replacePlaceholders($translation, $placeholders);
	}
public function _ ( $ translateKey , $ defaultTranslation = "" , $ placeholders = null ) { $ translation = $ translateKey ; if ( is_array ( $ defaultTranslation ) && $ placeholders === null ) { $ placeholders = $ defaultTranslation ; } else { if ( $ defaultTranslation != "" ) { $ translation = $ defaultTranslation ; } } if ( $ this -> exists ( $ translateKey ) ) { $ translation = $ this -> _translate [ $ translateKey ] ; } return $ this -> replacePlaceholders ( $ translation , $ placeholders ) ; }
Returns the translation related to the given key
Returns the translation related to the given key