function ckeditor_rule_to_string in CKEditor - WYSIWYG HTML editor 6
1 call to ckeditor_rule_to_string()
- ckeditor_process_textarea in ./
ckeditor.module - This function creates the HTML objects required for CKEditor.
File
- includes/
ckeditor.admin.inc, line 2145 - CKEditor - The text editor for the Internet - http://ckeditor.com Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
Code
function ckeditor_rule_to_string($rule) {
$field = str_replace('.', '\\.', $rule->field);
$rulestr = $rule->theme . ':';
if ($rule->nodetype != '*') {
$rulestr .= $rule->nodetype . '@';
}
return $rulestr . $rule->path . '.' . $field;
}