Ejemplo n.º 1
0
 /**
  * code for output generation of function "const.rename"
  *
  * @throws LFException raised if no constant was selected
  * @return string generated html content
  */
 private function outputFuncConstRename()
 {
     // get vars
     $constant = $this->MOD_SETTINGS['constList'];
     // checks
     if (empty($constant) || $constant == '###default###') {
         throw new LFException('failure.select.noConst', 1);
     }
     // get output
     $content = tx_lfeditor_mod1_template::outputRenameConst($constant);
     return $content;
 }