Exemplo n.º 1
0
 /**
  * returns the translated version of the input text ( when available ) depending on current element configuration
  * @param  string $text input text
  * @return string       text to return (translated or not)
  */
 protected function get_text($text)
 {
     if ($this->no_translation == TRUE) {
         return $text;
     }
     return cs_form::translate_string($text);
 }