You are here

function fckeditor_rule_to_string in FCKeditor - WYSIWYG HTML editor 6.2

1 call to fckeditor_rule_to_string()
fckeditor_process_textarea in ./fckeditor.module
This function create the HTML objects required for the FCKeditor

File

./fckeditor.admin.inc, line 1427
FCKeditor - The text editor for Internet - http://www.fckeditor.net Copyright (C) 2003-2008 Frederico Caldeira Knabben

Code

function fckeditor_rule_to_string($rule) {
  $field = str_replace('.', '\\.', $rule->field);
  $rulestr = '';
  if ($rule->nodetype != '*') {
    $rulestr .= $rule->nodetype . '@';
  }
  return $rulestr . $rule->path . '.' . $field;
}