Can you give an example of where and how this would be used?
if ($modx->user->hasSessionContext('mgr')) {
return "<span id=\"$name\" data-type=\"$options\" data-pk=\"[[*id]]\" data-url=\"[[~[[*id]]]]\" class=\"editable\">$input</span>";
}
return $input;