Internal function to escape an associate array of attributes and turns it into a DOT notation string
@ignore
protected function escapeAttributes($array) {
$items = '';
foreach ($array as $k => $v) {
$items[] = $this
->escape($k) . '=' . $this
->escape($v);
}
return '[' . implode(',', $items) . ']';
}